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..7344f6f3
--- /dev/null
+++ b/catalog.json
@@ -0,0 +1 @@
+{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.9.0", "generated_at": "2024-12-13T17:13:10.592323Z", "invocation_id": "3419d27d-1e1c-45e9-a24b-149996fe33f4", "env": {}}, "nodes": {"model.synthetix.fct_core_account_activity_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_account_activity_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_action": {"type": "text", "index": 2, "name": "account_action", "comment": null}, "account_id": {"type": "numeric", "index": 3, "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_activity_arbitrum_mainnet"}, "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_active_stakers_daily_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_active_stakers_daily_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_date": {"type": "timestamp with time zone", "index": 1, "name": "block_date", "comment": null}, "nof_stakers_daily": {"type": "bigint", "index": 2, "name": "nof_stakers_daily", "comment": null}}, "stats": {"has_stats": {"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_active_stakers_daily_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_perp_account_activity_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_account_activity_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "date", "index": 1, "name": "ts", "comment": null}, "dau": {"type": "bigint", "index": 2, "name": "dau", "comment": null}, "mau": {"type": "bigint", "index": 3, "name": "mau", "comment": null}, "new_accounts_daily": {"type": "bigint", "index": 4, "name": "new_accounts_daily", "comment": null}, "new_accounts_monthly": {"type": "numeric", "index": 5, "name": "new_accounts_monthly", "comment": null}}, "stats": {"has_stats": {"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_activity_arbitrum_mainnet"}, "model.synthetix.fct_perp_account_stats_daily_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_account_stats_daily_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "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_arbitrum_mainnet"}, "model.synthetix.fct_perp_account_stats_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_account_stats_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "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_arbitrum_mainnet"}, "model.synthetix.fct_perp_accounts_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_accounts_arbitrum_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_arbitrum_mainnet"}, "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_collateral_balances_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_type": {"type": "text", "index": 3, "name": "event_type", "comment": null}, "collateral_id": {"type": "numeric", "index": 4, "name": "collateral_id", "comment": null}, "synth_token_address": {"type": "text", "index": 5, "name": "synth_token_address", "comment": null}, "synth_symbol": {"type": "text", "index": 6, "name": "synth_symbol", "comment": null}, "account_id": {"type": "text", "index": 7, "name": "account_id", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "amount_delta": {"type": "numeric", "index": 9, "name": "amount_delta", "comment": null}, "amount_delta_usd": {"type": "numeric", "index": 10, "name": "amount_delta_usd", "comment": null}, "account_balance": {"type": "numeric", "index": 11, "name": "account_balance", "comment": null}, "account_balance_usd": {"type": "numeric", "index": 12, "name": "account_balance_usd", "comment": null}, "total_balance": {"type": "numeric", "index": 13, "name": "total_balance", "comment": null}, "total_balance_usd": {"type": "numeric", "index": 14, "name": "total_balance_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_perp_collateral_balances_arbitrum_mainnet"}, "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_collateral_modified_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}, "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_symbol": {"type": "text", "index": 8, "name": "synth_symbol", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 10, "name": "synth_token_address", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "amount_delta": {"type": "numeric", "index": 12, "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_arbitrum_mainnet"}, "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_interest_charged_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}, "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_arbitrum_mainnet"}, "model.synthetix.fct_perp_keeper_stats_daily_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_keeper_stats_daily_arbitrum_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_arbitrum_mainnet"}, "model.synthetix.fct_perp_keeper_stats_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_keeper_stats_hourly_arbitrum_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_arbitrum_mainnet"}, "model.synthetix.fct_perp_liq_account_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_liq_account_arbitrum_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_arbitrum_mainnet"}, "model.synthetix.fct_perp_liq_position_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_liq_position_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}, "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_arbitrum_mainnet"}, "model.synthetix.fct_perp_market_history_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_market_history_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}, "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}, "prev_size": {"type": "numeric", "index": 17, "name": "prev_size", "comment": null}, "market_oi_usd": {"type": "numeric", "index": 18, "name": "market_oi_usd", "comment": null}, "total_oi_usd": {"type": "numeric", "index": 19, "name": "total_oi_usd", "comment": null}, "long_oi": {"type": "numeric", "index": 20, "name": "long_oi", "comment": null}, "short_oi": {"type": "numeric", "index": 21, "name": "short_oi", "comment": null}, "long_oi_pct": {"type": "numeric", "index": 22, "name": "long_oi_pct", "comment": null}, "short_oi_pct": {"type": "numeric", "index": 23, "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_arbitrum_mainnet"}, "model.synthetix.fct_perp_market_stats_daily_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_market_stats_daily_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}, "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_arbitrum_mainnet"}, "model.synthetix.fct_perp_market_stats_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_market_stats_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}, "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_arbitrum_mainnet"}, "model.synthetix.fct_perp_markets_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_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}, "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_arbitrum_mainnet"}, "model.synthetix.fct_perp_orders_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_orders_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}, "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_arbitrum_mainnet"}, "model.synthetix.fct_perp_pnl_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_pnl_arbitrum_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_arbitrum_mainnet"}, "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_previous_order_expired_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}, "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_arbitrum_mainnet"}, "model.synthetix.fct_perp_stats_daily_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_stats_daily_arbitrum_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_arbitrum_mainnet"}, "model.synthetix.fct_perp_stats_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_stats_hourly_arbitrum_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_arbitrum_mainnet"}, "model.synthetix.fct_perp_tracking_stats_daily_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_tracking_stats_daily_arbitrum_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_arbitrum_mainnet"}, "model.synthetix.fct_perp_tracking_stats_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_mainnet"}, "model.synthetix.fct_perp_trades_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_trades_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}, "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_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}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "rewards_usd": {"type": "numeric", "index": 7, "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_activity_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_account_activity_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_action": {"type": "text", "index": 2, "name": "account_action", "comment": null}, "account_id": {"type": "numeric", "index": 3, "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_activity_arbitrum_sepolia"}, "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_active_stakers_daily_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_active_stakers_daily_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_date": {"type": "timestamp with time zone", "index": 1, "name": "block_date", "comment": null}, "nof_stakers_daily": {"type": "bigint", "index": 2, "name": "nof_stakers_daily", "comment": null}}, "stats": {"has_stats": {"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_active_stakers_daily_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_perp_account_activity_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_account_activity_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "date", "index": 1, "name": "ts", "comment": null}, "dau": {"type": "bigint", "index": 2, "name": "dau", "comment": null}, "mau": {"type": "bigint", "index": 3, "name": "mau", "comment": null}, "new_accounts_daily": {"type": "bigint", "index": 4, "name": "new_accounts_daily", "comment": null}, "new_accounts_monthly": {"type": "numeric", "index": 5, "name": "new_accounts_monthly", "comment": null}}, "stats": {"has_stats": {"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_activity_arbitrum_sepolia"}, "model.synthetix.fct_perp_account_stats_daily_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_account_stats_daily_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "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_arbitrum_sepolia"}, "model.synthetix.fct_perp_account_stats_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_account_stats_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "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_arbitrum_sepolia"}, "model.synthetix.fct_perp_accounts_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_accounts_arbitrum_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_arbitrum_sepolia"}, "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_collateral_balances_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_type": {"type": "text", "index": 3, "name": "event_type", "comment": null}, "collateral_id": {"type": "numeric", "index": 4, "name": "collateral_id", "comment": null}, "synth_token_address": {"type": "text", "index": 5, "name": "synth_token_address", "comment": null}, "synth_symbol": {"type": "text", "index": 6, "name": "synth_symbol", "comment": null}, "account_id": {"type": "text", "index": 7, "name": "account_id", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "amount_delta": {"type": "numeric", "index": 9, "name": "amount_delta", "comment": null}, "amount_delta_usd": {"type": "numeric", "index": 10, "name": "amount_delta_usd", "comment": null}, "account_balance": {"type": "numeric", "index": 11, "name": "account_balance", "comment": null}, "account_balance_usd": {"type": "numeric", "index": 12, "name": "account_balance_usd", "comment": null}, "total_balance": {"type": "numeric", "index": 13, "name": "total_balance", "comment": null}, "total_balance_usd": {"type": "numeric", "index": 14, "name": "total_balance_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_perp_collateral_balances_arbitrum_sepolia"}, "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_collateral_modified_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}, "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_symbol": {"type": "text", "index": 8, "name": "synth_symbol", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 10, "name": "synth_token_address", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "amount_delta": {"type": "numeric", "index": 12, "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_arbitrum_sepolia"}, "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_interest_charged_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}, "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_arbitrum_sepolia"}, "model.synthetix.fct_perp_keeper_stats_daily_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_keeper_stats_daily_arbitrum_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_arbitrum_sepolia"}, "model.synthetix.fct_perp_keeper_stats_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_keeper_stats_hourly_arbitrum_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_arbitrum_sepolia"}, "model.synthetix.fct_perp_liq_account_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_liq_account_arbitrum_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_arbitrum_sepolia"}, "model.synthetix.fct_perp_liq_position_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_liq_position_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}, "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_arbitrum_sepolia"}, "model.synthetix.fct_perp_market_history_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_market_history_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}, "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}, "prev_size": {"type": "numeric", "index": 17, "name": "prev_size", "comment": null}, "market_oi_usd": {"type": "numeric", "index": 18, "name": "market_oi_usd", "comment": null}, "total_oi_usd": {"type": "numeric", "index": 19, "name": "total_oi_usd", "comment": null}, "long_oi": {"type": "numeric", "index": 20, "name": "long_oi", "comment": null}, "short_oi": {"type": "numeric", "index": 21, "name": "short_oi", "comment": null}, "long_oi_pct": {"type": "numeric", "index": 22, "name": "long_oi_pct", "comment": null}, "short_oi_pct": {"type": "numeric", "index": 23, "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_arbitrum_sepolia"}, "model.synthetix.fct_perp_market_stats_daily_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_market_stats_daily_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}, "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_arbitrum_sepolia"}, "model.synthetix.fct_perp_market_stats_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_market_stats_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}, "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_arbitrum_sepolia"}, "model.synthetix.fct_perp_markets_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_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}, "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_arbitrum_sepolia"}, "model.synthetix.fct_perp_orders_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_orders_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}, "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_arbitrum_sepolia"}, "model.synthetix.fct_perp_pnl_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_pnl_arbitrum_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_arbitrum_sepolia"}, "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_previous_order_expired_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}, "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_arbitrum_sepolia"}, "model.synthetix.fct_perp_stats_daily_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_stats_daily_arbitrum_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_arbitrum_sepolia"}, "model.synthetix.fct_perp_stats_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_stats_hourly_arbitrum_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_arbitrum_sepolia"}, "model.synthetix.fct_perp_tracking_stats_daily_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_tracking_stats_daily_arbitrum_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_arbitrum_sepolia"}, "model.synthetix.fct_perp_tracking_stats_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_sepolia"}, "model.synthetix.fct_perp_trades_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_trades_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}, "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_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}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "rewards_usd": {"type": "numeric", "index": 7, "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_activity_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_account_activity_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_action": {"type": "text", "index": 2, "name": "account_action", "comment": null}, "account_id": {"type": "numeric", "index": 3, "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_activity_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_active_stakers_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_active_stakers_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_date": {"type": "timestamp with time zone", "index": 1, "name": "block_date", "comment": null}, "nof_stakers_daily": {"type": "bigint", "index": 2, "name": "nof_stakers_daily", "comment": null}}, "stats": {"has_stats": {"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_active_stakers_daily_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_activity_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_account_activity_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "date", "index": 1, "name": "ts", "comment": null}, "dau": {"type": "bigint", "index": 2, "name": "dau", "comment": null}, "mau": {"type": "bigint", "index": 3, "name": "mau", "comment": null}, "new_accounts_daily": {"type": "bigint", "index": 4, "name": "new_accounts_daily", "comment": null}, "new_accounts_monthly": {"type": "numeric", "index": 5, "name": "new_accounts_monthly", "comment": null}}, "stats": {"has_stats": {"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_activity_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_balances_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_collateral_balances_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_type": {"type": "text", "index": 3, "name": "event_type", "comment": null}, "collateral_id": {"type": "numeric", "index": 4, "name": "collateral_id", "comment": null}, "synth_token_address": {"type": "text", "index": 5, "name": "synth_token_address", "comment": null}, "synth_symbol": {"type": "text", "index": 6, "name": "synth_symbol", "comment": null}, "account_id": {"type": "text", "index": 7, "name": "account_id", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "amount_delta": {"type": "numeric", "index": 9, "name": "amount_delta", "comment": null}, "amount_delta_usd": {"type": "numeric", "index": 10, "name": "amount_delta_usd", "comment": null}, "account_balance": {"type": "numeric", "index": 11, "name": "account_balance", "comment": null}, "account_balance_usd": {"type": "numeric", "index": 12, "name": "account_balance_usd", "comment": null}, "total_balance": {"type": "numeric", "index": 13, "name": "total_balance", "comment": null}, "total_balance_usd": {"type": "numeric", "index": 14, "name": "total_balance_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_perp_collateral_balances_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_symbol": {"type": "text", "index": 8, "name": "synth_symbol", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 10, "name": "synth_token_address", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "amount_delta": {"type": "numeric", "index": 12, "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}, "prev_size": {"type": "numeric", "index": 17, "name": "prev_size", "comment": null}, "market_oi_usd": {"type": "numeric", "index": 18, "name": "market_oi_usd", "comment": null}, "total_oi_usd": {"type": "numeric", "index": 19, "name": "total_oi_usd", "comment": null}, "long_oi": {"type": "numeric", "index": 20, "name": "long_oi", "comment": null}, "short_oi": {"type": "numeric", "index": 21, "name": "short_oi", "comment": null}, "long_oi_pct": {"type": "numeric", "index": 22, "name": "long_oi_pct", "comment": null}, "short_oi_pct": {"type": "numeric", "index": 23, "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_pool_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_pool_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}, "token_symbol": {"type": "text", "index": 3, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "rewards_usd": {"type": "numeric", "index": 5, "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_pool_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}, "token_symbol": {"type": "text", "index": 4, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "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": "BASE TABLE", "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_activity_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_account_activity_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_action": {"type": "text", "index": 2, "name": "account_action", "comment": null}, "account_id": {"type": "numeric", "index": 3, "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_activity_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_active_stakers_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_active_stakers_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_date": {"type": "timestamp with time zone", "index": 1, "name": "block_date", "comment": null}, "nof_stakers_daily": {"type": "bigint", "index": 2, "name": "nof_stakers_daily", "comment": null}}, "stats": {"has_stats": {"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_active_stakers_daily_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_activity_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_account_activity_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "date", "index": 1, "name": "ts", "comment": null}, "dau": {"type": "bigint", "index": 2, "name": "dau", "comment": null}, "mau": {"type": "bigint", "index": 3, "name": "mau", "comment": null}, "new_accounts_daily": {"type": "bigint", "index": 4, "name": "new_accounts_daily", "comment": null}, "new_accounts_monthly": {"type": "numeric", "index": 5, "name": "new_accounts_monthly", "comment": null}}, "stats": {"has_stats": {"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_activity_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_balances_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_collateral_balances_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_type": {"type": "text", "index": 3, "name": "event_type", "comment": null}, "collateral_id": {"type": "numeric", "index": 4, "name": "collateral_id", "comment": null}, "synth_token_address": {"type": "text", "index": 5, "name": "synth_token_address", "comment": null}, "synth_symbol": {"type": "text", "index": 6, "name": "synth_symbol", "comment": null}, "account_id": {"type": "text", "index": 7, "name": "account_id", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "amount_delta": {"type": "numeric", "index": 9, "name": "amount_delta", "comment": null}, "amount_delta_usd": {"type": "numeric", "index": 10, "name": "amount_delta_usd", "comment": null}, "account_balance": {"type": "numeric", "index": 11, "name": "account_balance", "comment": null}, "account_balance_usd": {"type": "numeric", "index": 12, "name": "account_balance_usd", "comment": null}, "total_balance": {"type": "numeric", "index": 13, "name": "total_balance", "comment": null}, "total_balance_usd": {"type": "numeric", "index": 14, "name": "total_balance_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_perp_collateral_balances_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_symbol": {"type": "text", "index": 8, "name": "synth_symbol", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 10, "name": "synth_token_address", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "amount_delta": {"type": "numeric", "index": 12, "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}, "prev_size": {"type": "numeric", "index": 17, "name": "prev_size", "comment": null}, "market_oi_usd": {"type": "numeric", "index": 18, "name": "market_oi_usd", "comment": null}, "total_oi_usd": {"type": "numeric", "index": 19, "name": "total_oi_usd", "comment": null}, "long_oi": {"type": "numeric", "index": 20, "name": "long_oi", "comment": null}, "short_oi": {"type": "numeric", "index": 21, "name": "short_oi", "comment": null}, "long_oi_pct": {"type": "numeric", "index": 22, "name": "long_oi_pct", "comment": null}, "short_oi_pct": {"type": "numeric", "index": 23, "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}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "rewards_usd": {"type": "numeric", "index": 7, "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_activity_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_core_account_activity_eth_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_action": {"type": "text", "index": 2, "name": "account_action", "comment": null}, "account_id": {"type": "numeric", "index": 3, "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_activity_eth_mainnet"}, "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_active_stakers_daily_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_core_active_stakers_daily_eth_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_date": {"type": "timestamp with time zone", "index": 1, "name": "block_date", "comment": null}, "nof_stakers_daily": {"type": "bigint", "index": 2, "name": "nof_stakers_daily", "comment": null}}, "stats": {"has_stats": {"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_active_stakers_daily_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": {"owner": {"type": "text", "index": 1, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_arbitrum_mainnet"}, "model.synthetix.core_delegation_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_delegation_updated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "leverage": {"type": "numeric", "index": 7, "name": "leverage", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_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}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "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}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 10, "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_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}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "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}, "liquidate_as_account_id": {"type": "numeric", "index": 7, "name": "liquidate_as_account_id", "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}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "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.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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "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}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_arbitrum_mainnet"}, "model.synthetix.core_market_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_market_updated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_arbitrum_mainnet"}, "model.synthetix.core_pool_created_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_pool_created_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "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}, "sender": {"type": "text", "index": 8, "name": "sender", "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": {"amount": {"type": "numeric", "index": 1, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "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_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": {"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}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "start": {"type": "numeric", "index": 5, "name": "start", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "duration": {"type": "numeric", "index": 7, "name": "duration", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_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": {"amount": {"type": "numeric", "index": 1, "name": "amount", "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}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_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": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "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_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": {"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}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 7, "name": "liquidation_data", "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}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_mainnet"}, "model.synthetix.core_withdrawn_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_withdrawn_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "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}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_arbitrum_mainnet"}, "model.synthetix.perp_account_created_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_account_created_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "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}, "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_arbitrum_mainnet"}, "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_account_liquidation_attempt_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"reward": {"type": "numeric", "index": 1, "name": "reward", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "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}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "full_liquidation": {"type": "boolean", "index": 9, "name": "full_liquidation", "comment": null}}, "stats": {"has_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_arbitrum_mainnet"}, "model.synthetix.perp_collateral_modified_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_collateral_modified_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "amount_delta": {"type": "numeric", "index": 6, "name": "amount_delta", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "collateral_id": {"type": "numeric", "index": 10, "name": "collateral_id", "comment": null}}, "stats": {"has_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_arbitrum_mainnet"}, "model.synthetix.perp_interest_charged_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_interest_charged_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "interest": {"type": "numeric", "index": 5, "name": "interest", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "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_arbitrum_mainnet"}, "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_interest_rate_updated_arbitrum_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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "super_market_id": {"type": "numeric", "index": 4, "name": "super_market_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "interest_rate": {"type": "numeric", "index": 6, "name": "interest_rate", "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.perp_interest_rate_updated_arbitrum_mainnet"}, "model.synthetix.perp_market_created_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_market_created_arbitrum_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}, "perps_market_id": {"type": "numeric", "index": 3, "name": "perps_market_id", "comment": null}, "market_name": {"type": "text", "index": 4, "name": "market_name", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "market_symbol": {"type": "text", "index": 6, "name": "market_symbol", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_created_arbitrum_mainnet"}, "model.synthetix.perp_market_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_market_updated_arbitrum_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_arbitrum_mainnet"}, "model.synthetix.perp_order_committed_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_order_committed_arbitrum_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_arbitrum_mainnet"}, "model.synthetix.perp_order_settled_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_order_settled_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"settlement_reward": {"type": "numeric", "index": 1, "name": "settlement_reward", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 3, "name": "collected_fees", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "referral_fees": {"type": "numeric", "index": 6, "name": "referral_fees", "comment": null}, "accrued_funding": {"type": "numeric", "index": 7, "name": "accrued_funding", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pnl": {"type": "numeric", "index": 11, "name": "pnl", "comment": null}, "new_size": {"type": "numeric", "index": 12, "name": "new_size", "comment": null}, "total_fees": {"type": "numeric", "index": 13, "name": "total_fees", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "settler": {"type": "text", "index": 15, "name": "settler", "comment": null}, "market_id": {"type": "numeric", "index": 16, "name": "market_id", "comment": null}, "tracking_code": {"type": "text", "index": 17, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 18, "name": "block_timestamp", "comment": null}, "size_delta": {"type": "numeric", "index": 19, "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.perp_order_settled_arbitrum_mainnet"}, "model.synthetix.perp_position_liquidated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_position_liquidated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_position_size": {"type": "numeric", "index": 1, "name": "current_position_size", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 4, "name": "amount_liquidated", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "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}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_position_liquidated_arbitrum_mainnet"}, "model.synthetix.perp_previous_order_expired_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_previous_order_expired_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"acceptable_price": {"type": "numeric", "index": 1, "name": "acceptable_price", "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}, "commitment_time": {"type": "numeric", "index": 5, "name": "commitment_time", "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}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "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.perp_previous_order_expired_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": {"contract": {"type": "text", "index": 1, "name": "contract", "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}, "async_order_claim": {"type": "jsonb", "index": 4, "name": "async_order_claim", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "async_order_id": {"type": "numeric", "index": 7, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "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_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": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "amount_provided": {"type": "numeric", "index": 3, "name": "amount_provided", "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}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 10, "name": "order_type", "comment": null}, "referrer": {"type": "text", "index": 11, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 12, "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_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}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "final_order_amount": {"type": "numeric", "index": 9, "name": "final_order_amount", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "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": "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}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "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}}, "stats": {"has_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "synth_token_address": {"type": "text", "index": 6, "name": "synth_token_address", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "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.spot_synth_registered_arbitrum_mainnet"}, "model.synthetix.spot_synth_sold_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_sold_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "amount_returned": {"type": "numeric", "index": 5, "name": "amount_returned", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "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": "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}, "fees_collected": {"type": "numeric", "index": 3, "name": "fees_collected", "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_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 9, "name": "amount_unwrapped", "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_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": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "fees_collected": {"type": "numeric", "index": 5, "name": "fees_collected", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "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}, "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.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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_arbitrum_sepolia"}, "model.synthetix.core_delegation_updated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_delegation_updated_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leverage": {"type": "numeric", "index": 1, "name": "leverage", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_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}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 11, "name": "amount", "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_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": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_arbitrum_sepolia"}, "model.synthetix.core_liquidation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_liquidation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "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}, "liquidate_as_account_id": {"type": "numeric", "index": 5, "name": "liquidate_as_account_id", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "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_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}, "sender": {"type": "text", "index": 2, "name": "sender", "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}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "market": {"type": "text", "index": 7, "name": "market", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "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}, "sender": {"type": "text", "index": 8, "name": "sender", "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_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": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "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}, "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_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": {"duration": {"type": "numeric", "index": 1, "name": "duration", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "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}, "distributor": {"type": "text", "index": 7, "name": "distributor", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "start": {"type": "numeric", "index": 10, "name": "start", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 12, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_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": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "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}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_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}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "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_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": {"liquidate_as_account_id": {"type": "numeric", "index": 1, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 4, "name": "liquidation_data", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "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}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_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_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": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "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}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_arbitrum_sepolia"}, "model.synthetix.perp_account_created_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_account_created_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "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}, "account_id": {"type": "numeric", "index": 7, "name": "account_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.perp_account_created_arbitrum_sepolia"}, "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_account_liquidation_attempt_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "reward": {"type": "numeric", "index": 3, "name": "reward", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "full_liquidation": {"type": "boolean", "index": 8, "name": "full_liquidation", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia"}, "model.synthetix.perp_collateral_modified_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_collateral_modified_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "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}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "collateral_id": {"type": "numeric", "index": 9, "name": "collateral_id", "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_arbitrum_sepolia"}, "model.synthetix.perp_interest_charged_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_interest_charged_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "interest": {"type": "numeric", "index": 4, "name": "interest", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_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_arbitrum_sepolia"}, "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_interest_rate_updated_arbitrum_sepolia", "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}, "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}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "interest_rate": {"type": "numeric", "index": 6, "name": "interest_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "super_market_id": {"type": "numeric", "index": 8, "name": "super_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia"}, "model.synthetix.perp_market_created_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_market_created_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "market_name": {"type": "text", "index": 2, "name": "market_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "market_symbol": {"type": "text", "index": 6, "name": "market_symbol", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "perps_market_id": {"type": "numeric", "index": 8, "name": "perps_market_id", "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_arbitrum_sepolia"}, "model.synthetix.perp_market_updated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_market_updated_arbitrum_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_arbitrum_sepolia"}, "model.synthetix.perp_order_committed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_order_committed_arbitrum_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_arbitrum_sepolia"}, "model.synthetix.perp_order_settled_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_order_settled_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "new_size": {"type": "numeric", "index": 2, "name": "new_size", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "accrued_funding": {"type": "numeric", "index": 4, "name": "accrued_funding", "comment": null}, "settlement_reward": {"type": "numeric", "index": 5, "name": "settlement_reward", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "referral_fees": {"type": "numeric", "index": 9, "name": "referral_fees", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}, "fill_price": {"type": "numeric", "index": 13, "name": "fill_price", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}, "pnl": {"type": "numeric", "index": 15, "name": "pnl", "comment": null}, "settler": {"type": "text", "index": 16, "name": "settler", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 17, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 18, "name": "account_id", "comment": null}, "total_fees": {"type": "numeric", "index": 19, "name": "total_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.perp_order_settled_arbitrum_sepolia"}, "model.synthetix.perp_position_liquidated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_position_liquidated_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 2, "name": "amount_liquidated", "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}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "current_position_size": {"type": "numeric", "index": 6, "name": "current_position_size", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "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": "model.synthetix.perp_position_liquidated_arbitrum_sepolia"}, "model.synthetix.perp_previous_order_expired_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_previous_order_expired_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"acceptable_price": {"type": "numeric", "index": 1, "name": "acceptable_price", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "commitment_time": {"type": "numeric", "index": 7, "name": "commitment_time", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "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": "model.synthetix.perp_previous_order_expired_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": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "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}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_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": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "amount_provided": {"type": "numeric", "index": 3, "name": "amount_provided", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "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}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_arbitrum_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "settler": {"type": "text", "index": 4, "name": "settler", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "order_type": {"type": "integer", "index": 8, "name": "order_type", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 12, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}, "final_order_amount": {"type": "numeric", "index": 14, "name": "final_order_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "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}, "synth_returned": {"type": "numeric", "index": 8, "name": "synth_returned", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_fees", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 4, "name": "synth_token_address", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "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.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": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 4, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "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}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "amount_returned": {"type": "numeric", "index": 10, "name": "amount_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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "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}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fees_collected": {"type": "numeric", "index": 8, "name": "fees_collected", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "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}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 9, "name": "amount_wrapped", "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.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.ambassador_vote_recorded_snax_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_snax_mainnet", "name": "ambassador_vote_recorded_snax_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"candidates": {"type": "jsonb", "index": 1, "name": "candidates", "comment": null}, "voting_power": {"type": "numeric", "index": 2, "name": "voting_power", "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}, "chain_id": {"type": "numeric", "index": 6, "name": "chain_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "epoch_id": {"type": "numeric", "index": 8, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 9, "name": "voter", "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.ambassador_vote_recorded_snax_mainnet"}, "model.synthetix.ambassador_vote_withdrawn_snax_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_snax_mainnet", "name": "ambassador_vote_withdrawn_snax_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "epoch_id": {"type": "numeric", "index": 4, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 5, "name": "voter", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "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.ambassador_vote_withdrawn_snax_mainnet"}, "model.synthetix.blocks_snax_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_snax_mainnet", "name": "blocks_snax_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_snax_mainnet"}, "model.synthetix.spartan_vote_recorded_snax_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_snax_mainnet", "name": "spartan_vote_recorded_snax_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "candidates": {"type": "jsonb", "index": 2, "name": "candidates", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "voting_power": {"type": "numeric", "index": 4, "name": "voting_power", "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}, "voter": {"type": "text", "index": 8, "name": "voter", "comment": null}, "epoch_id": {"type": "numeric", "index": 9, "name": "epoch_id", "comment": null}, "chain_id": {"type": "numeric", "index": 10, "name": "chain_id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spartan_vote_recorded_snax_mainnet"}, "model.synthetix.spartan_vote_withdrawn_snax_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_snax_mainnet", "name": "spartan_vote_withdrawn_snax_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "epoch_id": {"type": "numeric", "index": 4, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 5, "name": "voter", "comment": null}, "chain_id": {"type": "numeric", "index": 6, "name": "chain_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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spartan_vote_withdrawn_snax_mainnet"}, "model.synthetix.treasury_vote_recorded_snax_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_snax_mainnet", "name": "treasury_vote_recorded_snax_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "voter": {"type": "text", "index": 4, "name": "voter", "comment": null}, "epoch_id": {"type": "numeric", "index": 5, "name": "epoch_id", "comment": null}, "chain_id": {"type": "numeric", "index": 6, "name": "chain_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "candidates": {"type": "jsonb", "index": 9, "name": "candidates", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "voting_power": {"type": "numeric", "index": 11, "name": "voting_power", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.treasury_vote_recorded_snax_mainnet"}, "model.synthetix.treasury_vote_withdrawn_snax_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_snax_mainnet", "name": "treasury_vote_withdrawn_snax_mainnet", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "epoch_id": {"type": "numeric", "index": 4, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 5, "name": "voter", "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}, "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.treasury_vote_withdrawn_snax_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}, "synth_token_address": {"type": "text", "index": 3, "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": "seed.synthetix.arbitrum_mainnet_reward_distributors"}, "seed.synthetix.arbitrum_mainnet_synths": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_mainnet_synths", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "integer", "index": 1, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 2, "name": "synth_token_address", "comment": null}, "synth_name": {"type": "text", "index": 3, "name": "synth_name", "comment": null}, "synth_symbol": {"type": "text", "index": 4, "name": "synth_symbol", "comment": null}, "token_symbol": {"type": "text", "index": 5, "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_synths"}, "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": "text", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}, "synth_token_address": {"type": "text", "index": 3, "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": "seed.synthetix.arbitrum_sepolia_reward_distributors"}, "seed.synthetix.arbitrum_sepolia_synths": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_sepolia_synths", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "integer", "index": 1, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 2, "name": "synth_token_address", "comment": null}, "synth_name": {"type": "text", "index": 3, "name": "synth_name", "comment": null}, "synth_symbol": {"type": "text", "index": 4, "name": "synth_symbol", "comment": null}, "token_symbol": {"type": "text", "index": 5, "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_synths"}, "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}, "synth_token_address": {"type": "text", "index": 3, "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": "seed.synthetix.base_mainnet_reward_distributors"}, "seed.synthetix.base_mainnet_synths": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_mainnet_synths", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "integer", "index": 1, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 2, "name": "synth_token_address", "comment": null}, "synth_name": {"type": "text", "index": 3, "name": "synth_name", "comment": null}, "synth_symbol": {"type": "text", "index": 4, "name": "synth_symbol", "comment": null}, "token_symbol": {"type": "text", "index": 5, "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_synths"}, "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": "text", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}, "synth_token_address": {"type": "text", "index": 3, "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": "seed.synthetix.base_sepolia_reward_distributors"}, "seed.synthetix.base_sepolia_synths": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_sepolia_synths", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "integer", "index": 1, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 2, "name": "synth_token_address", "comment": null}, "synth_name": {"type": "text", "index": 3, "name": "synth_name", "comment": null}, "synth_symbol": {"type": "text", "index": 4, "name": "synth_symbol", "comment": null}, "token_symbol": {"type": "text", "index": 5, "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_synths"}, "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_synths": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "eth_mainnet_synths", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "integer", "index": 1, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 2, "name": "synth_token_address", "comment": null}, "synth_name": {"type": "text", "index": 3, "name": "synth_name", "comment": null}, "synth_symbol": {"type": "text", "index": 4, "name": "synth_symbol", "comment": null}, "token_symbol": {"type": "text", "index": 5, "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_synths"}, "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": {"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_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": {"owner": {"type": "text", "index": 1, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "leverage": {"type": "numeric", "index": 7, "name": "leverage", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_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}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "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}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 10, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_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}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "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}, "liquidate_as_account_id": {"type": "numeric", "index": 7, "name": "liquidate_as_account_id", "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}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "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_arbitrum_mainnet.core_proxy_event_liquidation"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "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}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "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}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "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_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": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "credit_capacity": {"type": "numeric", "index": 5, "name": "credit_capacity", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "reported_debt": {"type": "numeric", "index": 10, "name": "reported_debt", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "token_amount": {"type": "numeric", "index": 12, "name": "token_amount", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 13, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "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}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "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_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": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "credit_capacity": {"type": "numeric", "index": 5, "name": "credit_capacity", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "target": {"type": "text", "index": 9, "name": "target", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 10, "name": "deposited_collateral_value", "comment": null}, "amount": {"type": "numeric", "index": 11, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "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": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 7, "name": "deposited_collateral_value", "comment": null}, "credit_capacity": {"type": "numeric", "index": 8, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 9, "name": "net_issuance", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 11, "name": "amount", "comment": null}, "target": {"type": "text", "index": 12, "name": "target", "comment": null}, "market": {"type": "text", "index": 13, "name": "market", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "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}, "sender": {"type": "text", "index": 8, "name": "sender", "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": {"amount": {"type": "numeric", "index": 1, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "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_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": {"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}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "start": {"type": "numeric", "index": 5, "name": "start", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "duration": {"type": "numeric", "index": 7, "name": "duration", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_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": {"amount": {"type": "numeric", "index": 1, "name": "amount", "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}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_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": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "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_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": {"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}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 7, "name": "liquidation_data", "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}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "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}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "perps_market_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "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}, "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_arbitrum_mainnet.perps_market_proxy_event_account_created"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_account_liquidation_attempt": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "perps_market_proxy_event_account_liquidation_attempt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"reward": {"type": "numeric", "index": 1, "name": "reward", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "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}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "full_liquidation": {"type": "boolean", "index": 9, "name": "full_liquidation", "comment": null}}, "stats": {"has_stats": {"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.perps_market_proxy_event_account_liquidation_attempt"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_collateral_modified": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_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}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "amount_delta": {"type": "numeric", "index": 6, "name": "amount_delta", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "collateral_id": {"type": "numeric", "index": 10, "name": "collateral_id", "comment": null}}, "stats": {"has_stats": {"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.perps_market_proxy_event_collateral_modified"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_interest_charged": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "perps_market_proxy_event_interest_charged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "interest": {"type": "numeric", "index": 5, "name": "interest", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "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.perps_market_proxy_event_interest_charged"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_interest_rate_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "super_market_id": {"type": "numeric", "index": 4, "name": "super_market_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "interest_rate": {"type": "numeric", "index": 6, "name": "interest_rate", "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_arbitrum_mainnet.perps_market_proxy_event_interest_rate_updated"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_market_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "perps_market_proxy_event_market_created", "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}, "perps_market_id": {"type": "numeric", "index": 3, "name": "perps_market_id", "comment": null}, "market_name": {"type": "text", "index": 4, "name": "market_name", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "market_symbol": {"type": "text", "index": 6, "name": "market_symbol", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "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_arbitrum_mainnet.perps_market_proxy_event_market_created"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "perps_market_proxy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "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}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 9, "name": "current_funding_velocity", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 11, "name": "current_funding_rate", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "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": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_market_updated"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "perps_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"acceptable_price": {"type": "numeric", "index": 1, "name": "acceptable_price", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "expected_price_time": {"type": "numeric", "index": 3, "name": "expected_price_time", "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}, "expiration_time": {"type": "numeric", "index": 6, "name": "expiration_time", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "settlement_time": {"type": "numeric", "index": 8, "name": "settlement_time", "comment": null}, "order_type": {"type": "integer", "index": 9, "name": "order_type", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "commitment_time": {"type": "numeric", "index": 14, "name": "commitment_time", "comment": null}, "sender": {"type": "text", "index": 15, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 16, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 17, "name": "id", "comment": null}}, "stats": {"has_stats": {"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.perps_market_proxy_event_order_committed"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "perps_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"settlement_reward": {"type": "numeric", "index": 1, "name": "settlement_reward", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 3, "name": "collected_fees", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "referral_fees": {"type": "numeric", "index": 6, "name": "referral_fees", "comment": null}, "accrued_funding": {"type": "numeric", "index": 7, "name": "accrued_funding", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pnl": {"type": "numeric", "index": 11, "name": "pnl", "comment": null}, "new_size": {"type": "numeric", "index": 12, "name": "new_size", "comment": null}, "total_fees": {"type": "numeric", "index": 13, "name": "total_fees", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "settler": {"type": "text", "index": 15, "name": "settler", "comment": null}, "market_id": {"type": "numeric", "index": 16, "name": "market_id", "comment": null}, "tracking_code": {"type": "text", "index": 17, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 18, "name": "block_timestamp", "comment": null}, "size_delta": {"type": "numeric", "index": 19, "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_arbitrum_mainnet.perps_market_proxy_event_order_settled"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_position_liquidated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "perps_market_proxy_event_position_liquidated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_position_size": {"type": "numeric", "index": 1, "name": "current_position_size", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 4, "name": "amount_liquidated", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "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}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "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.perps_market_proxy_event_position_liquidated"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_previous_order_expired": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "perps_market_proxy_event_previous_order_expired", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"acceptable_price": {"type": "numeric", "index": 1, "name": "acceptable_price", "comment": null}, "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}, "commitment_time": {"type": "numeric", "index": 5, "name": "commitment_time", "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}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "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": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_previous_order_expired"}, "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": {"contract": {"type": "text", "index": 1, "name": "contract", "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}, "async_order_claim": {"type": "jsonb", "index": 4, "name": "async_order_claim", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "async_order_id": {"type": "numeric", "index": 7, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "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_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": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "amount_provided": {"type": "numeric", "index": 3, "name": "amount_provided", "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}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 10, "name": "order_type", "comment": null}, "referrer": {"type": "text", "index": 11, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 12, "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_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}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "final_order_amount": {"type": "numeric", "index": 9, "name": "final_order_amount", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "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_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}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "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}}, "stats": {"has_stats": {"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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "synth_token_address": {"type": "text", "index": 6, "name": "synth_token_address", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "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_arbitrum_mainnet.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "amount_returned": {"type": "numeric", "index": 5, "name": "amount_returned", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "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_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}, "fees_collected": {"type": "numeric", "index": 3, "name": "fees_collected", "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_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 9, "name": "amount_unwrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.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": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "fees_collected": {"type": "numeric", "index": 5, "name": "fees_collected", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "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}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.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": {"number": {"type": "integer", "index": 1, "name": "number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "timestamp": {"type": "timestamp with time zone", "index": 3, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leverage": {"type": "numeric", "index": 1, "name": "leverage", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_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}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 11, "name": "amount", "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_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": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "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}, "liquidate_as_account_id": {"type": "numeric", "index": 5, "name": "liquidate_as_account_id", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "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.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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 3, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "credit_capacity": {"type": "numeric", "index": 5, "name": "credit_capacity", "comment": null}, "reported_debt": {"type": "numeric", "index": 6, "name": "reported_debt", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "token_amount": {"type": "numeric", "index": 10, "name": "token_amount", "comment": null}, "net_issuance": {"type": "numeric", "index": 11, "name": "net_issuance", "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}, "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_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": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "credit_capacity": {"type": "numeric", "index": 3, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 7, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "net_issuance": {"type": "numeric", "index": 9, "name": "net_issuance", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "reported_debt": {"type": "numeric", "index": 13, "name": "reported_debt", "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_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}, "sender": {"type": "text", "index": 2, "name": "sender", "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}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "market": {"type": "text", "index": 7, "name": "market", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "target": {"type": "text", "index": 3, "name": "target", "comment": null}, "market": {"type": "text", "index": 4, "name": "market", "comment": null}, "credit_capacity": {"type": "numeric", "index": 5, "name": "credit_capacity", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 11, "name": "deposited_collateral_value", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "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_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}, "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}, "target": {"type": "text", "index": 4, "name": "target", "comment": null}, "credit_capacity": {"type": "numeric", "index": 5, "name": "credit_capacity", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 12, "name": "market", "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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "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}, "sender": {"type": "text", "index": 8, "name": "sender", "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_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": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "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}, "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_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": {"duration": {"type": "numeric", "index": 1, "name": "duration", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "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}, "distributor": {"type": "text", "index": 7, "name": "distributor", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "start": {"type": "numeric", "index": 10, "name": "start", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 12, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_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": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "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}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_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}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "amount": {"type": "numeric", "index": 11, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_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": {"liquidate_as_account_id": {"type": "numeric", "index": 1, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 4, "name": "liquidation_data", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "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}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_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_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": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "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}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "perps_market_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "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}, "account_id": {"type": "numeric", "index": 7, "name": "account_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_arbitrum_sepolia.perps_market_proxy_event_account_created"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_account_liquidation_attempt": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "perps_market_proxy_event_account_liquidation_attempt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "reward": {"type": "numeric", "index": 3, "name": "reward", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "full_liquidation": {"type": "boolean", "index": 8, "name": "full_liquidation", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_account_liquidation_attempt"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_collateral_modified": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "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}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "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}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "collateral_id": {"type": "numeric", "index": 9, "name": "collateral_id", "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_arbitrum_sepolia.perps_market_proxy_event_collateral_modified"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_interest_charged": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "perps_market_proxy_event_interest_charged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "interest": {"type": "numeric", "index": 4, "name": "interest", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"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.perps_market_proxy_event_interest_charged"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_interest_rate_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "perps_market_proxy_event_interest_rate_updated", "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}, "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}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "interest_rate": {"type": "numeric", "index": 6, "name": "interest_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "super_market_id": {"type": "numeric", "index": 8, "name": "super_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_interest_rate_updated"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_market_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "perps_market_proxy_event_market_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "market_name": {"type": "text", "index": 2, "name": "market_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "market_symbol": {"type": "text", "index": 6, "name": "market_symbol", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "perps_market_id": {"type": "numeric", "index": 8, "name": "perps_market_id", "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_arbitrum_sepolia.perps_market_proxy_event_market_created"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "perps_market_proxy_event_market_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}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 6, "name": "current_funding_rate", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "interest_rate": {"type": "numeric", "index": 9, "name": "interest_rate", "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}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "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_arbitrum_sepolia.perps_market_proxy_event_market_updated"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "perps_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "expected_price_time": {"type": "numeric", "index": 2, "name": "expected_price_time", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "order_type": {"type": "integer", "index": 5, "name": "order_type", "comment": null}, "settlement_time": {"type": "numeric", "index": 6, "name": "settlement_time", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "expiration_time": {"type": "numeric", "index": 9, "name": "expiration_time", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "commitment_time": {"type": "numeric", "index": 14, "name": "commitment_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 15, "name": "acceptable_price", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 16, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 17, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"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.perps_market_proxy_event_order_committed"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "perps_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "new_size": {"type": "numeric", "index": 2, "name": "new_size", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "accrued_funding": {"type": "numeric", "index": 4, "name": "accrued_funding", "comment": null}, "settlement_reward": {"type": "numeric", "index": 5, "name": "settlement_reward", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "referral_fees": {"type": "numeric", "index": 9, "name": "referral_fees", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}, "fill_price": {"type": "numeric", "index": 13, "name": "fill_price", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}, "pnl": {"type": "numeric", "index": 15, "name": "pnl", "comment": null}, "settler": {"type": "text", "index": 16, "name": "settler", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 17, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 18, "name": "account_id", "comment": null}, "total_fees": {"type": "numeric", "index": 19, "name": "total_fees", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_order_settled"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_position_liquidated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "perps_market_proxy_event_position_liquidated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 2, "name": "amount_liquidated", "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}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "current_position_size": {"type": "numeric", "index": 6, "name": "current_position_size", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "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_arbitrum_sepolia.perps_market_proxy_event_position_liquidated"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_previous_order_expired": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "perps_market_proxy_event_previous_order_expired", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"acceptable_price": {"type": "numeric", "index": 1, "name": "acceptable_price", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "commitment_time": {"type": "numeric", "index": 7, "name": "commitment_time", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "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_arbitrum_sepolia.perps_market_proxy_event_previous_order_expired"}, "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": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "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}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "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_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": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "amount_provided": {"type": "numeric", "index": 3, "name": "amount_provided", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "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}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "settler": {"type": "text", "index": 4, "name": "settler", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "order_type": {"type": "integer", "index": 8, "name": "order_type", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 12, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}, "final_order_amount": {"type": "numeric", "index": 14, "name": "final_order_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "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}, "synth_returned": {"type": "numeric", "index": 8, "name": "synth_returned", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_fees", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 4, "name": "synth_token_address", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "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_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": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 4, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "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}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "amount_returned": {"type": "numeric", "index": 10, "name": "amount_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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "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}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fees_collected": {"type": "numeric", "index": 8, "name": "fees_collected", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "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}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 9, "name": "amount_wrapped", "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.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_optimism_mainnet_tlx.lt_btc_long1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long1_event_minted", "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}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "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_optimism_mainnet_tlx.lt_btc_long1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long1_event_rebalanced", "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}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long1_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "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}, "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}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_btc_long1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long1_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "from": {"type": "text", "index": 2, "name": "from", "comment": null}, "to": {"type": "text", "index": 3, "name": "to", "comment": null}, "value": {"type": "numeric", "index": 4, "name": "value", "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}, "id": {"type": "character varying", "index": 7, "name": "id", "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_optimism_mainnet_tlx.lt_btc_long1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "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_optimism_mainnet_tlx.lt_btc_long2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long2_event_rebalanced", "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}, "current_leverage": {"type": "numeric", "index": 3, "name": "current_leverage", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "value": {"type": "numeric", "index": 3, "name": "value", "comment": null}, "from": {"type": "text", "index": 4, "name": "from", "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}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long3_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long3_event_minted", "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}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "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}, "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_tlx.lt_btc_long3_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long3_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long3_event_rebalanced", "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}, "current_leverage": {"type": "numeric", "index": 3, "name": "current_leverage", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long3_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long3_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long3_event_redeemed", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "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_optimism_mainnet_tlx.lt_btc_long3_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long3_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long3_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "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}, "value": {"type": "numeric", "index": 6, "name": "value", "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}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long3_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long4_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long4_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "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_optimism_mainnet_tlx.lt_btc_long4_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long4_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long4_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long4_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long4_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long4_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "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}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 9, "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_tlx.lt_btc_long4_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long4_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long4_event_transfer", "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}, "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}, "from": {"type": "text", "index": 7, "name": "from", "comment": null}, "to": {"type": "text", "index": 8, "name": "to", "comment": null}, "value": {"type": "numeric", "index": 9, "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_optimism_mainnet_tlx.lt_btc_long4_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_btc_long5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long5_event_rebalanced", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "current_leverage": {"type": "numeric", "index": 7, "name": "current_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_optimism_mainnet_tlx.lt_btc_long5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long5_event_redeemed", "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}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "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_optimism_mainnet_tlx.lt_btc_long5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long5_event_transfer", "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}, "to": {"type": "text", "index": 3, "name": "to", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "value": {"type": "numeric", "index": 8, "name": "value", "comment": null}, "from": {"type": "text", "index": 9, "name": "from", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long7_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long7_event_minted", "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}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 6, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "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_optimism_mainnet_tlx.lt_btc_long7_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long7_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long7_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_leverage": {"type": "numeric", "index": 1, "name": "current_leverage", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long7_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long7_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long7_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "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_optimism_mainnet_tlx.lt_btc_long7_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long7_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_long7_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "comment": null}, "to": {"type": "text", "index": 3, "name": "to", "comment": null}, "from": {"type": "text", "index": 4, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long7_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short1_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short1_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "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}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short1_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "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}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_btc_short1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short1_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"value": {"type": "numeric", "index": 1, "name": "value", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "to": {"type": "text", "index": 3, "name": "to", "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}, "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}, "from": {"type": "text", "index": 9, "name": "from", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short2_event_minted", "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}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 6, "name": "base_asset_amount", "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_optimism_mainnet_tlx.lt_btc_short2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short2_event_rebalanced", "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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "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_tlx.lt_btc_short2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_amount", "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}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_btc_short2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short2_event_transfer", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "value": {"type": "numeric", "index": 5, "name": "value", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "to": {"type": "text", "index": 8, "name": "to", "comment": null}, "from": {"type": "text", "index": 9, "name": "from", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short3_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short3_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short3_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short3_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short3_event_rebalanced", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "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}, "current_leverage": {"type": "numeric", "index": 7, "name": "current_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_optimism_mainnet_tlx.lt_btc_short3_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short3_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short3_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "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}, "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}, "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_tlx.lt_btc_short3_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short3_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short3_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"to": {"type": "text", "index": 1, "name": "to", "comment": null}, "from": {"type": "text", "index": 2, "name": "from", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "value": {"type": "numeric", "index": 9, "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_optimism_mainnet_tlx.lt_btc_short3_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short4_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short4_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_amount", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_btc_short4_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short4_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short4_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "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}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short4_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short4_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short4_event_redeemed", "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}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "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}, "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_optimism_mainnet_tlx.lt_btc_short4_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short4_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short4_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "comment": null}, "to": {"type": "text", "index": 2, "name": "to", "comment": null}, "value": {"type": "numeric", "index": 3, "name": "value", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "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}, "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_optimism_mainnet_tlx.lt_btc_short4_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "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}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "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_optimism_mainnet_tlx.lt_btc_short5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short5_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_leverage": {"type": "numeric", "index": 1, "name": "current_leverage", "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}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short5_event_redeemed", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "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}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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_optimism_mainnet_tlx.lt_btc_short5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "to": {"type": "text", "index": 2, "name": "to", "comment": null}, "from": {"type": "text", "index": 3, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "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}, "value": {"type": "numeric", "index": 8, "name": "value", "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_tlx.lt_btc_short5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short7_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short7_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "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}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "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}, "account": {"type": "text", "index": 9, "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_tlx.lt_btc_short7_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short7_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short7_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short7_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short7_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short7_event_redeemed", "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}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 9, "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_tlx.lt_btc_short7_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short7_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_btc_short7_event_transfer", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "comment": null}, "value": {"type": "numeric", "index": 6, "name": "value", "comment": null}, "to": {"type": "text", "index": 7, "name": "to", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "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_optimism_mainnet_tlx.lt_btc_short7_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_long2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_long2_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_leverage": {"type": "numeric", "index": 1, "name": "current_leverage", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "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}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "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_tlx.lt_doge_long2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_long2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "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}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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_tlx.lt_doge_long2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_long2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "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}, "value": {"type": "numeric", "index": 4, "name": "value", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_long5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "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}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 9, "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_tlx.lt_doge_long5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_long5_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_long5_event_redeemed", "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_number": {"type": "integer", "index": 3, "name": "block_number", "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}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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_optimism_mainnet_tlx.lt_doge_long5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_long5_event_transfer", "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}, "value": {"type": "numeric", "index": 3, "name": "value", "comment": null}, "to": {"type": "text", "index": 4, "name": "to", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "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}, "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_tlx.lt_doge_long5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_short2_event_minted", "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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "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_tlx.lt_doge_short2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_short2_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_short2_event_redeemed", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "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_tlx.lt_doge_short2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_short2_event_transfer", "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}, "to": {"type": "text", "index": 4, "name": "to", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "comment": null}, "value": {"type": "numeric", "index": 6, "name": "value", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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_optimism_mainnet_tlx.lt_doge_short2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_short5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_short5_event_rebalanced", "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}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "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}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_short5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "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}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "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_optimism_mainnet_tlx.lt_doge_short5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_doge_short5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "to": {"type": "text", "index": 3, "name": "to", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "value": {"type": "numeric", "index": 7, "name": "value", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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_optimism_mainnet_tlx.lt_doge_short5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long1_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "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}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "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_tlx.lt_eth_long1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long1_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "current_leverage": {"type": "numeric", "index": 7, "name": "current_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_optimism_mainnet_tlx.lt_eth_long1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long1_event_redeemed", "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}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "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}, "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long1_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "to": {"type": "text", "index": 2, "name": "to", "comment": null}, "from": {"type": "text", "index": 3, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "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}, "value": {"type": "numeric", "index": 9, "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_optimism_mainnet_tlx.lt_eth_long1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "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}, "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_optimism_mainnet_tlx.lt_eth_long2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long2_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "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}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "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}, "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_optimism_mainnet_tlx.lt_eth_long2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "to": {"type": "text", "index": 4, "name": "to", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "value": {"type": "numeric", "index": 7, "name": "value", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long3_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long3_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_eth_long3_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long3_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long3_event_rebalanced", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long3_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long3_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long3_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long3_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long3_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long3_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "to": {"type": "text", "index": 3, "name": "to", "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}, "value": {"type": "numeric", "index": 6, "name": "value", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "from": {"type": "text", "index": 9, "name": "from", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long3_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long4_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long4_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "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}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_eth_long4_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long4_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long4_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 7, "name": "current_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_optimism_mainnet_tlx.lt_eth_long4_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long4_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long4_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "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}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_eth_long4_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long4_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long4_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "to": {"type": "text", "index": 2, "name": "to", "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}, "from": {"type": "text", "index": 6, "name": "from", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "value": {"type": "numeric", "index": 9, "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_optimism_mainnet_tlx.lt_eth_long4_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "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}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long5_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "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}, "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "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}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_eth_long5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"value": {"type": "numeric", "index": 1, "name": "value", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "to": {"type": "text", "index": 3, "name": "to", "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}, "from": {"type": "text", "index": 6, "name": "from", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "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_optimism_mainnet_tlx.lt_eth_long5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long7_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long7_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "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}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "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_tlx.lt_eth_long7_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long7_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long7_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "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}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long7_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long7_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long7_event_redeemed", "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}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long7_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long7_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_long7_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "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}, "from": {"type": "text", "index": 7, "name": "from", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long7_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short1_event_minted", "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}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "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}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "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_optimism_mainnet_tlx.lt_eth_short1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short1_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short1_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "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}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 9, "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_tlx.lt_eth_short1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short1_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"value": {"type": "numeric", "index": 1, "name": "value", "comment": null}, "to": {"type": "text", "index": 2, "name": "to", "comment": null}, "from": {"type": "text", "index": 3, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "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}, "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_tlx.lt_eth_short1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "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}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "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_optimism_mainnet_tlx.lt_eth_short2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short2_event_rebalanced", "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}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short2_event_redeemed", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "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}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_eth_short2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "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}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "value": {"type": "numeric", "index": 6, "name": "value", "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}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short3_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short3_event_minted", "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}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "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}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_eth_short3_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short3_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short3_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "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}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short3_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short3_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short3_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 6, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short3_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short3_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short3_event_transfer", "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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "to": {"type": "text", "index": 5, "name": "to", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "value": {"type": "numeric", "index": 8, "name": "value", "comment": null}, "from": {"type": "text", "index": 9, "name": "from", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short3_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short4_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short4_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "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}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 6, "name": "base_asset_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "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_tlx.lt_eth_short4_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short4_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short4_event_rebalanced", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short4_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short4_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short4_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "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}, "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_optimism_mainnet_tlx.lt_eth_short4_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short4_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short4_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"to": {"type": "text", "index": 1, "name": "to", "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}, "value": {"type": "numeric", "index": 4, "name": "value", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "from": {"type": "text", "index": 6, "name": "from", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short4_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "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}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 9, "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_tlx.lt_eth_short5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short5_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short5_event_redeemed", "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}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "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}, "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_optimism_mainnet_tlx.lt_eth_short5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "from": {"type": "text", "index": 4, "name": "from", "comment": null}, "to": {"type": "text", "index": 5, "name": "to", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short7_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short7_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "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}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "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_tlx.lt_eth_short7_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short7_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short7_event_rebalanced", "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}, "current_leverage": {"type": "numeric", "index": 3, "name": "current_leverage", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short7_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short7_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short7_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_eth_short7_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short7_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_eth_short7_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "comment": null}, "to": {"type": "text", "index": 2, "name": "to", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "value": {"type": "numeric", "index": 5, "name": "value", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "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_optimism_mainnet_tlx.lt_eth_short7_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long10_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long10_event_minted", "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}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long10_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long10_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long10_event_rebalanced", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long10_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long10_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long10_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "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}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_ethbtc_long10_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long10_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long10_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "from": {"type": "text", "index": 3, "name": "from", "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}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "to": {"type": "text", "index": 7, "name": "to", "comment": null}, "value": {"type": "numeric", "index": 8, "name": "value", "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_optimism_mainnet_tlx.lt_ethbtc_long10_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long2_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "current_leverage": {"type": "numeric", "index": 3, "name": "current_leverage", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "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}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_ethbtc_long2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "value": {"type": "numeric", "index": 3, "name": "value", "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}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "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_optimism_mainnet_tlx.lt_ethbtc_long5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long5_event_rebalanced", "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}, "current_leverage": {"type": "numeric", "index": 3, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_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}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_long5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"to": {"type": "text", "index": 1, "name": "to", "comment": null}, "from": {"type": "text", "index": 2, "name": "from", "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}, "value": {"type": "numeric", "index": 7, "name": "value", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short10_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short10_event_minted", "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}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "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_optimism_mainnet_tlx.lt_ethbtc_short10_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short10_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short10_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_leverage": {"type": "numeric", "index": 1, "name": "current_leverage", "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}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short10_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short10_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short10_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "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}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 6, "name": "base_asset_amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "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_optimism_mainnet_tlx.lt_ethbtc_short10_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short10_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short10_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "comment": null}, "to": {"type": "text", "index": 3, "name": "to", "comment": null}, "from": {"type": "text", "index": 4, "name": "from", "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}, "contract": {"type": "text", "index": 7, "name": "contract", "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_optimism_mainnet_tlx.lt_ethbtc_short10_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short2_event_minted", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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_optimism_mainnet_tlx.lt_ethbtc_short2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short2_event_rebalanced", "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}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "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}, "current_leverage": {"type": "numeric", "index": 7, "name": "current_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_optimism_mainnet_tlx.lt_ethbtc_short2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "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}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 9, "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_tlx.lt_ethbtc_short2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"value": {"type": "numeric", "index": 1, "name": "value", "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}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 8, "name": "from", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "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}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_ethbtc_short5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short5_event_rebalanced", "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}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short5_event_redeemed", "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}, "account": {"type": "text", "index": 3, "name": "account", "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}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "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_tlx.lt_ethbtc_short5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_ethbtc_short5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "to": {"type": "text", "index": 4, "name": "to", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "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}, "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_tlx.lt_ethbtc_short5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long1_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "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}, "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}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 9, "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_tlx.lt_link_long1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long1_event_rebalanced", "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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "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}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long1_event_redeemed", "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}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_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}, "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_optimism_mainnet_tlx.lt_link_long1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long1_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"to": {"type": "text", "index": 1, "name": "to", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "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}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 9, "name": "from", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "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}, "account": {"type": "text", "index": 7, "name": "account", "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_optimism_mainnet_tlx.lt_link_long2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long2_event_rebalanced", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "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}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "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}, "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_optimism_mainnet_tlx.lt_link_long2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long2_event_transfer", "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}, "value": {"type": "numeric", "index": 3, "name": "value", "comment": null}, "to": {"type": "text", "index": 4, "name": "to", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "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_optimism_mainnet_tlx.lt_link_long5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long5_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "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_tlx.lt_link_long5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "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_optimism_mainnet_tlx.lt_link_long5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_long5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "value": {"type": "numeric", "index": 3, "name": "value", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 8, "name": "from", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short1_event_minted", "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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "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_optimism_mainnet_tlx.lt_link_short1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short1_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "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_tlx.lt_link_short1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short1_event_redeemed", "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": {"type": "text", "index": 3, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "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_optimism_mainnet_tlx.lt_link_short1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short1_event_transfer", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "to": {"type": "text", "index": 4, "name": "to", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "comment": null}, "value": {"type": "numeric", "index": 6, "name": "value", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "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}, "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_optimism_mainnet_tlx.lt_link_short2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short2_event_rebalanced", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "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}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short2_event_transfer", "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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "value": {"type": "numeric", "index": 5, "name": "value", "comment": null}, "to": {"type": "text", "index": 6, "name": "to", "comment": null}, "from": {"type": "text", "index": 7, "name": "from", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short5_event_minted", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "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}, "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_optimism_mainnet_tlx.lt_link_short5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short5_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "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}, "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "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}, "id": {"type": "character varying", "index": 8, "name": "id", "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_optimism_mainnet_tlx.lt_link_short5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_link_short5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "to": {"type": "text", "index": 3, "name": "to", "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_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "from": {"type": "text", "index": 7, "name": "from", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "value": {"type": "numeric", "index": 9, "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_optimism_mainnet_tlx.lt_link_short5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long1_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long1_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "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}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long1_event_redeemed", "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}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_op_long1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long1_event_transfer", "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}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "from": {"type": "text", "index": 6, "name": "from", "comment": null}, "to": {"type": "text", "index": 7, "name": "to", "comment": null}, "value": {"type": "numeric", "index": 8, "name": "value", "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_tlx.lt_op_long1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "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}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long2_event_rebalanced", "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}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "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_tlx.lt_op_long2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "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}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "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_optimism_mainnet_tlx.lt_op_long2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 6, "name": "from", "comment": null}, "to": {"type": "text", "index": 7, "name": "to", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "value": {"type": "numeric", "index": 9, "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_optimism_mainnet_tlx.lt_op_long2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long5_event_minted", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_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}, "account": {"type": "text", "index": 9, "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_tlx.lt_op_long5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long5_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "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}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "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}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_long5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"value": {"type": "numeric", "index": 1, "name": "value", "comment": null}, "to": {"type": "text", "index": 2, "name": "to", "comment": null}, "from": {"type": "text", "index": 3, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "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_optimism_mainnet_tlx.lt_op_long5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short1_event_minted", "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}, "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}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_op_short1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short1_event_rebalanced", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short1_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "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}, "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_tlx.lt_op_short1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short1_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"value": {"type": "numeric", "index": 1, "name": "value", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "to": {"type": "text", "index": 7, "name": "to", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short2_event_rebalanced", "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}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 6, "name": "base_asset_amount", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "from": {"type": "text", "index": 2, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "value": {"type": "numeric", "index": 4, "name": "value", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short5_event_minted", "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}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "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}, "id": {"type": "character varying", "index": 7, "name": "id", "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_optimism_mainnet_tlx.lt_op_short5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short5_event_rebalanced", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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_optimism_mainnet_tlx.lt_op_short5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_op_short5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"to": {"type": "text", "index": 1, "name": "to", "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}, "value": {"type": "numeric", "index": 4, "name": "value", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "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}, "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_tlx.lt_op_short5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long1_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long1_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "current_leverage": {"type": "numeric", "index": 7, "name": "current_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_optimism_mainnet_tlx.lt_pepe_long1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long1_event_redeemed", "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}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_amount", "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}, "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_optimism_mainnet_tlx.lt_pepe_long1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long1_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "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}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "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}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "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_tlx.lt_pepe_long2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long2_event_rebalanced", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "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}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long2_event_transfer", "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}, "from": {"type": "text", "index": 3, "name": "from", "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}, "value": {"type": "numeric", "index": 6, "name": "value", "comment": null}, "to": {"type": "text", "index": 7, "name": "to", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long5_event_minted", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long5_event_rebalanced", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "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_tlx.lt_pepe_long5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_long5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "from": {"type": "text", "index": 2, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "value": {"type": "numeric", "index": 6, "name": "value", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "to": {"type": "text", "index": 8, "name": "to", "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_tlx.lt_pepe_long5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short1_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "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_tlx.lt_pepe_short1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short1_event_rebalanced", "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}, "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}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short1_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "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}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 6, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "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_optimism_mainnet_tlx.lt_pepe_short1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short1_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"to": {"type": "text", "index": 1, "name": "to", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 8, "name": "from", "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_optimism_mainnet_tlx.lt_pepe_short1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "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_tlx.lt_pepe_short2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short2_event_rebalanced", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "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}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "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}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short2_event_transfer", "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_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "value": {"type": "numeric", "index": 4, "name": "value", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "to": {"type": "text", "index": 6, "name": "to", "comment": null}, "from": {"type": "text", "index": 7, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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_optimism_mainnet_tlx.lt_pepe_short2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short5_event_minted", "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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "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_optimism_mainnet_tlx.lt_pepe_short5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short5_event_rebalanced", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "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": {"type": "text", "index": 9, "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_tlx.lt_pepe_short5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_pepe_short5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "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}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 8, "name": "from", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_long2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "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}, "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_optimism_mainnet_tlx.lt_rune_long2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_long2_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_long2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_rune_long2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_long2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "comment": null}, "to": {"type": "text", "index": 2, "name": "to", "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}, "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}, "value": {"type": "numeric", "index": 9, "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_optimism_mainnet_tlx.lt_rune_long2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_long5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_long5_event_rebalanced", "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}, "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}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "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_tlx.lt_rune_long5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_long5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "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}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_rune_long5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_long5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"value": {"type": "numeric", "index": 1, "name": "value", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "comment": null}, "to": {"type": "text", "index": 6, "name": "to", "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}, "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_tlx.lt_rune_long5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_short2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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_optimism_mainnet_tlx.lt_rune_short2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_short2_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_short2_event_redeemed", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "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}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "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_optimism_mainnet_tlx.lt_rune_short2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_short2_event_transfer", "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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 7, "name": "from", "comment": null}, "to": {"type": "text", "index": 8, "name": "to", "comment": null}, "value": {"type": "numeric", "index": 9, "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_optimism_mainnet_tlx.lt_rune_short2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_short5_event_minted", "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}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_short5_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_leverage": {"type": "numeric", "index": 1, "name": "current_leverage", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_short5_event_redeemed", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "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_tlx.lt_rune_short5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_rune_short5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "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}, "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}, "from": {"type": "text", "index": 8, "name": "from", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_long2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "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": {"type": "text", "index": 7, "name": "account", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "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_optimism_mainnet_tlx.lt_sei_long2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_long2_event_rebalanced", "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}, "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}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "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_tlx.lt_sei_long2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_long2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_sei_long2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_long2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "to": {"type": "text", "index": 2, "name": "to", "comment": null}, "from": {"type": "text", "index": 3, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "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}, "value": {"type": "numeric", "index": 9, "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_optimism_mainnet_tlx.lt_sei_long2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_long5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "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}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_sei_long5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_long5_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_leverage": {"type": "numeric", "index": 1, "name": "current_leverage", "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}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_long5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "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_optimism_mainnet_tlx.lt_sei_long5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_long5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"to": {"type": "text", "index": 1, "name": "to", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "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}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 9, "name": "from", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_short2_event_minted", "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}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "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_tlx.lt_sei_short2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_short2_event_rebalanced", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "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}, "current_leverage": {"type": "numeric", "index": 7, "name": "current_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_optimism_mainnet_tlx.lt_sei_short2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_short2_event_redeemed", "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}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_short2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "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}, "value": {"type": "numeric", "index": 5, "name": "value", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_short5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "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}, "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_tlx.lt_sei_short5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_short5_event_rebalanced", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "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_tlx.lt_sei_short5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_short5_event_redeemed", "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}, "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}, "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}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_sei_short5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sei_short5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "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}, "to": {"type": "text", "index": 5, "name": "to", "comment": null}, "from": {"type": "text", "index": 6, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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_optimism_mainnet_tlx.lt_sei_short5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long1_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 6, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "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_tlx.lt_sol_long1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long1_event_rebalanced", "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}, "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}, "current_leverage": {"type": "numeric", "index": 6, "name": "current_leverage", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long1_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "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}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_sol_long1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long1_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "to": {"type": "text", "index": 4, "name": "to", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "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}, "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_tlx.lt_sol_long1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "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_optimism_mainnet_tlx.lt_sol_long2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long2_event_rebalanced", "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}, "current_leverage": {"type": "numeric", "index": 3, "name": "current_leverage", "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}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long2_event_redeemed", "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}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"to": {"type": "text", "index": 1, "name": "to", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "value": {"type": "numeric", "index": 3, "name": "value", "comment": null}, "from": {"type": "text", "index": 4, "name": "from", "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}, "contract": {"type": "text", "index": 7, "name": "contract", "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_optimism_mainnet_tlx.lt_sol_long2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long3_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long3_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "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}, "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_tlx.lt_sol_long3_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long3_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long3_event_rebalanced", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long3_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long3_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long3_event_redeemed", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "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}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_sol_long3_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long3_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long3_event_transfer", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 6, "name": "from", "comment": null}, "to": {"type": "text", "index": 7, "name": "to", "comment": null}, "value": {"type": "numeric", "index": 8, "name": "value", "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_tlx.lt_sol_long3_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long4_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long4_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long4_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long4_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long4_event_rebalanced", "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}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long4_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long4_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long4_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset_amount": {"type": "numeric", "index": 1, "name": "base_asset_amount", "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}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 9, "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_tlx.lt_sol_long4_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long4_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long4_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "to": {"type": "text", "index": 3, "name": "to", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "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}, "value": {"type": "numeric", "index": 8, "name": "value", "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_optimism_mainnet_tlx.lt_sol_long4_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "id": {"type": "character varying", "index": 8, "name": "id", "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_optimism_mainnet_tlx.lt_sol_long5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long5_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "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}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_sol_long5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_long5_event_transfer", "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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 6, "name": "from", "comment": null}, "value": {"type": "numeric", "index": 7, "name": "value", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short1_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short1_event_minted", "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}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short1_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short1_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short1_event_rebalanced", "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_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "current_leverage": {"type": "numeric", "index": 7, "name": "current_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_optimism_mainnet_tlx.lt_sol_short1_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short1_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short1_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "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}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_sol_short1_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short1_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short1_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"from": {"type": "text", "index": 1, "name": "from", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "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}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short1_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "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}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "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_optimism_mainnet_tlx.lt_sol_short2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short2_event_rebalanced", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "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}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "current_leverage": {"type": "numeric", "index": 7, "name": "current_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_optimism_mainnet_tlx.lt_sol_short2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "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}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 9, "name": "base_asset_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_tlx.lt_sol_short2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short2_event_transfer", "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}, "value": {"type": "numeric", "index": 3, "name": "value", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 8, "name": "from", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short3_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short3_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 2, "name": "leveraged_token_amount", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "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}, "account": {"type": "text", "index": 8, "name": "account", "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_tlx.lt_sol_short3_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short3_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short3_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "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}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short3_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short3_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short3_event_redeemed", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 7, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "comment": null}, "account": {"type": "text", "index": 9, "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_tlx.lt_sol_short3_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short3_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short3_event_transfer", "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}, "value": {"type": "numeric", "index": 3, "name": "value", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "to": {"type": "text", "index": 5, "name": "to", "comment": null}, "from": {"type": "text", "index": 6, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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_tlx.lt_sol_short3_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short4_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short4_event_minted", "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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 4, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "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}, "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_optimism_mainnet_tlx.lt_sol_short4_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short4_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short4_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short4_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short4_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short4_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "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}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "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_optimism_mainnet_tlx.lt_sol_short4_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short4_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short4_event_transfer", "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}, "to": {"type": "text", "index": 4, "name": "to", "comment": null}, "from": {"type": "text", "index": 5, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "value": {"type": "numeric", "index": 7, "name": "value", "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_optimism_mainnet_tlx.lt_sol_short4_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short5_event_minted", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 5, "name": "base_asset_amount", "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}, "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_tlx.lt_sol_short5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short5_event_rebalanced", "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}, "current_leverage": {"type": "numeric", "index": 3, "name": "current_leverage", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short5_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "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}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_sol_short5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sol_short5_event_transfer", "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}, "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}, "from": {"type": "text", "index": 6, "name": "from", "comment": null}, "value": {"type": "numeric", "index": 7, "name": "value", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_long2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leveraged_token_amount": {"type": "numeric", "index": 1, "name": "leveraged_token_amount", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "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": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_long2_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 2, "name": "current_leverage", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_long2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "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}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_long2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 2, "name": "from", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "value": {"type": "numeric", "index": 4, "name": "value", "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}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_long5_event_minted", "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}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "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}, "leveraged_token_amount": {"type": "numeric", "index": 6, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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_optimism_mainnet_tlx.lt_sui_long5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_long5_event_rebalanced", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "current_leverage": {"type": "numeric", "index": 5, "name": "current_leverage", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_long5_event_redeemed", "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}, "base_asset_amount": {"type": "numeric", "index": 3, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 4, "name": "leveraged_token_amount", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_long5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "value": {"type": "numeric", "index": 2, "name": "value", "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}, "to": {"type": "text", "index": 5, "name": "to", "comment": null}, "from": {"type": "text", "index": 6, "name": "from", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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_optimism_mainnet_tlx.lt_sui_long5_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short2_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_short2_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "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}, "leveraged_token_amount": {"type": "numeric", "index": 5, "name": "leveraged_token_amount", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 6, "name": "base_asset_amount", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short2_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short2_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_short2_event_rebalanced", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short2_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short2_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_short2_event_redeemed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "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}, "event_name": {"type": "text", "index": 4, "name": "event_name", "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}, "base_asset_amount": {"type": "numeric", "index": 8, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 9, "name": "leveraged_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_optimism_mainnet_tlx.lt_sui_short2_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short2_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_short2_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "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}, "value": {"type": "numeric", "index": 4, "name": "value", "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}, "from": {"type": "text", "index": 8, "name": "from", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short2_event_transfer"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short5_event_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_short5_event_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 2, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 3, "name": "leveraged_token_amount", "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}, "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}, "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_tlx.lt_sui_short5_event_minted"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short5_event_rebalanced": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_short5_event_rebalanced", "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}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_leverage": {"type": "numeric", "index": 4, "name": "current_leverage", "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}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short5_event_rebalanced"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short5_event_redeemed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_short5_event_redeemed", "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}, "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}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "base_asset_amount": {"type": "numeric", "index": 7, "name": "base_asset_amount", "comment": null}, "leveraged_token_amount": {"type": "numeric", "index": 8, "name": "leveraged_token_amount", "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_tlx.lt_sui_short5_event_redeemed"}, "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short5_event_transfer": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet_tlx", "name": "lt_sui_short5_event_transfer", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"value": {"type": "numeric", "index": 1, "name": "value", "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}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "from": {"type": "text", "index": 8, "name": "from", "comment": null}, "to": {"type": "text", "index": 9, "name": "to", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short5_event_transfer"}, "source.synthetix.raw_snax_mainnet.ambassador_governance_proxy_event_vote_recorded": {"metadata": {"type": "BASE TABLE", "schema": "raw_snax_mainnet", "name": "ambassador_governance_proxy_event_vote_recorded", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"candidates": {"type": "jsonb", "index": 1, "name": "candidates", "comment": null}, "voting_power": {"type": "numeric", "index": 2, "name": "voting_power", "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}, "chain_id": {"type": "numeric", "index": 6, "name": "chain_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "epoch_id": {"type": "numeric", "index": 8, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 9, "name": "voter", "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_snax_mainnet.ambassador_governance_proxy_event_vote_recorded"}, "source.synthetix.raw_snax_mainnet.ambassador_governance_proxy_event_vote_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_snax_mainnet", "name": "ambassador_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}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "epoch_id": {"type": "numeric", "index": 4, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 5, "name": "voter", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "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_mainnet.ambassador_governance_proxy_event_vote_withdrawn"}, "source.synthetix.raw_snax_mainnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_snax_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_snax_mainnet.block"}, "source.synthetix.raw_snax_mainnet.spartan_governance_proxy_event_vote_recorded": {"metadata": {"type": "BASE TABLE", "schema": "raw_snax_mainnet", "name": "spartan_governance_proxy_event_vote_recorded", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "candidates": {"type": "jsonb", "index": 2, "name": "candidates", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "voting_power": {"type": "numeric", "index": 4, "name": "voting_power", "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}, "voter": {"type": "text", "index": 8, "name": "voter", "comment": null}, "epoch_id": {"type": "numeric", "index": 9, "name": "epoch_id", "comment": null}, "chain_id": {"type": "numeric", "index": 10, "name": "chain_id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_snax_mainnet.spartan_governance_proxy_event_vote_recorded"}, "source.synthetix.raw_snax_mainnet.spartan_governance_proxy_event_vote_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_snax_mainnet", "name": "spartan_governance_proxy_event_vote_withdrawn", "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}, "epoch_id": {"type": "numeric", "index": 4, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 5, "name": "voter", "comment": null}, "chain_id": {"type": "numeric", "index": 6, "name": "chain_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}}, "stats": {"has_stats": {"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_mainnet.spartan_governance_proxy_event_vote_withdrawn"}, "source.synthetix.raw_snax_mainnet.treasury_governance_proxy_event_vote_recorded": {"metadata": {"type": "BASE TABLE", "schema": "raw_snax_mainnet", "name": "treasury_governance_proxy_event_vote_recorded", "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}, "voter": {"type": "text", "index": 4, "name": "voter", "comment": null}, "epoch_id": {"type": "numeric", "index": 5, "name": "epoch_id", "comment": null}, "chain_id": {"type": "numeric", "index": 6, "name": "chain_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "candidates": {"type": "jsonb", "index": 9, "name": "candidates", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "voting_power": {"type": "numeric", "index": 11, "name": "voting_power", "comment": null}}, "stats": {"has_stats": {"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_mainnet.treasury_governance_proxy_event_vote_recorded"}, "source.synthetix.raw_snax_mainnet.treasury_governance_proxy_event_vote_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_snax_mainnet", "name": "treasury_governance_proxy_event_vote_withdrawn", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "epoch_id": {"type": "numeric", "index": 4, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 5, "name": "voter", "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}, "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_snax_mainnet.treasury_governance_proxy_event_vote_withdrawn"}, "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_activity_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_activity_arbitrum_mainnet.sql
new file mode 100644
index 00000000..40e81dee
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_activity_arbitrum_mainnet.sql
@@ -0,0 +1,39 @@
+
+
+with delegated as (
+ select distinct
+ block_timestamp,
+ account_id,
+ 'Delegated' as account_action
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+),
+
+withdrawn as (
+ select
+ block_timestamp,
+ account_id,
+ 'Withdrawn' as account_action
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+),
+
+claimed as (
+ select
+ block_timestamp,
+ account_id,
+ 'Claimed' as account_action
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+),
+
+combined as (
+ select * from delegated
+ union all
+ select * from withdrawn
+ union all
+ select * from claimed
+)
+
+select
+ block_timestamp,
+ account_action,
+ account_id
+from combined
\ 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_active_stakers_daily_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_active_stakers_daily_arbitrum_mainnet.sql
new file mode 100644
index 00000000..c9ff3670
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_active_stakers_daily_arbitrum_mainnet.sql
@@ -0,0 +1,49 @@
+
+
+with delegation_updated as (
+ select
+ block_timestamp,
+ account_id,
+ amount
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+),
+
+dim as (
+ select
+ d.block_date,
+ accounts_unique.account_id
+ from (
+ select
+ generate_series(
+ date_trunc('day', date('2023-12-15')),
+ date_trunc('day', current_date), '1 day'::interval
+ ) as block_date
+ ) as d
+ cross join (
+ select distinct account_id from delegation_updated
+ ) as accounts_unique
+),
+
+stakers as (
+ select
+ dim.block_date,
+ dim.account_id,
+ case
+ when coalesce(last(delegation_updated.amount) over (
+ partition by dim.account_id
+ order by dim.block_date
+ rows between unbounded preceding and current row
+ ), 0) = 0 then 0
+ else 1
+ end as is_staking
+ from dim
+ left join delegation_updated on
+ dim.block_date = date(delegation_updated.block_timestamp)
+ and dim.account_id = delegation_updated.account_id
+)
+
+select
+ block_date,
+ sum(is_staking) as nof_stakers_daily
+from stakers
+group by block_date
\ 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..ac9c6a6a
--- /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 lower(pnl.collateral_type) = lower(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..7b48efff
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql
@@ -0,0 +1,82 @@
+
+
+with dim as (
+
+ select
+ t.ts,
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol as reward_token
+ from
+ (
+ select
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ from
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+ group by
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ ) as t
+ cross join (
+ select distinct token_symbol
+ from
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+ ) as p
+ group by
+ t.ts,
+ 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 LOWER(dim.collateral_type)
+ = LOWER(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..2cc297eb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql
@@ -0,0 +1,190 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.min_ts)),
+ date_trunc('hour', max(t.max_ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ from
+ (
+ select
+ min(ts_start) as min_ts,
+ max(
+ ts_start + "duration" * '1 second'::INTERVAL
+ ) as max_ts
+ from
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_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
+ where
+ r."duration" > 0
+),
+
+streamed_rewards as (
+ select
+ d.ts,
+ d.pool_id,
+ d.collateral_type,
+ d.distributor,
+ d.token_symbol,
+ -- 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,
+ least(
+ d.ts + '1 hour'::INTERVAL - greatest(
+ d.ts,
+ d.ts_start
+ ),
+ least(
+ d.ts_start + d."duration" * '1 second'::INTERVAL,
+ d.ts + '1 hour'::INTERVAL
+ ) - d.ts
+ )
+ )
+ ) / 3600
+ ) * d.amount / (
+ d."duration" / 3600
+ ) as amount
+ from
+ hourly_distributions as d
+ where
+ d.distributor_index = 1
+),
+
+instant_rewards as (
+ select
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ rewards_distributed
+ where
+ "duration" = 0
+),
+
+combined as (
+ select
+ combo.ts,
+ combo.pool_id,
+ combo.collateral_type,
+ combo.distributor,
+ combo.token_symbol,
+ combo.amount,
+ p.price
+ from
+ (
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ streamed_rewards
+ union all
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ instant_rewards
+ ) as combo
+ left join "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet" as p
+ on
+ combo.token_symbol = p.market_symbol
+ and combo.ts = p.ts
+)
+
+select
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ sum(amount) as amount,
+ sum(
+ amount * price
+ ) as rewards_usd
+from
+ combined
+group by
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_accou_eae8ff947e1ce9ebc1fc373bb06c20b9.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_accou_eae8ff947e1ce9ebc1fc373bb06c20b9.sql
new file mode 100644
index 00000000..ffcc0461
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_accou_eae8ff947e1ce9ebc1fc373bb06c20b9.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ account_action as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_account_activity_arbitrum_mainnet"
+ group by account_action
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Delegated','Withdrawn','Claimed'
+)
+
+
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_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_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_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_b1d59884f8642fc3181a3d46417cd8fb.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b1d59884f8642fc3181a3d46417cd8fb.sql
new file mode 100644
index 00000000..6ec84ace
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b1d59884f8642fc3181a3d46417cd8fb.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 >= 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_acti_110729d808f19de3565eb2af6e4f1379.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_acti_110729d808f19de3565eb2af6e4f1379.sql
new file mode 100644
index 00000000..64aad5b6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_acti_110729d808f19de3565eb2af6e4f1379.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_action
+from "analytics"."prod_arbitrum_mainnet"."fct_core_account_activity_arbitrum_mainnet"
+where account_action is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_acti_806bcc17b9b1e4e50ba5db20a6a3dead.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_acti_806bcc17b9b1e4e50ba5db20a6a3dead.sql
new file mode 100644
index 00000000..60589889
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_acti_806bcc17b9b1e4e50ba5db20a6a3dead.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_arbitrum_mainnet"."fct_core_account_activity_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_activity_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_activity_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..e1d380d7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_activity_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_mainnet"."fct_core_account_activity_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_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_active_stake_7d7a3bea29f881165e460d221525b622.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_active_stake_7d7a3bea29f881165e460d221525b622.sql
new file mode 100644
index 00000000..79997182
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_active_stake_7d7a3bea29f881165e460d221525b622.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_date
+from "analytics"."prod_arbitrum_mainnet"."fct_core_active_stakers_daily_arbitrum_mainnet"
+where block_date 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_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_amount.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount.sql
new file mode 100644
index 00000000..ccbf694a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+where amount 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_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/perp/fct_perp_account_activity_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_account_activity_arbitrum_mainnet.sql
new file mode 100644
index 00000000..25ed3ab1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_account_activity_arbitrum_mainnet.sql
@@ -0,0 +1,86 @@
+
+
+with active_accounts as (
+ select distinct
+ date_trunc('day', ts) as activity_date,
+ account_id
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+),
+
+date_range as (
+ select
+ generate_series(
+ date(min(activity_date)),
+ date(max(activity_date)),
+ interval '1 day'
+ )::date as activity_date
+ from active_accounts
+),
+
+active_accounts_daily as (
+ select
+ date_range.activity_date,
+ count(distinct active_accounts.account_id) as active_accounts
+ from date_range
+ left join active_accounts
+ on date_range.activity_date = active_accounts.activity_date
+ group by date_range.activity_date
+),
+
+active_accounts_monthly as (
+ select
+ date_range.activity_date,
+ count(distinct active_accounts.account_id) as active_accounts
+ from date_range
+ left join active_accounts
+ on
+ date_range.activity_date - interval '27 days'
+ <= active_accounts.activity_date
+ and date_range.activity_date >= active_accounts.activity_date
+ group by date_range.activity_date
+),
+
+new_accounts as (
+ select
+ min(activity_date) as start_date,
+ account_id
+ from active_accounts
+ group by account_id
+),
+
+new_accounts_daily as (
+ select
+ date_range.activity_date,
+ count(new_accounts.account_id) as new_accounts
+ from date_range
+ left join new_accounts
+ on date_range.activity_date = new_accounts.start_date
+ group by date_range.activity_date, new_accounts.start_date
+),
+
+new_accounts_monthly as (
+ select distinct
+ activity_date,
+ sum(new_accounts) over (
+ order by activity_date
+ range between interval '27 days' preceding and current row
+ ) as new_accounts
+ from new_accounts_daily
+)
+
+select
+ dr.activity_date as ts,
+ dau.active_accounts as dau,
+ mau.active_accounts as mau,
+ new_accounts_daily.new_accounts as new_accounts_daily,
+ new_accounts_monthly.new_accounts as new_accounts_monthly
+from date_range as dr
+left join active_accounts_daily as dau
+ on dr.activity_date = dau.activity_date
+left join active_accounts_monthly as mau
+ on dr.activity_date = mau.activity_date
+left join new_accounts_daily
+ on dr.activity_date = new_accounts_daily.activity_date
+left join new_accounts_monthly
+ on dr.activity_date = new_accounts_monthly.activity_date
+order by ts desc
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_accounts_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_accounts_arbitrum_mainnet.sql
new file mode 100644
index 00000000..ee2b2129
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_accounts_arbitrum_mainnet.sql
@@ -0,0 +1,14 @@
+with arbitrum as (
+ select
+ block_timestamp as created_ts,
+ "owner",
+ CAST(
+ account_id as VARCHAR
+ ) as id
+ from
+ "analytics"."prod_raw_arbitrum_mainnet"."perp_account_created_arbitrum_mainnet"
+)
+
+select *
+from
+ arbitrum
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_collateral_balances_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_collateral_balances_arbitrum_mainnet.sql
new file mode 100644
index 00000000..22c837a1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_collateral_balances_arbitrum_mainnet.sql
@@ -0,0 +1,131 @@
+with synths as (
+ select
+ synth_market_id as collateral_id,
+ synth_token_address
+ from
+ "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+),
+
+transfers as (
+ select
+ cm.block_number,
+ cm.block_timestamp as ts,
+ cm.transaction_hash,
+ cm.collateral_id,
+ synths.synth_token_address,
+ CAST(cm.account_id as text) as account_id,
+
+ cm.amount_delta / 1e18
+ as amount_delta
+ from
+ "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet" as cm
+ inner join synths
+ on cm.collateral_id = synths.collateral_id
+),
+
+liq_tx as (
+ select distinct
+ transaction_hash,
+ CAST(account_id as text) as account_id
+ from
+ "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_mainnet"
+),
+
+distributors as (
+ select
+ CAST(rd.distributor_address as text) as distributor_address,
+ CAST(rd.token_symbol as text) as token_symbol,
+ rd.synth_token_address,
+ synths.collateral_id
+ from
+ "analytics"."prod_seeds"."arbitrum_mainnet_reward_distributors" as rd
+ inner join synths
+ on rd.synth_token_address = synths.synth_token_address
+),
+
+liquidations as (
+ select
+ rd.block_number,
+ rd.block_timestamp as ts,
+ -rd.amount / 1e18 as amount_delta,
+ liq_tx.transaction_hash,
+ rd.collateral_type,
+ distributors.token_symbol,
+ distributors.synth_token_address,
+ CAST(liq_tx.account_id as text) as account_id,
+ distributors.collateral_id
+ from
+ "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" as rd
+ inner join liq_tx
+ on rd.transaction_hash = liq_tx.transaction_hash
+ inner join distributors
+ on rd.distributor = distributors.distributor_address
+),
+
+net_transfers as (
+ select
+ events.ts,
+ events.transaction_hash,
+ events.event_type,
+ events.collateral_id,
+ events.synth_token_address,
+ synths.synth_symbol,
+ events.account_id,
+ prices.price,
+ events.amount_delta,
+ SUM(events.amount_delta) over (
+ partition by events.account_id, events.collateral_id
+ order by events.ts
+ ) as account_balance,
+ SUM(events.amount_delta) over (
+ partition by events.collateral_id
+ order by events.ts
+ ) as total_balance
+ from (
+ select
+ transfers.ts,
+ transfers.transaction_hash,
+ transfers.collateral_id,
+ transfers.synth_token_address,
+ transfers.account_id,
+ transfers.amount_delta,
+ 'transfer' as event_type
+ from
+ transfers
+ union all
+ select
+ liquidations.ts,
+ liquidations.transaction_hash,
+ liquidations.collateral_id,
+ liquidations.synth_token_address,
+ liquidations.account_id,
+ liquidations.amount_delta,
+ 'liquidation' as event_type
+ from
+ liquidations
+ ) as events
+ inner join "analytics"."prod_seeds"."arbitrum_mainnet_synths" as synths
+ on events.collateral_id = synths.synth_market_id
+ left join "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet" as prices
+ on
+ synths.token_symbol = prices.market_symbol
+ and DATE_TRUNC('hour', events.ts) = prices.ts
+)
+
+select
+ net_transfers.ts,
+ net_transfers.transaction_hash,
+ net_transfers.event_type,
+ net_transfers.collateral_id,
+ net_transfers.synth_token_address,
+ net_transfers.synth_symbol,
+ net_transfers.account_id,
+ net_transfers.price,
+ net_transfers.amount_delta,
+ net_transfers.amount_delta * net_transfers.price as amount_delta_usd,
+ net_transfers.account_balance,
+ net_transfers.account_balance * net_transfers.price as account_balance_usd,
+ net_transfers.total_balance,
+ net_transfers.total_balance * net_transfers.price as total_balance_usd
+from
+ net_transfers
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_collateral_modified_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_collateral_modified_arbitrum_mainnet.sql
new file mode 100644
index 00000000..4ad1e682
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_collateral_modified_arbitrum_mainnet.sql
@@ -0,0 +1,20 @@
+select
+ cm.id,
+ cm.block_timestamp,
+ cm.account_id,
+ cm.block_number,
+ cm.transaction_hash,
+ cm.contract,
+ cm.event_name,
+ synths.synth_symbol,
+ cm.collateral_id as synth_market_id,
+ synths.synth_token_address,
+ cm.sender,
+
+ cm.amount_delta / 1e18
+ as amount_delta
+from
+ "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet"
+ as cm
+inner join "analytics"."prod_seeds"."arbitrum_mainnet_synths" as synths
+ on cm.collateral_id = synths.synth_market_id
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_interest_charged_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_interest_charged_arbitrum_mainnet.sql
new file mode 100644
index 00000000..79b4c669
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_interest_charged_arbitrum_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_arbitrum_mainnet"."perp_interest_charged_arbitrum_mainnet"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_liq_account_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_liq_account_arbitrum_mainnet.sql
new file mode 100644
index 00000000..af65fa59
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_liq_account_arbitrum_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_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_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/arbitrum/mainnet/perp/fct_perp_liq_position_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_liq_position_arbitrum_mainnet.sql
new file mode 100644
index 00000000..9282ceff
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_liq_position_arbitrum_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_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+),
+
+markets as (
+ select
+ id,
+ market_symbol
+ from
+ "analytics"."prod_arbitrum_mainnet"."fct_perp_markets_arbitrum_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/arbitrum/mainnet/perp/fct_perp_market_history_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_market_history_arbitrum_mainnet.sql
new file mode 100644
index 00000000..0f86ae0e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_market_history_arbitrum_mainnet.sql
@@ -0,0 +1,132 @@
+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,
+ LAG(
+ size / 1e18
+, 1, 0) over (
+ partition by m.market_symbol
+ order by
+ mu.block_timestamp
+ ) as prev_size
+ from
+ "analytics"."prod_raw_arbitrum_mainnet"."perp_market_updated_arbitrum_mainnet" as mu
+ left join "analytics"."prod_arbitrum_mainnet"."fct_perp_markets_arbitrum_mainnet" as m
+ on mu.market_id = m.id
+),
+
+oi as (
+ select
+ id,
+ ts,
+ size * price as market_oi_usd,
+ LAG(
+ size * price,
+ 1,
+ 0
+ ) over (
+ partition by market_symbol
+ order by
+ ts asc
+ ) as prev_market_oi_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
+),
+
+total_oi as (
+ select
+ id,
+ SUM(
+ market_oi_usd - prev_market_oi_usd
+ ) over (
+ order by
+ ts asc
+ ) as total_oi_usd
+ from
+ oi
+)
+
+select
+ base.*,
+ ROUND(
+ oi.market_oi_usd,
+ 2
+ ) as market_oi_usd,
+ ROUND(
+ total_oi.total_oi_usd,
+ 2
+ ) as total_oi_usd,
+ ROUND(
+ oi.long_oi,
+ 2
+ ) as long_oi,
+ ROUND(
+ oi.short_oi,
+ 2
+ ) as short_oi,
+ oi.long_oi_pct,
+ oi.short_oi_pct
+from
+ base
+inner join oi
+ on base.id = oi.id
+inner join total_oi
+ on base.id = total_oi.id
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_markets_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_markets_arbitrum_mainnet.sql
new file mode 100644
index 00000000..b77eb120
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_markets_arbitrum_mainnet.sql
@@ -0,0 +1,14 @@
+with arbitrum as (
+ select
+ perps_market_id as id,
+ block_timestamp as created_ts,
+ block_number,
+ market_symbol,
+ market_name
+ from
+ "analytics"."prod_raw_arbitrum_mainnet"."perp_market_created_arbitrum_mainnet"
+)
+
+select *
+from
+ arbitrum
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_orders_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_orders_arbitrum_mainnet.sql
new file mode 100644
index 00000000..b9852745
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_orders_arbitrum_mainnet.sql
@@ -0,0 +1,46 @@
+with arbitrum 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_arbitrum_mainnet"."perp_order_committed_arbitrum_mainnet"
+ as oc
+ left join "analytics"."prod_arbitrum_mainnet"."fct_perp_markets_arbitrum_mainnet" as markets
+ on oc.market_id = markets.id
+)
+
+select *
+from
+ arbitrum
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_pnl_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_pnl_arbitrum_mainnet.sql
new file mode 100644
index 00000000..0c433ea4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_pnl_arbitrum_mainnet.sql
@@ -0,0 +1,18 @@
+
+with debt as (
+ select
+ ts,
+ 2 as market_id,
+ debt * -1 as market_pnl
+ from
+ "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_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/arbitrum/mainnet/perp/fct_perp_previous_order_expired_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_previous_order_expired_arbitrum_mainnet.sql
new file mode 100644
index 00000000..93c20ff7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"."perp_previous_order_expired_arbitrum_mainnet"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_trades_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_trades_arbitrum_mainnet.sql
new file mode 100644
index 00000000..04bd5398
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_trades_arbitrum_mainnet.sql
@@ -0,0 +1,70 @@
+with arbitrum 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_arbitrum_mainnet"."perp_order_settled_arbitrum_mainnet" as pos
+ left join "analytics"."prod_arbitrum_mainnet"."fct_perp_markets_arbitrum_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
+ arbitrum
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_0da291fb90e271e6e31861eed55225bd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_0da291fb90e271e6e31861eed55225bd.sql
new file mode 100644
index 00000000..fb6d75cd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_0da291fb90e271e6e31861eed55225bd.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_perp_collateral_modified_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'CollateralModified'
+)
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_e3bc82b7fe00da18ffea37f42d8e33ad.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_e3bc82b7fe00da18ffea37f42d8e33ad.sql
new file mode 100644
index 00000000..49bd256a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_e3bc82b7fe00da18ffea37f42d8e33ad.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_perp_interest_charged_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestCharged'
+)
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_e7295bfc045a17bdff640789d2cdf4dd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_e7295bfc045a17bdff640789d2cdf4dd.sql
new file mode 100644
index 00000000..d0819998
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_e7295bfc045a17bdff640789d2cdf4dd.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_perp_previous_order_expired_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PreviousOrderExpired'
+)
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0473f5e4efa8c059d6f55fff4bb9e40b.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0473f5e4efa8c059d6f55fff4bb9e40b.sql
new file mode 100644
index 00000000..2b6075f2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0473f5e4efa8c059d6f55fff4bb9e40b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_interest_charged_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/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_28a03b6e7d1423026833804c01edf40a.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_28a03b6e7d1423026833804c01edf40a.sql
new file mode 100644
index 00000000..33e72416
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_28a03b6e7d1423026833804c01edf40a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_pnl_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_31170cd30bf38d63d5769ea55dd61720.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_31170cd30bf38d63d5769ea55dd61720.sql
new file mode 100644
index 00000000..d33171bd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_31170cd30bf38d63d5769ea55dd61720.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_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 position_size >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_314c711b09a188d2044ff89bdb16095c.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_314c711b09a188d2044ff89bdb16095c.sql
new file mode 100644
index 00000000..619c1efe
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_314c711b09a188d2044ff89bdb16095c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_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_liquidated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_45d47189ca6e21d0160216f939d4e7f8.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_45d47189ca6e21d0160216f939d4e7f8.sql
new file mode 100644
index 00000000..535b7153
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_45d47189ca6e21d0160216f939d4e7f8.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_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_oi_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_493d704d8c878c5ba21c6d3ee7067c6f.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_493d704d8c878c5ba21c6d3ee7067c6f.sql
new file mode 100644
index 00000000..f8056114
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_493d704d8c878c5ba21c6d3ee7067c6f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_4d54c441808b4a16bff94148254d77da.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_4d54c441808b4a16bff94148254d77da.sql
new file mode 100644
index 00000000..58471a82
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_4d54c441808b4a16bff94148254d77da.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_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 referral_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_6d5193e03e7c13e392a6798ee0aebb85.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_6d5193e03e7c13e392a6798ee0aebb85.sql
new file mode 100644
index 00000000..f7d3543c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_6d5193e03e7c13e392a6798ee0aebb85.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_85aecce2a93103dd8841480d79e73dd1.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_85aecce2a93103dd8841480d79e73dd1.sql
new file mode 100644
index 00000000..0d3543c4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_85aecce2a93103dd8841480d79e73dd1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_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 prev_size >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_85b220e94248ca2293e0c5eb6c638ad7.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_85b220e94248ca2293e0c5eb6c638ad7.sql
new file mode 100644
index 00000000..eefaac70
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_85b220e94248ca2293e0c5eb6c638ad7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_previous_order_expired_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_86abe1e53fb8472cf6a04ac6ff41b9db.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_86abe1e53fb8472cf6a04ac6ff41b9db.sql
new file mode 100644
index 00000000..e93882d5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_86abe1e53fb8472cf6a04ac6ff41b9db.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_orders_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_8e195c4169f5ac52ac6241ba95f939ce.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8e195c4169f5ac52ac6241ba95f939ce.sql
new file mode 100644
index 00000000..c8dcc637
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8e195c4169f5ac52ac6241ba95f939ce.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_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_balance >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_974e37f3348ad7524936397a15395179.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_974e37f3348ad7524936397a15395179.sql
new file mode 100644
index 00000000..232f4bd0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_974e37f3348ad7524936397a15395179.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_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/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_9dad67003da2d3db2675c0acf655de0a.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_9dad67003da2d3db2675c0acf655de0a.sql
new file mode 100644
index 00000000..ef2216e1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_9dad67003da2d3db2675c0acf655de0a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_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 exchange_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a9739115038ec47dc51f8c2182e91a10.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a9739115038ec47dc51f8c2182e91a10.sql
new file mode 100644
index 00000000..ac9dcf8b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a9739115038ec47dc51f8c2182e91a10.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_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 short_oi >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_acdb60bebd4cc38d26603b2d43d9e67c.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_acdb60bebd4cc38d26603b2d43d9e67c.sql
new file mode 100644
index 00000000..6c8c8e7f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_acdb60bebd4cc38d26603b2d43d9e67c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_previous_order_expired_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/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ade6158a28497594fb71a6516eb57205.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ade6158a28497594fb71a6516eb57205.sql
new file mode 100644
index 00000000..1aee95a0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ade6158a28497594fb71a6516eb57205.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_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 long_oi >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae86da3c3a2f8ef9241ca542ed9cfd7a.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae86da3c3a2f8ef9241ca542ed9cfd7a.sql
new file mode 100644
index 00000000..c8e360b0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae86da3c3a2f8ef9241ca542ed9cfd7a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_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 fill_price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_bf31e61faeb932d909281f56f6bab77b.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_bf31e61faeb932d909281f56f6bab77b.sql
new file mode 100644
index 00000000..254a0c98
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_bf31e61faeb932d909281f56f6bab77b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_c52f4d44cbcd1c969ca006658f4bb47d.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_c52f4d44cbcd1c969ca006658f4bb47d.sql
new file mode 100644
index 00000000..6de85af7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_c52f4d44cbcd1c969ca006658f4bb47d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_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 lp_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ccb1ff266b40640634f53306a6967817.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ccb1ff266b40640634f53306a6967817.sql
new file mode 100644
index 00000000..95d57f5c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ccb1ff266b40640634f53306a6967817.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_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 total_balance >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_def7ec9d6a2fb5f42cf1cb7d3295ff5f.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_def7ec9d6a2fb5f42cf1cb7d3295ff5f.sql
new file mode 100644
index 00000000..20619c23
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_def7ec9d6a2fb5f42cf1cb7d3295ff5f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_modified_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5f6c27c1202b78fd10531729f5b3bb3.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5f6c27c1202b78fd10531729f5b3bb3.sql
new file mode 100644
index 00000000..8dd91ea1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5f6c27c1202b78fd10531729f5b3bb3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_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 total_oi_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ea02be054480a78acfcc20999decb73e.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ea02be054480a78acfcc20999decb73e.sql
new file mode 100644
index 00000000..b0af861c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ea02be054480a78acfcc20999decb73e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_interest_charged_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 interest >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_eb2bcad6479b2a3bbdf15cf74dfd1e31.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_eb2bcad6479b2a3bbdf15cf74dfd1e31.sql
new file mode 100644
index 00000000..6c8c6d54
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_eb2bcad6479b2a3bbdf15cf74dfd1e31.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_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 total_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_eeaca53326292cee7049bb0a87db4e7e.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_eeaca53326292cee7049bb0a87db4e7e.sql
new file mode 100644
index 00000000..6785ff96
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_eeaca53326292cee7049bb0a87db4e7e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_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 settlement_reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_f5642b27b5e66beab406a8db98b375b9.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_f5642b27b5e66beab406a8db98b375b9.sql
new file mode 100644
index 00000000..3af94681
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_f5642b27b5e66beab406a8db98b375b9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_account_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 total_reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff24f6dbc5ef0b130e32acd6cbba2e0f.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff24f6dbc5ef0b130e32acd6cbba2e0f.sql
new file mode 100644
index 00000000..b12c88de
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff24f6dbc5ef0b130e32acd6cbba2e0f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_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/perp/schema.yml/not_null_fct_perp_account_acti_28f2a1ae63ad72f73c4ca118046fee63.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_28f2a1ae63ad72f73c4ca118046fee63.sql
new file mode 100644
index 00000000..24a2d848
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_28f2a1ae63ad72f73c4ca118046fee63.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select new_accounts_monthly
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_account_activity_arbitrum_mainnet"
+where new_accounts_monthly is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_a22da022ec838eaffe40796ab98fe5ec.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_a22da022ec838eaffe40796ab98fe5ec.sql
new file mode 100644
index 00000000..1cfdf5a5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_a22da022ec838eaffe40796ab98fe5ec.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select new_accounts_daily
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_account_activity_arbitrum_mainnet"
+where new_accounts_daily is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_dau.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_dau.sql
new file mode 100644
index 00000000..7bfad862
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_dau.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select dau
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_account_activity_arbitrum_mainnet"
+where dau is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_mau.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_mau.sql
new file mode 100644
index 00000000..a0f6e875
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_mau.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select mau
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_account_activity_arbitrum_mainnet"
+where mau is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..447e9424
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_account_activity_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_created_ts.sql
new file mode 100644
index 00000000..030440cc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_accounts_arbitrum_mainnet"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..edc7fdbb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_accounts_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_owner.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_owner.sql
new file mode 100644
index 00000000..61d5ab39
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_accounts_arbitrum_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_0d3fc38ebce44f45342793c69d024c97.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_0d3fc38ebce44f45342793c69d024c97.sql
new file mode 100644
index 00000000..07603348
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_0d3fc38ebce44f45342793c69d024c97.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_balance_usd
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where total_balance_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2659b8f281bdb8b2baa7e06888aab6b1.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2659b8f281bdb8b2baa7e06888aab6b1.sql
new file mode 100644
index 00000000..eaab9e05
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2659b8f281bdb8b2baa7e06888aab6b1.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where collateral_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2e31633671d240b7fa0b5a5e4272b564.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2e31633671d240b7fa0b5a5e4272b564.sql
new file mode 100644
index 00000000..55fb16cf
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2e31633671d240b7fa0b5a5e4272b564.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delta_usd
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where amount_delta_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_5d93586de15c2be8a9c64b740425cde2.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_5d93586de15c2be8a9c64b740425cde2.sql
new file mode 100644
index 00000000..c24a4e1d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_5d93586de15c2be8a9c64b740425cde2.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_balance_usd
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where account_balance_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_81caaa1d9a5bdbffc95ea5e40ddeebaa.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_81caaa1d9a5bdbffc95ea5e40ddeebaa.sql
new file mode 100644
index 00000000..4abd4c48
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_81caaa1d9a5bdbffc95ea5e40ddeebaa.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_token_address
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where synth_token_address is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_91f013c3b30718cc38c6120b6b6eacea.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_91f013c3b30718cc38c6120b6b6eacea.sql
new file mode 100644
index 00000000..545271d4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_91f013c3b30718cc38c6120b6b6eacea.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_type
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where event_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_9a5638dea923d62f0be19b6b9497129c.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_9a5638dea923d62f0be19b6b9497129c.sql
new file mode 100644
index 00000000..21798056
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_9a5638dea923d62f0be19b6b9497129c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_balance
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where account_balance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_9d65d8be427de04e4450a533201143a3.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_9d65d8be427de04e4450a533201143a3.sql
new file mode 100644
index 00000000..0b76589c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_9d65d8be427de04e4450a533201143a3.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delta
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where amount_delta is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_a29a814da28132416635cf6ffb971a93.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_a29a814da28132416635cf6ffb971a93.sql
new file mode 100644
index 00000000..ebdc8438
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_a29a814da28132416635cf6ffb971a93.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_balance
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where total_balance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_c0209e6eca44584838fca7c74d447ed9.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_c0209e6eca44584838fca7c74d447ed9.sql
new file mode 100644
index 00000000..26d67481
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_c0209e6eca44584838fca7c74d447ed9.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_cc760178e755c795e91b3423c1d7a4a7.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_cc760178e755c795e91b3423c1d7a4a7.sql
new file mode 100644
index 00000000..ce88d380
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_cc760178e755c795e91b3423c1d7a4a7.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_symbol
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where synth_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..8175e98e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_balances_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_34c6e8413702c7aea6b1c479eb229779.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_34c6e8413702c7aea6b1c479eb229779.sql
new file mode 100644
index 00000000..77c89930
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_34c6e8413702c7aea6b1c479eb229779.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_modified_arbitrum_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_49aedeabb7047b87229b60095809171b.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_49aedeabb7047b87229b60095809171b.sql
new file mode 100644
index 00000000..002dd96a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_49aedeabb7047b87229b60095809171b.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_modified_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_4c57a6b60ac61d99845385b58a05d583.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_4c57a6b60ac61d99845385b58a05d583.sql
new file mode 100644
index 00000000..3e3b2521
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_4c57a6b60ac61d99845385b58a05d583.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_modified_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_85f4340bea413ccc136adc9cf5e4b37c.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_85f4340bea413ccc136adc9cf5e4b37c.sql
new file mode 100644
index 00000000..30927a23
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_85f4340bea413ccc136adc9cf5e4b37c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_modified_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_b8471e720904f8df062e9f10dc9e00fb.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_b8471e720904f8df062e9f10dc9e00fb.sql
new file mode 100644
index 00000000..86218c64
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_b8471e720904f8df062e9f10dc9e00fb.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_modified_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..1d707795
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_modified_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..a54b59c6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_modified_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..0ce9f590
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_modified_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_0a6d235a7c819de31ab18fb62294e516.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_0a6d235a7c819de31ab18fb62294e516.sql
new file mode 100644
index 00000000..daa2321d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_0a6d235a7c819de31ab18fb62294e516.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_interest_charged_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_717f5aaea0a5d2246ddb5a35c3fbb300.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_717f5aaea0a5d2246ddb5a35c3fbb300.sql
new file mode 100644
index 00000000..5087f727
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_717f5aaea0a5d2246ddb5a35c3fbb300.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_interest_charged_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_c276a7e4ca2d382d4ab76f03588816f8.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_c276a7e4ca2d382d4ab76f03588816f8.sql
new file mode 100644
index 00000000..87019d8c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_c276a7e4ca2d382d4ab76f03588816f8.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_interest_charged_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..ef249700
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_interest_charged_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..fcbb0da3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_interest_charged_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..5f8847b2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_interest_charged_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..e37b28f7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_interest_charged_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_interest.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_interest.sql
new file mode 100644
index 00000000..69cf59f9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_interest.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_interest_charged_arbitrum_mainnet"
+where interest is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..393c0253
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_account_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_total_reward.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_total_reward.sql
new file mode 100644
index 00000000..36718fbe
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_total_reward.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_reward
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_account_arbitrum_mainnet"
+where total_reward is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..c128e5ee
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_account_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..00b29b53
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..db71c69b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..466d4ac3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..c4fa0dc3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_market_symbol.sql
new file mode 100644
index 00000000..08b296b8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_position_size.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_position_size.sql
new file mode 100644
index 00000000..eae8dffc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_position_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select position_size
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_mainnet"
+where position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..f93f28c6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_c44cf46be0017a43dad18328907621a0.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_c44cf46be0017a43dad18328907621a0.sql
new file mode 100644
index 00000000..db6f381b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_c44cf46be0017a43dad18328907621a0.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_liquidated
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_mainnet"
+where amount_liquidated is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_fce69fbfb7d0fa3cea81f66025278631.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_fce69fbfb7d0fa3cea81f66025278631.sql
new file mode 100644
index 00000000..a93ef6f7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_fce69fbfb7d0fa3cea81f66025278631.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_7410608d1a48d766fd36392a82d58823.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_7410608d1a48d766fd36392a82d58823.sql
new file mode 100644
index 00000000..5ba7a8fe
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_7410608d1a48d766fd36392a82d58823.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_ab2ff9cd5351a0fdff30c7f236999b13.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_ab2ff9cd5351a0fdff30c7f236999b13.sql
new file mode 100644
index 00000000..a06a8b68
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_ab2ff9cd5351a0fdff30c7f236999b13.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_rate_apr
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where funding_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_db7b704adef0c78313d1eda27f65442c.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_db7b704adef0c78313d1eda27f65442c.sql
new file mode 100644
index 00000000..c9f4e9b3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_db7b704adef0c78313d1eda27f65442c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select short_rate_apr
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where short_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_e78054756e9523d86668f78f1329d30b.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_e78054756e9523d86668f78f1329d30b.sql
new file mode 100644
index 00000000..116e97be
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_e78054756e9523d86668f78f1329d30b.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_velocity
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where funding_velocity is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..7e2251ef
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate.sql
new file mode 100644
index 00000000..4e4ec56f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_rate
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where funding_rate is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..70c9f29e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_interest_rate.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_interest_rate.sql
new file mode 100644
index 00000000..2b7dc00e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_interest_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_long_oi.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_long_oi.sql
new file mode 100644
index 00000000..c1f6e88e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_long_oi.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select long_oi
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where long_oi is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_long_rate_apr.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_long_rate_apr.sql
new file mode 100644
index 00000000..58b12161
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_long_rate_apr.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select long_rate_apr
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where long_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..a4b7003f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_oi_usd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_oi_usd.sql
new file mode 100644
index 00000000..9aba745c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_oi_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_oi_usd
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where market_oi_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_symbol.sql
new file mode 100644
index 00000000..af33d97b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_prev_size.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_prev_size.sql
new file mode 100644
index 00000000..c772cb59
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_prev_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select prev_size
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where prev_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_price.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_price.sql
new file mode 100644
index 00000000..de9121d4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_short_oi.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_short_oi.sql
new file mode 100644
index 00000000..ad457293
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_short_oi.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select short_oi
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where short_oi is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_size.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_size.sql
new file mode 100644
index 00000000..6b6b0ef0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select size
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_size_delta.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_size_delta.sql
new file mode 100644
index 00000000..2e7da2fe
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_size_delta.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select size_delta
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where size_delta is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_skew.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_skew.sql
new file mode 100644
index 00000000..50a2d225
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_skew.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select skew
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where skew is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_total_oi_usd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_total_oi_usd.sql
new file mode 100644
index 00000000..d9a9a401
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_total_oi_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_oi_usd
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where total_oi_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..16c2f144
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..2b6cfeee
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_markets_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_created_ts.sql
new file mode 100644
index 00000000..1669f458
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_markets_arbitrum_mainnet"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..1f328f12
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_markets_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_market_name.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_market_name.sql
new file mode 100644
index 00000000..427cff64
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_market_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_name
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_markets_arbitrum_mainnet"
+where market_name is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_market_symbol.sql
new file mode 100644
index 00000000..8cf89781
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_markets_arbitrum_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..9eea20bf
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_orders_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..07f4aee5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_orders_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..692f9acc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_orders_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..745a6fec
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_orders_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..c2b52b4f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_orders_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_market_symbol.sql
new file mode 100644
index 00000000..d57dde01
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_orders_arbitrum_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..d9204f14
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_orders_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..12f98794
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_orders_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..7ec0a912
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_pnl_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..681df5a8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_pnl_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_172ee1d1fca0cbb7cfdc29c1401173f4.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_172ee1d1fca0cbb7cfdc29c1401173f4.sql
new file mode 100644
index 00000000..45848b72
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_172ee1d1fca0cbb7cfdc29c1401173f4.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_previous_order_expired_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_215a6e18c678a61ff896059e9fc33b93.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_215a6e18c678a61ff896059e9fc33b93.sql
new file mode 100644
index 00000000..7f3de90f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_215a6e18c678a61ff896059e9fc33b93.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_previous_order_expired_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_72718a9633401010962aea9aaa994c5e.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_72718a9633401010962aea9aaa994c5e.sql
new file mode 100644
index 00000000..d2c3876a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_72718a9633401010962aea9aaa994c5e.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_previous_order_expired_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_736f7d9b4b09a7b56cd7e9fd84b59a90.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_736f7d9b4b09a7b56cd7e9fd84b59a90.sql
new file mode 100644
index 00000000..6f91a7cb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_736f7d9b4b09a7b56cd7e9fd84b59a90.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_previous_order_expired_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_802b9579ac446c1c5f6cd420c4a1f314.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_802b9579ac446c1c5f6cd420c4a1f314.sql
new file mode 100644
index 00000000..9d4702b9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_802b9579ac446c1c5f6cd420c4a1f314.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_previous_order_expired_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_8ccb15ec611dd24ed52c20b662dc4d89.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_8ccb15ec611dd24ed52c20b662dc4d89.sql
new file mode 100644
index 00000000..65c051fa
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_8ccb15ec611dd24ed52c20b662dc4d89.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_previous_order_expired_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_8ef90341edd1ec80cdf4ec8ed4f6d5c9.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_8ef90341edd1ec80cdf4ec8ed4f6d5c9.sql
new file mode 100644
index 00000000..047f8416
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_8ef90341edd1ec80cdf4ec8ed4f6d5c9.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_previous_order_expired_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..aec5fc83
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_previous_order_expired_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbit_b2414cd7eaea142489e90846a8936fe6.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbit_b2414cd7eaea142489e90846a8936fe6.sql
new file mode 100644
index 00000000..f15bfa10
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbit_b2414cd7eaea142489e90846a8936fe6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select notional_position_size
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where notional_position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..a0e8ba6b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_accrued_funding.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_accrued_funding.sql
new file mode 100644
index 00000000..998d39e7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_accrued_funding.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select accrued_funding
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where accrued_funding is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..2561b7e3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_collected_fees.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_collected_fees.sql
new file mode 100644
index 00000000..13b3d40f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..d910c9c9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_exchange_fees.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_exchange_fees.sql
new file mode 100644
index 00000000..26b0f478
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_exchange_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select exchange_fees
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where exchange_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_fill_price.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_fill_price.sql
new file mode 100644
index 00000000..608f3b59
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_fill_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fill_price
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where fill_price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..abcb1264
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_lp_fees.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_lp_fees.sql
new file mode 100644
index 00000000..e8dc30b5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_lp_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select lp_fees
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where lp_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..97dc99bd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_market_symbol.sql
new file mode 100644
index 00000000..aa6c3aaa
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_notional_trade_size.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_notional_trade_size.sql
new file mode 100644
index 00000000..f9912d18
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_notional_trade_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select notional_trade_size
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where notional_trade_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_pnl.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_pnl.sql
new file mode 100644
index 00000000..1b580435
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pnl
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_position_size.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_position_size.sql
new file mode 100644
index 00000000..d9266301
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_position_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select position_size
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_referral_fees.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_referral_fees.sql
new file mode 100644
index 00000000..09c5f23f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_referral_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referral_fees
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where referral_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_settlement_reward.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_settlement_reward.sql
new file mode 100644
index 00000000..c35046f8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_settlement_reward.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settlement_reward
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where settlement_reward is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_settler.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_settler.sql
new file mode 100644
index 00000000..ed6324da
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_settler.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settler
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where settler is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_total_fees.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_total_fees.sql
new file mode 100644
index 00000000..40d60155
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_total_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_fees
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where total_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_tracking_code.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_tracking_code.sql
new file mode 100644
index 00000000..56e586f6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_tracking_code.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tracking_code
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where tracking_code is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_trade_size.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_trade_size.sql
new file mode 100644
index 00000000..1c9d88da
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_trade_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select trade_size
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where trade_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..f796d72f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..73e61541
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_accounts_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_accounts_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..d0514348
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_accounts_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_accounts_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_collateral_modified_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_collateral_modified_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..6041ba5d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_collateral_modified_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_collateral_modified_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..fd3a2342
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_interest_charged_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_liq_position_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_liq_position_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..4a6bf180
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_liq_position_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_market_history_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_market_history_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..21886c12
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_market_history_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_orders_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_orders_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..2e2241da
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_orders_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_orders_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_previous_order_expired_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_previous_order_expired_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..626eac1e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_previous_order_expired_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_previous_order_expired_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_trades_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_trades_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..816f6274
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_trades_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_account_stats_daily_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_account_stats_daily_arbitrum_mainnet.sql
new file mode 100644
index 00000000..e420b251
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_account_stats_daily_arbitrum_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_arbitrum_mainnet"."fct_perp_account_stats_hourly_arbitrum_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/arbitrum/mainnet/perp_stats/fct_perp_account_stats_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_account_stats_hourly_arbitrum_mainnet.sql
new file mode 100644
index 00000000..642d049f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_account_stats_hourly_arbitrum_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_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+),
+
+liq as (
+ select
+ ts,
+ account_id,
+ amount_liquidated,
+ 1 as liquidations
+ from
+ "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_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/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_daily_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_daily_arbitrum_mainnet.sql
new file mode 100644
index 00000000..7f286d11
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_daily_arbitrum_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_arbitrum_mainnet"."fct_perp_keeper_stats_hourly_arbitrum_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/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_mainnet.sql
new file mode 100644
index 00000000..79e8fb5a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_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_arbitrum_mainnet"."fct_perp_trades_arbitrum_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/arbitrum/mainnet/perp_stats/fct_perp_market_stats_daily_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_market_stats_daily_arbitrum_mainnet.sql
new file mode 100644
index 00000000..d4de5eb9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_market_stats_daily_arbitrum_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_arbitrum_mainnet"."fct_perp_market_stats_hourly_arbitrum_mainnet"
+group by
+ DATE_TRUNC(
+ 'day',
+ ts
+ ),
+ market_symbol
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_market_stats_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_market_stats_hourly_arbitrum_mainnet.sql
new file mode 100644
index 00000000..397fc6c5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_market_stats_hourly_arbitrum_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_arbitrum_mainnet"."fct_perp_trades_arbitrum_mainnet"
+),
+
+liq as (
+ select
+ ts,
+ market_symbol,
+ amount_liquidated,
+ 1 as liquidations
+ from
+ "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_position_arbitrum_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/arbitrum/mainnet/perp_stats/fct_perp_stats_daily_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_stats_daily_arbitrum_mainnet.sql
new file mode 100644
index 00000000..da532e45
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_stats_daily_arbitrum_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_arbitrum_mainnet"."fct_perp_stats_hourly_arbitrum_mainnet"
+group by
+ DATE_TRUNC(
+ 'day',
+ ts
+ )
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_stats_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_stats_hourly_arbitrum_mainnet.sql
new file mode 100644
index 00000000..69a7a51e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_stats_hourly_arbitrum_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_arbitrum_mainnet"."fct_perp_market_stats_hourly_arbitrum_mainnet"
+),
+
+liq as (
+ select
+ ts,
+ total_reward,
+ 1 as liquidated_accounts
+ from
+ "analytics"."prod_arbitrum_mainnet"."fct_perp_liq_account_arbitrum_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/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_daily_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_daily_arbitrum_mainnet.sql
new file mode 100644
index 00000000..559810f4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_daily_arbitrum_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_arbitrum_mainnet"."fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_mainnet"."fct_perp_trades_arbitrum_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/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_mainnet.sql
new file mode 100644
index 00000000..c187ea08
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_mainnet"."fct_perp_trades_arbitrum_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_arbitrum_mainnet"."fct_perp_trades_arbitrum_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/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..6f21ebf6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql
@@ -0,0 +1,44 @@
+with all_prices as (
+ select
+ ts,
+ null as market_address,
+ market_symbol,
+ price
+ from
+ "analytics"."prod_arbitrum_mainnet"."fct_perp_market_history_arbitrum_mainnet"
+ union all
+ 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_activity_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_activity_arbitrum_sepolia.sql
new file mode 100644
index 00000000..2aa04031
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_activity_arbitrum_sepolia.sql
@@ -0,0 +1,39 @@
+
+
+with delegated as (
+ select distinct
+ block_timestamp,
+ account_id,
+ 'Delegated' as account_action
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+),
+
+withdrawn as (
+ select
+ block_timestamp,
+ account_id,
+ 'Withdrawn' as account_action
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+),
+
+claimed as (
+ select
+ block_timestamp,
+ account_id,
+ 'Claimed' as account_action
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+),
+
+combined as (
+ select * from delegated
+ union all
+ select * from withdrawn
+ union all
+ select * from claimed
+)
+
+select
+ block_timestamp,
+ account_action,
+ account_id
+from combined
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql
new file mode 100644
index 00000000..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_active_stakers_daily_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_active_stakers_daily_arbitrum_sepolia.sql
new file mode 100644
index 00000000..e9a04d80
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_active_stakers_daily_arbitrum_sepolia.sql
@@ -0,0 +1,49 @@
+
+
+with delegation_updated as (
+ select
+ block_timestamp,
+ account_id,
+ amount
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+),
+
+dim as (
+ select
+ d.block_date,
+ accounts_unique.account_id
+ from (
+ select
+ generate_series(
+ date_trunc('day', date('2023-12-15')),
+ date_trunc('day', current_date), '1 day'::interval
+ ) as block_date
+ ) as d
+ cross join (
+ select distinct account_id from delegation_updated
+ ) as accounts_unique
+),
+
+stakers as (
+ select
+ dim.block_date,
+ dim.account_id,
+ case
+ when coalesce(last(delegation_updated.amount) over (
+ partition by dim.account_id
+ order by dim.block_date
+ rows between unbounded preceding and current row
+ ), 0) = 0 then 0
+ else 1
+ end as is_staking
+ from dim
+ left join delegation_updated on
+ dim.block_date = date(delegation_updated.block_timestamp)
+ and dim.account_id = delegation_updated.account_id
+)
+
+select
+ block_date,
+ sum(is_staking) as nof_stakers_daily
+from stakers
+group by block_date
\ 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..3c3b8493
--- /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 lower(pnl.collateral_type) = lower(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..a879c479
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql
@@ -0,0 +1,82 @@
+
+
+with dim as (
+
+ select
+ t.ts,
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol as reward_token
+ from
+ (
+ select
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ from
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+ group by
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ ) as t
+ cross join (
+ select distinct token_symbol
+ from
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+ ) as p
+ group by
+ t.ts,
+ 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 LOWER(dim.collateral_type)
+ = LOWER(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..9d4ad3f1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql
@@ -0,0 +1,190 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.min_ts)),
+ date_trunc('hour', max(t.max_ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ from
+ (
+ select
+ min(ts_start) as min_ts,
+ max(
+ ts_start + "duration" * '1 second'::INTERVAL
+ ) as max_ts
+ from
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_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
+ where
+ r."duration" > 0
+),
+
+streamed_rewards as (
+ select
+ d.ts,
+ d.pool_id,
+ d.collateral_type,
+ d.distributor,
+ d.token_symbol,
+ -- 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,
+ least(
+ d.ts + '1 hour'::INTERVAL - greatest(
+ d.ts,
+ d.ts_start
+ ),
+ least(
+ d.ts_start + d."duration" * '1 second'::INTERVAL,
+ d.ts + '1 hour'::INTERVAL
+ ) - d.ts
+ )
+ )
+ ) / 3600
+ ) * d.amount / (
+ d."duration" / 3600
+ ) as amount
+ from
+ hourly_distributions as d
+ where
+ d.distributor_index = 1
+),
+
+instant_rewards as (
+ select
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ rewards_distributed
+ where
+ "duration" = 0
+),
+
+combined as (
+ select
+ combo.ts,
+ combo.pool_id,
+ combo.collateral_type,
+ combo.distributor,
+ combo.token_symbol,
+ combo.amount,
+ p.price
+ from
+ (
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ streamed_rewards
+ union all
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ instant_rewards
+ ) as combo
+ left join "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia" as p
+ on
+ combo.token_symbol = p.market_symbol
+ and combo.ts = p.ts
+)
+
+select
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ sum(amount) as amount,
+ sum(
+ amount * price
+ ) as rewards_usd
+from
+ combined
+group by
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_accou_1eda9db9bdd8ba8a36be901f33ce470f.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_accou_1eda9db9bdd8ba8a36be901f33ce470f.sql
new file mode 100644
index 00000000..056c4509
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_accou_1eda9db9bdd8ba8a36be901f33ce470f.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ account_action as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_account_activity_arbitrum_sepolia"
+ group by account_action
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Delegated','Withdrawn','Claimed'
+)
+
+
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_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_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_d7acda87dcf2fc39c0c36609d0794bd2.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_d7acda87dcf2fc39c0c36609d0794bd2.sql
new file mode 100644
index 00000000..1dbf5120
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_d7acda87dcf2fc39c0c36609d0794bd2.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 >= 0
+)
+
+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_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_acti_1a8c6a36e4d05fdb121bfc7fcc6b8445.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_acti_1a8c6a36e4d05fdb121bfc7fcc6b8445.sql
new file mode 100644
index 00000000..af332d06
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_acti_1a8c6a36e4d05fdb121bfc7fcc6b8445.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_action
+from "analytics"."prod_arbitrum_sepolia"."fct_core_account_activity_arbitrum_sepolia"
+where account_action is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_acti_83e9ab80c3a107e08f04aec7557c320c.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_acti_83e9ab80c3a107e08f04aec7557c320c.sql
new file mode 100644
index 00000000..bf48a7c6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_acti_83e9ab80c3a107e08f04aec7557c320c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_arbitrum_sepolia"."fct_core_account_activity_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_activity_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_activity_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..0e30ffa7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_activity_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_sepolia"."fct_core_account_activity_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_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_active_stake_801011a7a2a86e6bbc236f8d80198a50.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_active_stake_801011a7a2a86e6bbc236f8d80198a50.sql
new file mode 100644
index 00000000..cafeacd1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_active_stake_801011a7a2a86e6bbc236f8d80198a50.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_date
+from "analytics"."prod_arbitrum_sepolia"."fct_core_active_stakers_daily_arbitrum_sepolia"
+where block_date 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_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_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_amount.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount.sql
new file mode 100644
index 00000000..d392d3ce
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+where amount 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_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/perp/fct_perp_account_activity_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_account_activity_arbitrum_sepolia.sql
new file mode 100644
index 00000000..a60940de
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_account_activity_arbitrum_sepolia.sql
@@ -0,0 +1,86 @@
+
+
+with active_accounts as (
+ select distinct
+ date_trunc('day', ts) as activity_date,
+ account_id
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+),
+
+date_range as (
+ select
+ generate_series(
+ date(min(activity_date)),
+ date(max(activity_date)),
+ interval '1 day'
+ )::date as activity_date
+ from active_accounts
+),
+
+active_accounts_daily as (
+ select
+ date_range.activity_date,
+ count(distinct active_accounts.account_id) as active_accounts
+ from date_range
+ left join active_accounts
+ on date_range.activity_date = active_accounts.activity_date
+ group by date_range.activity_date
+),
+
+active_accounts_monthly as (
+ select
+ date_range.activity_date,
+ count(distinct active_accounts.account_id) as active_accounts
+ from date_range
+ left join active_accounts
+ on
+ date_range.activity_date - interval '27 days'
+ <= active_accounts.activity_date
+ and date_range.activity_date >= active_accounts.activity_date
+ group by date_range.activity_date
+),
+
+new_accounts as (
+ select
+ min(activity_date) as start_date,
+ account_id
+ from active_accounts
+ group by account_id
+),
+
+new_accounts_daily as (
+ select
+ date_range.activity_date,
+ count(new_accounts.account_id) as new_accounts
+ from date_range
+ left join new_accounts
+ on date_range.activity_date = new_accounts.start_date
+ group by date_range.activity_date, new_accounts.start_date
+),
+
+new_accounts_monthly as (
+ select distinct
+ activity_date,
+ sum(new_accounts) over (
+ order by activity_date
+ range between interval '27 days' preceding and current row
+ ) as new_accounts
+ from new_accounts_daily
+)
+
+select
+ dr.activity_date as ts,
+ dau.active_accounts as dau,
+ mau.active_accounts as mau,
+ new_accounts_daily.new_accounts as new_accounts_daily,
+ new_accounts_monthly.new_accounts as new_accounts_monthly
+from date_range as dr
+left join active_accounts_daily as dau
+ on dr.activity_date = dau.activity_date
+left join active_accounts_monthly as mau
+ on dr.activity_date = mau.activity_date
+left join new_accounts_daily
+ on dr.activity_date = new_accounts_daily.activity_date
+left join new_accounts_monthly
+ on dr.activity_date = new_accounts_monthly.activity_date
+order by ts desc
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_accounts_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_accounts_arbitrum_sepolia.sql
new file mode 100644
index 00000000..0665c6e9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_accounts_arbitrum_sepolia.sql
@@ -0,0 +1,14 @@
+with arbitrum as (
+ select
+ block_timestamp as created_ts,
+ "owner",
+ CAST(
+ account_id as VARCHAR
+ ) as id
+ from
+ "analytics"."prod_raw_arbitrum_sepolia"."perp_account_created_arbitrum_sepolia"
+)
+
+select *
+from
+ arbitrum
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_collateral_balances_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_collateral_balances_arbitrum_sepolia.sql
new file mode 100644
index 00000000..d0281262
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_collateral_balances_arbitrum_sepolia.sql
@@ -0,0 +1,131 @@
+with synths as (
+ select
+ synth_market_id as collateral_id,
+ synth_token_address
+ from
+ "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+),
+
+transfers as (
+ select
+ cm.block_number,
+ cm.block_timestamp as ts,
+ cm.transaction_hash,
+ cm.collateral_id,
+ synths.synth_token_address,
+ CAST(cm.account_id as text) as account_id,
+
+ cm.amount_delta / 1e18
+ as amount_delta
+ from
+ "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia" as cm
+ inner join synths
+ on cm.collateral_id = synths.collateral_id
+),
+
+liq_tx as (
+ select distinct
+ transaction_hash,
+ CAST(account_id as text) as account_id
+ from
+ "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_sepolia"
+),
+
+distributors as (
+ select
+ CAST(rd.distributor_address as text) as distributor_address,
+ CAST(rd.token_symbol as text) as token_symbol,
+ rd.synth_token_address,
+ synths.collateral_id
+ from
+ "analytics"."prod_seeds"."arbitrum_sepolia_reward_distributors" as rd
+ inner join synths
+ on rd.synth_token_address = synths.synth_token_address
+),
+
+liquidations as (
+ select
+ rd.block_number,
+ rd.block_timestamp as ts,
+ -rd.amount / 1e18 as amount_delta,
+ liq_tx.transaction_hash,
+ rd.collateral_type,
+ distributors.token_symbol,
+ distributors.synth_token_address,
+ CAST(liq_tx.account_id as text) as account_id,
+ distributors.collateral_id
+ from
+ "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" as rd
+ inner join liq_tx
+ on rd.transaction_hash = liq_tx.transaction_hash
+ inner join distributors
+ on rd.distributor = distributors.distributor_address
+),
+
+net_transfers as (
+ select
+ events.ts,
+ events.transaction_hash,
+ events.event_type,
+ events.collateral_id,
+ events.synth_token_address,
+ synths.synth_symbol,
+ events.account_id,
+ prices.price,
+ events.amount_delta,
+ SUM(events.amount_delta) over (
+ partition by events.account_id, events.collateral_id
+ order by events.ts
+ ) as account_balance,
+ SUM(events.amount_delta) over (
+ partition by events.collateral_id
+ order by events.ts
+ ) as total_balance
+ from (
+ select
+ transfers.ts,
+ transfers.transaction_hash,
+ transfers.collateral_id,
+ transfers.synth_token_address,
+ transfers.account_id,
+ transfers.amount_delta,
+ 'transfer' as event_type
+ from
+ transfers
+ union all
+ select
+ liquidations.ts,
+ liquidations.transaction_hash,
+ liquidations.collateral_id,
+ liquidations.synth_token_address,
+ liquidations.account_id,
+ liquidations.amount_delta,
+ 'liquidation' as event_type
+ from
+ liquidations
+ ) as events
+ inner join "analytics"."prod_seeds"."arbitrum_sepolia_synths" as synths
+ on events.collateral_id = synths.synth_market_id
+ left join "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia" as prices
+ on
+ synths.token_symbol = prices.market_symbol
+ and DATE_TRUNC('hour', events.ts) = prices.ts
+)
+
+select
+ net_transfers.ts,
+ net_transfers.transaction_hash,
+ net_transfers.event_type,
+ net_transfers.collateral_id,
+ net_transfers.synth_token_address,
+ net_transfers.synth_symbol,
+ net_transfers.account_id,
+ net_transfers.price,
+ net_transfers.amount_delta,
+ net_transfers.amount_delta * net_transfers.price as amount_delta_usd,
+ net_transfers.account_balance,
+ net_transfers.account_balance * net_transfers.price as account_balance_usd,
+ net_transfers.total_balance,
+ net_transfers.total_balance * net_transfers.price as total_balance_usd
+from
+ net_transfers
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_collateral_modified_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_collateral_modified_arbitrum_sepolia.sql
new file mode 100644
index 00000000..5d7011c4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_collateral_modified_arbitrum_sepolia.sql
@@ -0,0 +1,20 @@
+select
+ cm.id,
+ cm.block_timestamp,
+ cm.account_id,
+ cm.block_number,
+ cm.transaction_hash,
+ cm.contract,
+ cm.event_name,
+ synths.synth_symbol,
+ cm.collateral_id as synth_market_id,
+ synths.synth_token_address,
+ cm.sender,
+
+ cm.amount_delta / 1e18
+ as amount_delta
+from
+ "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia"
+ as cm
+inner join "analytics"."prod_seeds"."arbitrum_sepolia_synths" as synths
+ on cm.collateral_id = synths.synth_market_id
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_interest_charged_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_interest_charged_arbitrum_sepolia.sql
new file mode 100644
index 00000000..1c6476e2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_interest_charged_arbitrum_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_arbitrum_sepolia"."perp_interest_charged_arbitrum_sepolia"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_liq_account_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_liq_account_arbitrum_sepolia.sql
new file mode 100644
index 00000000..4c2a54ef
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_liq_account_arbitrum_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_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_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/arbitrum/sepolia/perp/fct_perp_liq_position_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_liq_position_arbitrum_sepolia.sql
new file mode 100644
index 00000000..26ce60be
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_liq_position_arbitrum_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_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+),
+
+markets as (
+ select
+ id,
+ market_symbol
+ from
+ "analytics"."prod_arbitrum_sepolia"."fct_perp_markets_arbitrum_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/arbitrum/sepolia/perp/fct_perp_market_history_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_market_history_arbitrum_sepolia.sql
new file mode 100644
index 00000000..a6e9a865
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_market_history_arbitrum_sepolia.sql
@@ -0,0 +1,132 @@
+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,
+ LAG(
+ size / 1e18
+, 1, 0) over (
+ partition by m.market_symbol
+ order by
+ mu.block_timestamp
+ ) as prev_size
+ from
+ "analytics"."prod_raw_arbitrum_sepolia"."perp_market_updated_arbitrum_sepolia" as mu
+ left join "analytics"."prod_arbitrum_sepolia"."fct_perp_markets_arbitrum_sepolia" as m
+ on mu.market_id = m.id
+),
+
+oi as (
+ select
+ id,
+ ts,
+ size * price as market_oi_usd,
+ LAG(
+ size * price,
+ 1,
+ 0
+ ) over (
+ partition by market_symbol
+ order by
+ ts asc
+ ) as prev_market_oi_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
+),
+
+total_oi as (
+ select
+ id,
+ SUM(
+ market_oi_usd - prev_market_oi_usd
+ ) over (
+ order by
+ ts asc
+ ) as total_oi_usd
+ from
+ oi
+)
+
+select
+ base.*,
+ ROUND(
+ oi.market_oi_usd,
+ 2
+ ) as market_oi_usd,
+ ROUND(
+ total_oi.total_oi_usd,
+ 2
+ ) as total_oi_usd,
+ ROUND(
+ oi.long_oi,
+ 2
+ ) as long_oi,
+ ROUND(
+ oi.short_oi,
+ 2
+ ) as short_oi,
+ oi.long_oi_pct,
+ oi.short_oi_pct
+from
+ base
+inner join oi
+ on base.id = oi.id
+inner join total_oi
+ on base.id = total_oi.id
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_markets_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_markets_arbitrum_sepolia.sql
new file mode 100644
index 00000000..72eada1d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_markets_arbitrum_sepolia.sql
@@ -0,0 +1,14 @@
+with arbitrum as (
+ select
+ perps_market_id as id,
+ block_timestamp as created_ts,
+ block_number,
+ market_symbol,
+ market_name
+ from
+ "analytics"."prod_raw_arbitrum_sepolia"."perp_market_created_arbitrum_sepolia"
+)
+
+select *
+from
+ arbitrum
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_orders_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_orders_arbitrum_sepolia.sql
new file mode 100644
index 00000000..e0eb08ee
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_orders_arbitrum_sepolia.sql
@@ -0,0 +1,46 @@
+with arbitrum 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_arbitrum_sepolia"."perp_order_committed_arbitrum_sepolia"
+ as oc
+ left join "analytics"."prod_arbitrum_sepolia"."fct_perp_markets_arbitrum_sepolia" as markets
+ on oc.market_id = markets.id
+)
+
+select *
+from
+ arbitrum
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_pnl_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_pnl_arbitrum_sepolia.sql
new file mode 100644
index 00000000..103de246
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_pnl_arbitrum_sepolia.sql
@@ -0,0 +1,18 @@
+
+with debt as (
+ select
+ ts,
+ 2 as market_id,
+ debt * -1 as market_pnl
+ from
+ "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_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/arbitrum/sepolia/perp/fct_perp_previous_order_expired_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_previous_order_expired_arbitrum_sepolia.sql
new file mode 100644
index 00000000..6cb4f795
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"."perp_previous_order_expired_arbitrum_sepolia"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_trades_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_trades_arbitrum_sepolia.sql
new file mode 100644
index 00000000..6654e70b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_trades_arbitrum_sepolia.sql
@@ -0,0 +1,70 @@
+with arbitrum 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_arbitrum_sepolia"."perp_order_settled_arbitrum_sepolia" as pos
+ left join "analytics"."prod_arbitrum_sepolia"."fct_perp_markets_arbitrum_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
+ arbitrum
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_f97a5d6ab4bb5d45282eedacc1657393.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_f97a5d6ab4bb5d45282eedacc1657393.sql
new file mode 100644
index 00000000..3af08081
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_f97a5d6ab4bb5d45282eedacc1657393.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_perp_collateral_modified_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'CollateralModified'
+)
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_37ce561b1ba2a4a7a928bb7227e23c66.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_37ce561b1ba2a4a7a928bb7227e23c66.sql
new file mode 100644
index 00000000..c5420a22
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_37ce561b1ba2a4a7a928bb7227e23c66.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_perp_interest_charged_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestCharged'
+)
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_2730a16dc2b62cc7a9b68ecdd9ba92a4.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_2730a16dc2b62cc7a9b68ecdd9ba92a4.sql
new file mode 100644
index 00000000..e652a059
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_2730a16dc2b62cc7a9b68ecdd9ba92a4.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_perp_previous_order_expired_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PreviousOrderExpired'
+)
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0282cd2183706900553f565b7dab07e1.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0282cd2183706900553f565b7dab07e1.sql
new file mode 100644
index 00000000..28ab1c9f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0282cd2183706900553f565b7dab07e1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_pnl_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_03102853af5eb766be3b73216c034f65.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_03102853af5eb766be3b73216c034f65.sql
new file mode 100644
index 00000000..fb6682ed
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_03102853af5eb766be3b73216c034f65.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_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 fill_price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_03c7115745637ccef76e8372c82ef99f.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_03c7115745637ccef76e8372c82ef99f.sql
new file mode 100644
index 00000000..f2b94f56
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_03c7115745637ccef76e8372c82ef99f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_09779164b98ec52fe275843f48876eb7.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_09779164b98ec52fe275843f48876eb7.sql
new file mode 100644
index 00000000..842f31af
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_09779164b98ec52fe275843f48876eb7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_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 total_balance >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0c872c0cb7b424f4d0527e3e3893cad4.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0c872c0cb7b424f4d0527e3e3893cad4.sql
new file mode 100644
index 00000000..537de5ec
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0c872c0cb7b424f4d0527e3e3893cad4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_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 referral_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0c8d554aef57f65069e51182a21e7266.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0c8d554aef57f65069e51182a21e7266.sql
new file mode 100644
index 00000000..7388214c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0c8d554aef57f65069e51182a21e7266.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_interest_charged_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/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0d7dc918864053575845b11935887ba6.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0d7dc918864053575845b11935887ba6.sql
new file mode 100644
index 00000000..c896201e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0d7dc918864053575845b11935887ba6.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_orders_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_32fc97a1cf93a1b0a6b26ff7d01b7992.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_32fc97a1cf93a1b0a6b26ff7d01b7992.sql
new file mode 100644
index 00000000..3ac9b385
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_32fc97a1cf93a1b0a6b26ff7d01b7992.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_modified_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_4665d426d61421eeedf4e7af6081cb90.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_4665d426d61421eeedf4e7af6081cb90.sql
new file mode 100644
index 00000000..e473a1bb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_4665d426d61421eeedf4e7af6081cb90.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_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_liquidated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_5b5369d059ab0c4c8a7872cf214b9aab.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_5b5369d059ab0c4c8a7872cf214b9aab.sql
new file mode 100644
index 00000000..9e7745d9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_5b5369d059ab0c4c8a7872cf214b9aab.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_interest_charged_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 interest >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_5d6cf231c7bb30c41c45b99f3f6da2a1.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_5d6cf231c7bb30c41c45b99f3f6da2a1.sql
new file mode 100644
index 00000000..04007491
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_5d6cf231c7bb30c41c45b99f3f6da2a1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_5ee0d4d2eb53d0bf8493c4e29ce499f2.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_5ee0d4d2eb53d0bf8493c4e29ce499f2.sql
new file mode 100644
index 00000000..0ea86caf
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_5ee0d4d2eb53d0bf8493c4e29ce499f2.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_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/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_631f93e827416952fc401d5a2617a70b.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_631f93e827416952fc401d5a2617a70b.sql
new file mode 100644
index 00000000..c7834939
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_631f93e827416952fc401d5a2617a70b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_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 short_oi >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_637c9336234729f2361a81f69b744ba4.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_637c9336234729f2361a81f69b744ba4.sql
new file mode 100644
index 00000000..5c177582
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_637c9336234729f2361a81f69b744ba4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_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_balance >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_6611babf7b889013ce7caa643092e72c.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_6611babf7b889013ce7caa643092e72c.sql
new file mode 100644
index 00000000..abb0d7ee
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_6611babf7b889013ce7caa643092e72c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_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 exchange_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_71c15b0e52d6cdf78db4c51f1b8a2fcb.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_71c15b0e52d6cdf78db4c51f1b8a2fcb.sql
new file mode 100644
index 00000000..b5b85fcb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_71c15b0e52d6cdf78db4c51f1b8a2fcb.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_previous_order_expired_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_8eebfb7454b8b2de313cec6e915e8d00.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8eebfb7454b8b2de313cec6e915e8d00.sql
new file mode 100644
index 00000000..9d575363
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8eebfb7454b8b2de313cec6e915e8d00.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_a366d97f6c7bf2b5acaa43bd093a347d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_a366d97f6c7bf2b5acaa43bd093a347d.sql
new file mode 100644
index 00000000..5ad6ae18
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_a366d97f6c7bf2b5acaa43bd093a347d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_account_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 total_reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bbb8a845e72ef59dc9c1552fb8ebc8d9.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bbb8a845e72ef59dc9c1552fb8ebc8d9.sql
new file mode 100644
index 00000000..5d10ed39
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bbb8a845e72ef59dc9c1552fb8ebc8d9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_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 prev_size >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c34c5714b957bba2192a57a73d8e840c.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c34c5714b957bba2192a57a73d8e840c.sql
new file mode 100644
index 00000000..d5e7380a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c34c5714b957bba2192a57a73d8e840c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_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 total_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c7fa43d05c0ddd75de5587d7ade6e098.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c7fa43d05c0ddd75de5587d7ade6e098.sql
new file mode 100644
index 00000000..b2dc95dc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c7fa43d05c0ddd75de5587d7ade6e098.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_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/perp/schema.yml/dbt_utils_accepted_range_fct_p_c999b8d3d730ce88987ca0a1c6806ba3.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c999b8d3d730ce88987ca0a1c6806ba3.sql
new file mode 100644
index 00000000..3d71919e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c999b8d3d730ce88987ca0a1c6806ba3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_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 long_oi >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d0aec6280d097eb6c6aa06414296a731.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d0aec6280d097eb6c6aa06414296a731.sql
new file mode 100644
index 00000000..c1fcbd5d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d0aec6280d097eb6c6aa06414296a731.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_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 lp_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_de100d2ce6379f4bac61e68a57576d91.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_de100d2ce6379f4bac61e68a57576d91.sql
new file mode 100644
index 00000000..1da795b8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_de100d2ce6379f4bac61e68a57576d91.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_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 position_size >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e1da16f9ddb02f52e09d77a2bb8b3127.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e1da16f9ddb02f52e09d77a2bb8b3127.sql
new file mode 100644
index 00000000..b80fdb97
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e1da16f9ddb02f52e09d77a2bb8b3127.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_previous_order_expired_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/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5bf5bfa9608daf0406cd950db863769.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5bf5bfa9608daf0406cd950db863769.sql
new file mode 100644
index 00000000..6be5c30e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5bf5bfa9608daf0406cd950db863769.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_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_oi_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f55271eda5cd0bb666f2625ecc8c950c.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f55271eda5cd0bb666f2625ecc8c950c.sql
new file mode 100644
index 00000000..829f60e4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f55271eda5cd0bb666f2625ecc8c950c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_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 settlement_reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_fcbd27d474d112de1bcefae160ee9169.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_fcbd27d474d112de1bcefae160ee9169.sql
new file mode 100644
index 00000000..72ac2fe4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_fcbd27d474d112de1bcefae160ee9169.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_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 total_oi_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_4c42bf181f5f9c255a0a6add54e20393.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_4c42bf181f5f9c255a0a6add54e20393.sql
new file mode 100644
index 00000000..af21bd7a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_4c42bf181f5f9c255a0a6add54e20393.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select new_accounts_daily
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_account_activity_arbitrum_sepolia"
+where new_accounts_daily is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_5caad5f5df5528ec6b04e4b7e1014033.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_5caad5f5df5528ec6b04e4b7e1014033.sql
new file mode 100644
index 00000000..a790eb4f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_5caad5f5df5528ec6b04e4b7e1014033.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select new_accounts_monthly
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_account_activity_arbitrum_sepolia"
+where new_accounts_monthly is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_dau.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_dau.sql
new file mode 100644
index 00000000..a06a46a3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_dau.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select dau
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_account_activity_arbitrum_sepolia"
+where dau is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_mau.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_mau.sql
new file mode 100644
index 00000000..3a37d87d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_mau.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select mau
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_account_activity_arbitrum_sepolia"
+where mau is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..5c4fcfbf
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_account_activity_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_created_ts.sql
new file mode 100644
index 00000000..aad9c50b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_accounts_arbitrum_sepolia"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..24acdf23
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_accounts_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_owner.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_owner.sql
new file mode 100644
index 00000000..07102534
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_accounts_arbitrum_sepolia"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_162d86147c0f53ce337d18b7b0e21f9f.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_162d86147c0f53ce337d18b7b0e21f9f.sql
new file mode 100644
index 00000000..aa9dbdae
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_162d86147c0f53ce337d18b7b0e21f9f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_balance
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where total_balance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_33304c7692cc4deb0ed07129951e1aea.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_33304c7692cc4deb0ed07129951e1aea.sql
new file mode 100644
index 00000000..0825481f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_33304c7692cc4deb0ed07129951e1aea.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_4cf232cd3796117a7a43fc99b6561e05.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_4cf232cd3796117a7a43fc99b6561e05.sql
new file mode 100644
index 00000000..7dea4c5d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_4cf232cd3796117a7a43fc99b6561e05.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_symbol
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where synth_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_6fe0be36aef2a2d118d02509d6c773c5.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_6fe0be36aef2a2d118d02509d6c773c5.sql
new file mode 100644
index 00000000..04e3dfc6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_6fe0be36aef2a2d118d02509d6c773c5.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delta_usd
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where amount_delta_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7174750d437ddf37eb8e20756ee7d77e.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7174750d437ddf37eb8e20756ee7d77e.sql
new file mode 100644
index 00000000..a6d3cdaf
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7174750d437ddf37eb8e20756ee7d77e.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_token_address
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where synth_token_address is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7b11cdb51a8a999dc6f8e1b53112b762.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7b11cdb51a8a999dc6f8e1b53112b762.sql
new file mode 100644
index 00000000..7293bb40
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7b11cdb51a8a999dc6f8e1b53112b762.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_balance_usd
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where total_balance_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7ba9e121ac62c2f93cbe709b63a81c16.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7ba9e121ac62c2f93cbe709b63a81c16.sql
new file mode 100644
index 00000000..6262beda
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7ba9e121ac62c2f93cbe709b63a81c16.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where collateral_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_86ca74a709cb5aa9285df9130f00a1f4.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_86ca74a709cb5aa9285df9130f00a1f4.sql
new file mode 100644
index 00000000..e45a9f15
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_86ca74a709cb5aa9285df9130f00a1f4.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_balance
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where account_balance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_9b092490682b6bdaf34144308c55ac54.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_9b092490682b6bdaf34144308c55ac54.sql
new file mode 100644
index 00000000..1cdca670
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_9b092490682b6bdaf34144308c55ac54.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_balance_usd
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where account_balance_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_c14d05da24c5a3ab0d0ac29d30c896da.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_c14d05da24c5a3ab0d0ac29d30c896da.sql
new file mode 100644
index 00000000..f463f4f2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_c14d05da24c5a3ab0d0ac29d30c896da.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delta
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where amount_delta is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_ede0cf82ec7952fd28c7d61aee6dd836.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_ede0cf82ec7952fd28c7d61aee6dd836.sql
new file mode 100644
index 00000000..cd13f4db
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_ede0cf82ec7952fd28c7d61aee6dd836.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_type
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where event_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..9d33cc02
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_balances_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_226bb0cf3724c2bad3df25f1aecb9c63.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_226bb0cf3724c2bad3df25f1aecb9c63.sql
new file mode 100644
index 00000000..d83c23f5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_226bb0cf3724c2bad3df25f1aecb9c63.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_modified_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_5c6d904034a3bcf925083d6a45ce9fbd.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_5c6d904034a3bcf925083d6a45ce9fbd.sql
new file mode 100644
index 00000000..7f650c49
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_5c6d904034a3bcf925083d6a45ce9fbd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_modified_arbitrum_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_a9963489f2d2d922278bbeded126996c.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_a9963489f2d2d922278bbeded126996c.sql
new file mode 100644
index 00000000..64c69fd3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_a9963489f2d2d922278bbeded126996c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_modified_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_c0765ddc930e394199ec9f482d4b4ab7.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_c0765ddc930e394199ec9f482d4b4ab7.sql
new file mode 100644
index 00000000..e8c990b7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_c0765ddc930e394199ec9f482d4b4ab7.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_modified_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_fa56dc58d06727cd1ad6f0e49d2c7adf.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_fa56dc58d06727cd1ad6f0e49d2c7adf.sql
new file mode 100644
index 00000000..085eaec6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_fa56dc58d06727cd1ad6f0e49d2c7adf.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_modified_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..06714d10
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_modified_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..58fe1185
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_modified_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..dcfadfb3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_modified_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_66f4a069802a8fd343ebc461f0a85ca8.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_66f4a069802a8fd343ebc461f0a85ca8.sql
new file mode 100644
index 00000000..e1b6e37f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_66f4a069802a8fd343ebc461f0a85ca8.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_interest_charged_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_966fec8c70830188852bf2d44861f9a5.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_966fec8c70830188852bf2d44861f9a5.sql
new file mode 100644
index 00000000..ee36f7b0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_966fec8c70830188852bf2d44861f9a5.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_interest_charged_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_c6feb0ef41481f0da32aca4327138aa7.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_c6feb0ef41481f0da32aca4327138aa7.sql
new file mode 100644
index 00000000..cfd48ad8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_c6feb0ef41481f0da32aca4327138aa7.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_interest_charged_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..f402d953
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_interest_charged_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..2dd32580
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_interest_charged_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..54d1a74b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_interest_charged_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..01126129
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_interest_charged_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_interest.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_interest.sql
new file mode 100644
index 00000000..05c9c514
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_interest.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_interest_charged_arbitrum_sepolia"
+where interest is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..6dbd8198
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_account_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_total_reward.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_total_reward.sql
new file mode 100644
index 00000000..24e10bc1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_total_reward.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_reward
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_account_arbitrum_sepolia"
+where total_reward is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..e47d7658
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_account_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..1e08077e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..50aba8aa
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..a5213c6e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..29482586
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_market_symbol.sql
new file mode 100644
index 00000000..bb3c14ba
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_position_size.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_position_size.sql
new file mode 100644
index 00000000..9b4791ca
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_position_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select position_size
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_sepolia"
+where position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..b7b5f771
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_cde30711e4d43245a7ac8a257edceb52.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_cde30711e4d43245a7ac8a257edceb52.sql
new file mode 100644
index 00000000..9a9b1a9b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_cde30711e4d43245a7ac8a257edceb52.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_e5dbfc6ac8922958d5e4e5e43fb23639.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_e5dbfc6ac8922958d5e4e5e43fb23639.sql
new file mode 100644
index 00000000..7ef1a90a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_e5dbfc6ac8922958d5e4e5e43fb23639.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_liquidated
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_sepolia"
+where amount_liquidated is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_ae93bd3fc6e929328800136685550ece.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_ae93bd3fc6e929328800136685550ece.sql
new file mode 100644
index 00000000..9be8facc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_ae93bd3fc6e929328800136685550ece.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_rate_apr
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where funding_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_afb652fde55a7f2226e2af5611e0ea69.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_afb652fde55a7f2226e2af5611e0ea69.sql
new file mode 100644
index 00000000..91120353
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_afb652fde55a7f2226e2af5611e0ea69.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_baea09cd8bd9b6b66228d8e77ac50f11.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_baea09cd8bd9b6b66228d8e77ac50f11.sql
new file mode 100644
index 00000000..77762576
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_baea09cd8bd9b6b66228d8e77ac50f11.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select short_rate_apr
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where short_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_f2cd79a163c2d1d51ca359bdd5a1a94e.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_f2cd79a163c2d1d51ca359bdd5a1a94e.sql
new file mode 100644
index 00000000..8a96faa6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_f2cd79a163c2d1d51ca359bdd5a1a94e.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_velocity
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where funding_velocity is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..892cb687
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate.sql
new file mode 100644
index 00000000..48aba043
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_rate
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where funding_rate is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..6a669840
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_interest_rate.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_interest_rate.sql
new file mode 100644
index 00000000..cd050e1c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_interest_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_long_oi.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_long_oi.sql
new file mode 100644
index 00000000..aa02559b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_long_oi.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select long_oi
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where long_oi is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_long_rate_apr.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_long_rate_apr.sql
new file mode 100644
index 00000000..f2855b7f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_long_rate_apr.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select long_rate_apr
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where long_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..3d076a40
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_oi_usd.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_oi_usd.sql
new file mode 100644
index 00000000..650ac6f2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_oi_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_oi_usd
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where market_oi_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_symbol.sql
new file mode 100644
index 00000000..596cd462
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_prev_size.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_prev_size.sql
new file mode 100644
index 00000000..1a62ab8e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_prev_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select prev_size
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where prev_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_price.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_price.sql
new file mode 100644
index 00000000..20112903
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_short_oi.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_short_oi.sql
new file mode 100644
index 00000000..f10e1d28
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_short_oi.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select short_oi
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where short_oi is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_size.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_size.sql
new file mode 100644
index 00000000..57793ea6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select size
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_size_delta.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_size_delta.sql
new file mode 100644
index 00000000..85b5b4a9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_size_delta.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select size_delta
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where size_delta is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_skew.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_skew.sql
new file mode 100644
index 00000000..1034f7e5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_skew.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select skew
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where skew is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_total_oi_usd.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_total_oi_usd.sql
new file mode 100644
index 00000000..1fc99338
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_total_oi_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_oi_usd
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where total_oi_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..10bde059
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..911209b5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_markets_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_created_ts.sql
new file mode 100644
index 00000000..ae8aa5d8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_markets_arbitrum_sepolia"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..c6492c1d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_markets_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_market_name.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_market_name.sql
new file mode 100644
index 00000000..797cd637
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_market_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_name
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_markets_arbitrum_sepolia"
+where market_name is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_market_symbol.sql
new file mode 100644
index 00000000..449f3bcd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_markets_arbitrum_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..dc6ba623
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_orders_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..da60aa90
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_orders_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..40776ade
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_orders_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..ef09d95c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_orders_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..2a028c9d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_orders_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_market_symbol.sql
new file mode 100644
index 00000000..5516c554
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_orders_arbitrum_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..0273132d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_orders_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..d78e46a6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_orders_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..c07b376a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_pnl_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..553c94e0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_pnl_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_05ac559bc900e2803f6222630c9908b5.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_05ac559bc900e2803f6222630c9908b5.sql
new file mode 100644
index 00000000..669f30b2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_05ac559bc900e2803f6222630c9908b5.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_previous_order_expired_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_56bc1fcd0d1ee144995e1ebc45292c56.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_56bc1fcd0d1ee144995e1ebc45292c56.sql
new file mode 100644
index 00000000..996f8b20
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_56bc1fcd0d1ee144995e1ebc45292c56.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_previous_order_expired_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_832ddb66959408c19dbb6c0f30c41cf6.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_832ddb66959408c19dbb6c0f30c41cf6.sql
new file mode 100644
index 00000000..ba56d93e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_832ddb66959408c19dbb6c0f30c41cf6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_previous_order_expired_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_8e6622256cda3410901f4a77fea082e5.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_8e6622256cda3410901f4a77fea082e5.sql
new file mode 100644
index 00000000..cba969e8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_8e6622256cda3410901f4a77fea082e5.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_previous_order_expired_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_a14484db01abde00713bfbdce086536d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_a14484db01abde00713bfbdce086536d.sql
new file mode 100644
index 00000000..656bbac4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_a14484db01abde00713bfbdce086536d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_previous_order_expired_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c7aba1ee151a3cf5c3122396bec6c3bc.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c7aba1ee151a3cf5c3122396bec6c3bc.sql
new file mode 100644
index 00000000..a8b96d21
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c7aba1ee151a3cf5c3122396bec6c3bc.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_previous_order_expired_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_daa8831eac778a7953e3e359bc94008b.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_daa8831eac778a7953e3e359bc94008b.sql
new file mode 100644
index 00000000..b68b5d43
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_daa8831eac778a7953e3e359bc94008b.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_previous_order_expired_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..938d796a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_previous_order_expired_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbit_1b821452537a1f2a9f93f94c774a58e0.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbit_1b821452537a1f2a9f93f94c774a58e0.sql
new file mode 100644
index 00000000..22949bcb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbit_1b821452537a1f2a9f93f94c774a58e0.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select notional_position_size
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where notional_position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..df9a4586
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_accrued_funding.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_accrued_funding.sql
new file mode 100644
index 00000000..0cf6206a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_accrued_funding.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select accrued_funding
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where accrued_funding is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..a413b49b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_collected_fees.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_collected_fees.sql
new file mode 100644
index 00000000..0148527b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..668373b5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_exchange_fees.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_exchange_fees.sql
new file mode 100644
index 00000000..789b0af7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_exchange_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select exchange_fees
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where exchange_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_fill_price.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_fill_price.sql
new file mode 100644
index 00000000..b8855e7f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_fill_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fill_price
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where fill_price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..b5331eed
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_lp_fees.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_lp_fees.sql
new file mode 100644
index 00000000..9829bc8c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_lp_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select lp_fees
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where lp_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..2579a348
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_market_symbol.sql
new file mode 100644
index 00000000..72df79e8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_notional_trade_size.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_notional_trade_size.sql
new file mode 100644
index 00000000..e8451468
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_notional_trade_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select notional_trade_size
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where notional_trade_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_pnl.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_pnl.sql
new file mode 100644
index 00000000..473b07bc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pnl
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_position_size.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_position_size.sql
new file mode 100644
index 00000000..998bc73a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_position_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select position_size
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_referral_fees.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_referral_fees.sql
new file mode 100644
index 00000000..be787be9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_referral_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referral_fees
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where referral_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_settlement_reward.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_settlement_reward.sql
new file mode 100644
index 00000000..f8afaa10
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_settlement_reward.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settlement_reward
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where settlement_reward is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_settler.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_settler.sql
new file mode 100644
index 00000000..563c0aab
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_settler.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settler
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where settler is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_total_fees.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_total_fees.sql
new file mode 100644
index 00000000..8a51199c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_total_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_fees
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where total_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_tracking_code.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_tracking_code.sql
new file mode 100644
index 00000000..48255416
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_tracking_code.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tracking_code
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where tracking_code is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_trade_size.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_trade_size.sql
new file mode 100644
index 00000000..4b6c9847
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_trade_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select trade_size
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where trade_size is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..af1557d4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..30c77b3d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_accounts_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_accounts_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..5a3a6da7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_accounts_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_accounts_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_collateral_modified_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_collateral_modified_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..ee308347
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_collateral_modified_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_collateral_modified_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..b718b40f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_interest_charged_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_liq_position_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_liq_position_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..28cd7503
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_liq_position_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_market_history_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_market_history_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..931e900b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_market_history_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_orders_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_orders_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..e84c98b5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_orders_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_orders_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_previous_order_expired_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_previous_order_expired_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..e1ced37d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_previous_order_expired_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_previous_order_expired_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_trades_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_trades_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..f649ba20
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_trades_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_account_stats_daily_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_account_stats_daily_arbitrum_sepolia.sql
new file mode 100644
index 00000000..610822bd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_account_stats_daily_arbitrum_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_arbitrum_sepolia"."fct_perp_account_stats_hourly_arbitrum_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/arbitrum/sepolia/perp_stats/fct_perp_account_stats_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_account_stats_hourly_arbitrum_sepolia.sql
new file mode 100644
index 00000000..d321e0b4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_account_stats_hourly_arbitrum_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_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+),
+
+liq as (
+ select
+ ts,
+ account_id,
+ amount_liquidated,
+ 1 as liquidations
+ from
+ "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_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/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_daily_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_daily_arbitrum_sepolia.sql
new file mode 100644
index 00000000..28e1c376
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_daily_arbitrum_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_arbitrum_sepolia"."fct_perp_keeper_stats_hourly_arbitrum_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/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_sepolia.sql
new file mode 100644
index 00000000..db8a5133
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_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_arbitrum_sepolia"."fct_perp_trades_arbitrum_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/arbitrum/sepolia/perp_stats/fct_perp_market_stats_daily_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_market_stats_daily_arbitrum_sepolia.sql
new file mode 100644
index 00000000..5d8e4637
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_market_stats_daily_arbitrum_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_arbitrum_sepolia"."fct_perp_market_stats_hourly_arbitrum_sepolia"
+group by
+ DATE_TRUNC(
+ 'day',
+ ts
+ ),
+ market_symbol
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_market_stats_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_market_stats_hourly_arbitrum_sepolia.sql
new file mode 100644
index 00000000..a5ebdce2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_market_stats_hourly_arbitrum_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_arbitrum_sepolia"."fct_perp_trades_arbitrum_sepolia"
+),
+
+liq as (
+ select
+ ts,
+ market_symbol,
+ amount_liquidated,
+ 1 as liquidations
+ from
+ "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_position_arbitrum_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/arbitrum/sepolia/perp_stats/fct_perp_stats_daily_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_stats_daily_arbitrum_sepolia.sql
new file mode 100644
index 00000000..643addcb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_stats_daily_arbitrum_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_arbitrum_sepolia"."fct_perp_stats_hourly_arbitrum_sepolia"
+group by
+ DATE_TRUNC(
+ 'day',
+ ts
+ )
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_stats_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_stats_hourly_arbitrum_sepolia.sql
new file mode 100644
index 00000000..1ca311ab
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_stats_hourly_arbitrum_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_arbitrum_sepolia"."fct_perp_market_stats_hourly_arbitrum_sepolia"
+),
+
+liq as (
+ select
+ ts,
+ total_reward,
+ 1 as liquidated_accounts
+ from
+ "analytics"."prod_arbitrum_sepolia"."fct_perp_liq_account_arbitrum_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/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_daily_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_daily_arbitrum_sepolia.sql
new file mode 100644
index 00000000..56f9b82b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_daily_arbitrum_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_arbitrum_sepolia"."fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_sepolia"."fct_perp_trades_arbitrum_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/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_sepolia.sql
new file mode 100644
index 00000000..d6a815ee
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_sepolia"."fct_perp_trades_arbitrum_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_arbitrum_sepolia"."fct_perp_trades_arbitrum_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/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..09e72c8c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql
@@ -0,0 +1,44 @@
+with all_prices as (
+ select
+ ts,
+ null as market_address,
+ market_symbol,
+ price
+ from
+ "analytics"."prod_arbitrum_sepolia"."fct_perp_market_history_arbitrum_sepolia"
+ union all
+ 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_activity_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_activity_base_mainnet.sql
new file mode 100644
index 00000000..7d630f3d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_activity_base_mainnet.sql
@@ -0,0 +1,39 @@
+
+
+with delegated as (
+ select distinct
+ block_timestamp,
+ account_id,
+ 'Delegated' as account_action
+ from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+),
+
+withdrawn as (
+ select
+ block_timestamp,
+ account_id,
+ 'Withdrawn' as account_action
+ from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+),
+
+claimed as (
+ select
+ block_timestamp,
+ account_id,
+ 'Claimed' as account_action
+ from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+),
+
+combined as (
+ select * from delegated
+ union all
+ select * from withdrawn
+ union all
+ select * from claimed
+)
+
+select
+ block_timestamp,
+ account_action,
+ account_id
+from combined
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql
new file mode 100644
index 00000000..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_active_stakers_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_active_stakers_daily_base_mainnet.sql
new file mode 100644
index 00000000..ac2ed6db
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_active_stakers_daily_base_mainnet.sql
@@ -0,0 +1,49 @@
+
+
+with delegation_updated as (
+ select
+ block_timestamp,
+ account_id,
+ amount
+ from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+),
+
+dim as (
+ select
+ d.block_date,
+ accounts_unique.account_id
+ from (
+ select
+ generate_series(
+ date_trunc('day', date('2023-12-15')),
+ date_trunc('day', current_date), '1 day'::interval
+ ) as block_date
+ ) as d
+ cross join (
+ select distinct account_id from delegation_updated
+ ) as accounts_unique
+),
+
+stakers as (
+ select
+ dim.block_date,
+ dim.account_id,
+ case
+ when coalesce(last(delegation_updated.amount) over (
+ partition by dim.account_id
+ order by dim.block_date
+ rows between unbounded preceding and current row
+ ), 0) = 0 then 0
+ else 1
+ end as is_staking
+ from dim
+ left join delegation_updated on
+ dim.block_date = date(delegation_updated.block_timestamp)
+ and dim.account_id = delegation_updated.account_id
+)
+
+select
+ block_date,
+ sum(is_staking) as nof_stakers_daily
+from stakers
+group by block_date
\ 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..4d33df9d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql
@@ -0,0 +1,279 @@
+
+
+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.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
+),
+
+pool_rewards as (
+ select
+ r.ts,
+ r.pool_id,
+ r.token_symbol,
+ pnl.collateral_type,
+ pnl.collateral_value,
+ sum(
+ pnl.collateral_value
+ ) over (
+ partition by
+ r.ts,
+ r.pool_id, r.token_symbol
+ ) as pool_collateral_value,
+ pnl.collateral_value / sum(
+ pnl.collateral_value
+ ) over (
+ partition by
+ r.ts,
+ r.pool_id, r.token_symbol
+ ) as collateral_type_share,
+ r.rewards_usd as pool_rewards,
+ -- reward share of pool rewards
+ r.rewards_usd
+ * (
+ pnl.collateral_value
+ / sum(pnl.collateral_value)
+ over (partition by r.ts, r.pool_id, r.token_symbol)
+ ) as rewards_usd
+ from
+ (
+ select
+ r.ts,
+ r.pool_id,
+ r.token_symbol,
+ r.rewards_usd
+ from
+ "analytics"."prod_base_mainnet"."fct_pool_rewards_pool_hourly_base_mainnet" as r
+ ) as r
+ inner join hourly_pnl as pnl
+ on
+ r.ts = pnl.ts
+ and r.pool_id = pnl.pool_id
+),
+
+hourly_rewards as (
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ sum(rewards_usd) as rewards_usd
+ from
+ (
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+ union all
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ from pool_rewards
+ ) as all_rewards
+ group by ts, pool_id, collateral_type
+),
+
+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 lower(
+ pnl.collateral_type
+ ) = lower(
+ 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..a7bf434a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql
@@ -0,0 +1,164 @@
+
+
+with dim as (
+
+ select
+ t.ts,
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol as reward_token
+ from
+ (
+ select
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ from
+ "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+ group by
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ ) as t
+ cross join (
+ select distinct token_symbol
+ from
+ (
+ select token_symbol
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+ union all
+ select token_symbol
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_pool_hourly_base_mainnet"
+ ) as tokens
+ ) as p
+ group by
+ t.ts,
+ 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
+),
+
+reward_hourly_pool as (
+ select
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ dim.reward_token,
+ dim.collateral_value,
+ SUM(
+ dim.collateral_value
+ ) over (
+ partition by
+ dim.ts,
+ dim.pool_id,
+ dim.reward_token
+ ) as pool_collateral_value,
+ dim.collateral_value / SUM(
+ dim.collateral_value
+ ) over (
+ partition by
+ dim.ts,
+ dim.pool_id,
+ dim.reward_token
+ ) as collateral_type_share,
+ r.rewards_usd as pool_rewards,
+ r.rewards_usd
+ * (
+ dim.collateral_value
+ / SUM(dim.collateral_value)
+ over (partition by dim.ts, dim.pool_id, dim.reward_token)
+ ) as rewards_usd
+ from
+ (
+ select
+ r.ts,
+ r.pool_id,
+ r.token_symbol,
+ r.rewards_usd
+ from
+ "analytics"."prod_base_mainnet"."fct_pool_rewards_pool_hourly_base_mainnet" as r
+ ) as r
+ inner join dim
+ on
+ r.ts = dim.ts
+ and r.pool_id = dim.pool_id
+ and r.token_symbol = dim.reward_token
+),
+
+
+reward_hourly as (
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ SUM(rewards_usd) as rewards_usd
+ from
+ (
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ rewards_usd
+ from reward_hourly_token
+ union all
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ rewards_usd
+ from reward_hourly_pool
+ ) as all_rewards
+ group by ts, pool_id, collateral_type, reward_token
+)
+
+select
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ dim.collateral_value,
+ dim.reward_token,
+ COALESCE(
+ reward_hourly.rewards_usd,
+ 0
+ ) as rewards_usd,
+ case
+ when dim.collateral_value = 0 then 0
+ else COALESCE(
+ reward_hourly.rewards_usd,
+ 0
+ ) / dim.collateral_value
+ end as hourly_rewards_pct
+from
+ dim
+left join reward_hourly
+ on
+ dim.ts = reward_hourly.ts
+ and dim.pool_id = reward_hourly.pool_id
+ and LOWER(dim.collateral_type)
+ = LOWER(reward_hourly.collateral_type)
+ and dim.reward_token = reward_hourly.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_pool_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_pool_hourly_base_mainnet.sql
new file mode 100644
index 00000000..219393a8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_pool_hourly_base_mainnet.sql
@@ -0,0 +1,150 @@
+with dim_collateral as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.min_ts)),
+ date_trunc('hour', max(t.max_ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ from
+ (
+ select
+ min(r.ts_start) as min_ts,
+ max(
+ r.ts_start + r.duration * '1 second'::INTERVAL
+ ) as max_ts
+ from
+ "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" as r
+ ) as t
+ cross join (
+ select distinct
+ m.pool_id,
+ m.collateral_type
+ from
+ "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" as m
+ ) as m
+ group by
+ m.pool_id,
+ m.collateral_type
+),
+
+dim_pool as (
+ select distinct
+ ts,
+ pool_id
+ from
+ dim_collateral
+),
+
+rewards_distributed as (
+ select
+ ts,
+ pool_id,
+ distributor,
+ token_symbol,
+ amount,
+ ts_start,
+ duration
+ from
+ "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet"
+ where
+ collateral_type = '0x0000000000000000000000000000000000000000'
+),
+
+hourly_distributions as (
+ select
+ dim.ts,
+ dim.pool_id,
+ r.distributor,
+ r.token_symbol,
+ r.amount,
+ r.ts_start,
+ r.duration,
+ row_number() over (
+ partition by
+ dim.ts,
+ dim.pool_id,
+ r.distributor
+ order by
+ r.ts_start desc
+ ) as distributor_index
+ from
+ dim_pool as dim
+ left join rewards_distributed as r
+ on
+ dim.pool_id = r.pool_id
+ and dim.ts + '1 hour'::INTERVAL >= r.ts_start
+ and dim.ts < r.ts_start + r.duration * '1 second'::INTERVAL
+ where
+ r.duration > 0
+),
+
+streamed_rewards as (
+ select
+ d.ts,
+ d.pool_id,
+ d.distributor,
+ d.token_symbol,
+ -- 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,
+ least(
+ d.ts + '1 hour'::INTERVAL - greatest(
+ d.ts,
+ d.ts_start
+ ),
+ least(
+ d.ts_start + d.duration * '1 second'::INTERVAL,
+ d.ts + '1 hour'::INTERVAL
+ ) - d.ts
+ )
+ )
+ ) / 3600
+ ) * d.amount / (
+ d.duration / 3600
+ ) as amount
+ from
+ hourly_distributions as d
+ where
+ d.distributor_index = 1
+),
+
+combined as (
+ select
+ r.ts,
+ r.pool_id,
+ r.distributor,
+ r.token_symbol,
+ r.amount,
+ p.price
+ from
+ streamed_rewards as r
+ left join "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet" as p
+ on
+ r.token_symbol = p.market_symbol
+ and r.ts = p.ts
+)
+
+select
+ ts,
+ pool_id,
+ token_symbol,
+ sum(amount) as amount,
+ sum(
+ amount * price
+ ) as rewards_usd
+from
+ combined
+group by
+ ts,
+ pool_id,
+ token_symbol
\ 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..d15160a7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql
@@ -0,0 +1,189 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.min_ts)),
+ date_trunc('hour', max(t.max_ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ from
+ (
+ select
+ min(r.ts_start) as min_ts,
+ max(
+ r.ts_start + r.duration * '1 second'::INTERVAL
+ ) as max_ts
+ from
+ "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" as r
+ ) 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
+ where
+ r.duration > 0
+),
+
+streamed_rewards as (
+ select
+ d.ts,
+ d.pool_id,
+ d.collateral_type,
+ d.distributor,
+ d.token_symbol,
+ -- 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,
+ least(
+ d.ts + '1 hour'::INTERVAL - greatest(
+ d.ts,
+ d.ts_start
+ ),
+ least(
+ d.ts_start + d.duration * '1 second'::INTERVAL,
+ d.ts + '1 hour'::INTERVAL
+ ) - d.ts
+ )
+ )
+ ) / 3600
+ ) * d.amount / (
+ d.duration / 3600
+ ) as amount
+ from
+ hourly_distributions as d
+ where
+ d.distributor_index = 1
+),
+
+instant_rewards as (
+ select
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ rewards_distributed
+ where
+ duration = 0
+),
+
+combined as (
+ select
+ combo.ts,
+ combo.pool_id,
+ combo.collateral_type,
+ combo.distributor,
+ combo.token_symbol,
+ combo.amount,
+ p.price
+ from
+ (
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ streamed_rewards
+ union all
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ instant_rewards
+ ) as combo
+ left join "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet" as p
+ on
+ combo.token_symbol = p.market_symbol
+ and combo.ts = p.ts
+)
+
+select
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol,
+ sum(amount) as amount,
+ sum(
+ amount * price
+ ) as rewards_usd
+from
+ combined
+group by
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_accou_1a4e025a7d56942bbd1a8ea3c32c45b3.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_accou_1a4e025a7d56942bbd1a8ea3c32c45b3.sql
new file mode 100644
index 00000000..2386d733
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_accou_1a4e025a7d56942bbd1a8ea3c32c45b3.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ account_action as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_base_mainnet"."fct_core_account_activity_base_mainnet"
+ group by account_action
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Delegated','Withdrawn','Claimed'
+)
+
+
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_101b80b7a60aba9e1559460447c6e1d6.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_101b80b7a60aba9e1559460447c6e1d6.sql
new file mode 100644
index 00000000..5011a552
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_101b80b7a60aba9e1559460447c6e1d6.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_pool_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_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_64b6a85d9121b214cc7d109f2ecad049.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_64b6a85d9121b214cc7d109f2ecad049.sql
new file mode 100644
index 00000000..ca5da639
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_64b6a85d9121b214cc7d109f2ecad049.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 >= 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_8d7c933abef2fe16f5739a3ab14ce6e2.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_8d7c933abef2fe16f5739a3ab14ce6e2.sql
new file mode 100644
index 00000000..32e7838f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_8d7c933abef2fe16f5739a3ab14ce6e2.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_pool_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_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_d0c5bdf3a3e02f0d619d4207fd68fb2b.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d0c5bdf3a3e02f0d619d4207fd68fb2b.sql
new file mode 100644
index 00000000..2d9ca650
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d0c5bdf3a3e02f0d619d4207fd68fb2b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_pool_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 >= 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_activity_base_mainnet_account_action.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_activity_base_mainnet_account_action.sql
new file mode 100644
index 00000000..37f4f27a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_activity_base_mainnet_account_action.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_action
+from "analytics"."prod_base_mainnet"."fct_core_account_activity_base_mainnet"
+where account_action is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_activity_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_activity_base_mainnet_account_id.sql
new file mode 100644
index 00000000..0f6fa0f0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_activity_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_mainnet"."fct_core_account_activity_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_activity_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_activity_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..2ec1d7cd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_activity_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_base_mainnet"."fct_core_account_activity_base_mainnet"
+where block_timestamp is null
+
+
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_active_stakers_daily_base_mainnet_block_date.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_active_stakers_daily_base_mainnet_block_date.sql
new file mode 100644
index 00000000..c44e1697
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_active_stakers_daily_base_mainnet_block_date.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_date
+from "analytics"."prod_base_mainnet"."fct_core_active_stakers_daily_base_mainnet"
+where block_date 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_pool_hourly_base_mainnet_amount.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_amount.sql
new file mode 100644
index 00000000..2b666155
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_pool_hourly_base_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..52839fbb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_pool_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_pool_hourly_base_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..53176159
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_pool_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_pool_hourly_base_mainnet_token_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_token_symbol.sql
new file mode 100644
index 00000000..95760931
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_pool_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_pool_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_ts.sql
new file mode 100644
index 00000000..c154ae81
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_pool_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_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_amount.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_amount.sql
new file mode 100644
index 00000000..9f164981
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+where amount 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_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_account_activity_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_account_activity_base_mainnet.sql
new file mode 100644
index 00000000..dc88dc96
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_account_activity_base_mainnet.sql
@@ -0,0 +1,86 @@
+
+
+with active_accounts as (
+ select distinct
+ date_trunc('day', ts) as activity_date,
+ account_id
+ from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+
+date_range as (
+ select
+ generate_series(
+ date(min(activity_date)),
+ date(max(activity_date)),
+ interval '1 day'
+ )::date as activity_date
+ from active_accounts
+),
+
+active_accounts_daily as (
+ select
+ date_range.activity_date,
+ count(distinct active_accounts.account_id) as active_accounts
+ from date_range
+ left join active_accounts
+ on date_range.activity_date = active_accounts.activity_date
+ group by date_range.activity_date
+),
+
+active_accounts_monthly as (
+ select
+ date_range.activity_date,
+ count(distinct active_accounts.account_id) as active_accounts
+ from date_range
+ left join active_accounts
+ on
+ date_range.activity_date - interval '27 days'
+ <= active_accounts.activity_date
+ and date_range.activity_date >= active_accounts.activity_date
+ group by date_range.activity_date
+),
+
+new_accounts as (
+ select
+ min(activity_date) as start_date,
+ account_id
+ from active_accounts
+ group by account_id
+),
+
+new_accounts_daily as (
+ select
+ date_range.activity_date,
+ count(new_accounts.account_id) as new_accounts
+ from date_range
+ left join new_accounts
+ on date_range.activity_date = new_accounts.start_date
+ group by date_range.activity_date, new_accounts.start_date
+),
+
+new_accounts_monthly as (
+ select distinct
+ activity_date,
+ sum(new_accounts) over (
+ order by activity_date
+ range between interval '27 days' preceding and current row
+ ) as new_accounts
+ from new_accounts_daily
+)
+
+select
+ dr.activity_date as ts,
+ dau.active_accounts as dau,
+ mau.active_accounts as mau,
+ new_accounts_daily.new_accounts as new_accounts_daily,
+ new_accounts_monthly.new_accounts as new_accounts_monthly
+from date_range as dr
+left join active_accounts_daily as dau
+ on dr.activity_date = dau.activity_date
+left join active_accounts_monthly as mau
+ on dr.activity_date = mau.activity_date
+left join new_accounts_daily
+ on dr.activity_date = new_accounts_daily.activity_date
+left join new_accounts_monthly
+ on dr.activity_date = new_accounts_monthly.activity_date
+order by ts desc
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql
new file mode 100644
index 00000000..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_balances_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_balances_base_mainnet.sql
new file mode 100644
index 00000000..33120d08
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_balances_base_mainnet.sql
@@ -0,0 +1,153 @@
+with synths as (
+ select
+ synth_market_id as collateral_id,
+ synth_token_address
+ from
+ "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+),
+
+transfers as (
+ select
+ cm.block_number,
+ cm.block_timestamp as ts,
+ cm.transaction_hash,
+ cm.synth_market_id as collateral_id,
+ synths.synth_token_address,
+ CAST(
+ cm.account_id as text
+ ) as account_id,
+
+ cm.amount_delta / 1e18
+ as amount_delta
+ from
+ "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" as cm
+ inner join synths
+ on cm.synth_market_id = synths.collateral_id
+),
+
+liq_tx as (
+ select distinct
+ transaction_hash,
+ CAST(
+ account_id as text
+ ) as account_id
+ from
+ "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+),
+
+distributors as (
+ select
+ CAST(
+ rd.distributor_address as text
+ ) as distributor_address,
+ CAST(
+ rd.token_symbol as text
+ ) as token_symbol,
+ rd.synth_token_address,
+ synths.collateral_id
+ from
+ "analytics"."prod_seeds"."base_mainnet_reward_distributors" as rd
+ inner join synths
+ on rd.synth_token_address = synths.synth_token_address
+),
+
+liquidations as (
+ select
+ rd.block_number,
+ rd.block_timestamp as ts,
+ -rd.amount / 1e18 as amount_delta,
+ liq_tx.transaction_hash,
+ rd.collateral_type,
+ distributors.token_symbol,
+ distributors.synth_token_address,
+ CAST(
+ liq_tx.account_id as text
+ ) as account_id,
+ distributors.collateral_id
+ from
+ "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" as rd
+ inner join liq_tx
+ on rd.transaction_hash = liq_tx.transaction_hash
+ inner join distributors
+ on rd.distributor = distributors.distributor_address
+),
+
+net_transfers as (
+ select
+ events.ts,
+ events.transaction_hash,
+ events.event_type,
+ events.collateral_id,
+ events.synth_token_address,
+ synths.synth_symbol,
+ events.account_id,
+ prices.price,
+ events.amount_delta,
+ SUM(
+ events.amount_delta
+ ) over (
+ partition by
+ events.account_id,
+ events.collateral_id
+ order by
+ events.ts
+ ) as account_balance,
+ SUM(
+ events.amount_delta
+ ) over (
+ partition by events.collateral_id
+ order by
+ events.ts
+ ) as total_balance
+ from
+ (
+ select
+ transfers.ts,
+ transfers.transaction_hash,
+ transfers.collateral_id,
+ transfers.synth_token_address,
+ transfers.account_id,
+ transfers.amount_delta,
+ 'transfer' as event_type
+ from
+ transfers
+ union all
+ select
+ liquidations.ts,
+ liquidations.transaction_hash,
+ liquidations.collateral_id,
+ liquidations.synth_token_address,
+ liquidations.account_id,
+ liquidations.amount_delta,
+ 'liquidation' as event_type
+ from
+ liquidations
+ ) as events
+ inner join "analytics"."prod_seeds"."base_mainnet_synths" as synths
+ on events.collateral_id = synths.synth_market_id
+ left join "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet" as prices
+ on
+ synths.token_symbol = prices.market_symbol
+ and DATE_TRUNC(
+ 'hour',
+ events.ts
+ ) = prices.ts
+)
+
+select
+ net_transfers.ts,
+ net_transfers.transaction_hash,
+ net_transfers.event_type,
+ net_transfers.collateral_id,
+ net_transfers.synth_token_address,
+ net_transfers.synth_symbol,
+ net_transfers.account_id,
+ net_transfers.price,
+ net_transfers.amount_delta,
+ net_transfers.amount_delta * net_transfers.price as amount_delta_usd,
+ net_transfers.account_balance,
+ net_transfers.account_balance * net_transfers.price as account_balance_usd,
+ net_transfers.total_balance,
+ net_transfers.total_balance * net_transfers.price as total_balance_usd
+from
+ net_transfers
\ 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..5808dd7c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql
@@ -0,0 +1,20 @@
+select
+ cm.id,
+ cm.block_timestamp,
+ cm.account_id,
+ cm.block_number,
+ cm.transaction_hash,
+ cm.contract,
+ cm.event_name,
+ synths.synth_symbol,
+ cm.synth_market_id,
+ synths.synth_token_address,
+ cm.sender,
+
+ cm.amount_delta / 1e18
+ as amount_delta
+from
+ "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+ as cm
+inner join "analytics"."prod_seeds"."base_mainnet_synths" as synths
+ on cm.synth_market_id = synths.synth_market_id
\ 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..88448c3b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql
@@ -0,0 +1,132 @@
+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,
+ LAG(
+ size / 1e18
+, 1, 0) over (
+ partition by m.market_symbol
+ order by
+ mu.block_timestamp
+ ) as prev_size
+ 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
+),
+
+oi as (
+ select
+ id,
+ ts,
+ size * price as market_oi_usd,
+ LAG(
+ size * price,
+ 1,
+ 0
+ ) over (
+ partition by market_symbol
+ order by
+ ts asc
+ ) as prev_market_oi_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
+),
+
+total_oi as (
+ select
+ id,
+ SUM(
+ market_oi_usd - prev_market_oi_usd
+ ) over (
+ order by
+ ts asc
+ ) as total_oi_usd
+ from
+ oi
+)
+
+select
+ base.*,
+ ROUND(
+ oi.market_oi_usd,
+ 2
+ ) as market_oi_usd,
+ ROUND(
+ total_oi.total_oi_usd,
+ 2
+ ) as total_oi_usd,
+ ROUND(
+ oi.long_oi,
+ 2
+ ) as long_oi,
+ ROUND(
+ oi.short_oi,
+ 2
+ ) as short_oi,
+ oi.long_oi_pct,
+ oi.short_oi_pct
+from
+ base
+inner join oi
+ on base.id = oi.id
+inner join total_oi
+ on base.id = total_oi.id
\ 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_268eb9957deef92cb1e05e24fca69586.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_268eb9957deef92cb1e05e24fca69586.sql
new file mode 100644
index 00000000..4430e27f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_268eb9957deef92cb1e05e24fca69586.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 short_oi >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_296adedccf36df0fc82152b8d2b5320e.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_296adedccf36df0fc82152b8d2b5320e.sql
new file mode 100644
index 00000000..4e94821b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_296adedccf36df0fc82152b8d2b5320e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 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_balance >= 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_6f6044b8c236dbe805b024b307717dd4.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_6f6044b8c236dbe805b024b307717dd4.sql
new file mode 100644
index 00000000..f6795f65
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_6f6044b8c236dbe805b024b307717dd4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 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_balance >= 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_970d594071f994791d128c81c6d5c97b.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_970d594071f994791d128c81c6d5c97b.sql
new file mode 100644
index 00000000..afc03381
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_970d594071f994791d128c81c6d5c97b.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 total_oi_usd >= 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_b6fc1d1ecacc1ac68d53108ecb80a40e.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_b6fc1d1ecacc1ac68d53108ecb80a40e.sql
new file mode 100644
index 00000000..142ff306
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_b6fc1d1ecacc1ac68d53108ecb80a40e.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 prev_size >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_b714d771addf47be279a8e54e64befae.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_b714d771addf47be279a8e54e64befae.sql
new file mode 100644
index 00000000..0577c9e2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_b714d771addf47be279a8e54e64befae.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 long_oi >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_d471f50cc8feff954da0f5ec3ebcf944.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_d471f50cc8feff954da0f5ec3ebcf944.sql
new file mode 100644
index 00000000..e5f801e8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_d471f50cc8feff954da0f5ec3ebcf944.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_oi_usd >= 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_account_acti_3da0fa4b1939a8bc6760ab58773c07f8.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_3da0fa4b1939a8bc6760ab58773c07f8.sql
new file mode 100644
index 00000000..d60a46a5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_3da0fa4b1939a8bc6760ab58773c07f8.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select new_accounts_daily
+from "analytics"."prod_base_mainnet"."fct_perp_account_activity_base_mainnet"
+where new_accounts_daily is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_65018bcdea7a72ed37c671b785a51ed3.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_65018bcdea7a72ed37c671b785a51ed3.sql
new file mode 100644
index 00000000..f960fbfd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_65018bcdea7a72ed37c671b785a51ed3.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select new_accounts_monthly
+from "analytics"."prod_base_mainnet"."fct_perp_account_activity_base_mainnet"
+where new_accounts_monthly is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_dau.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_dau.sql
new file mode 100644
index 00000000..3fda0d62
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_dau.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select dau
+from "analytics"."prod_base_mainnet"."fct_perp_account_activity_base_mainnet"
+where dau is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_mau.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_mau.sql
new file mode 100644
index 00000000..8631a859
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_mau.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select mau
+from "analytics"."prod_base_mainnet"."fct_perp_account_activity_base_mainnet"
+where mau is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_ts.sql
new file mode 100644
index 00000000..7989a959
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_perp_account_activity_base_mainnet"
+where ts is null
+
+
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_b_200bf8bf6d1290a83a4181df2e3eb1bf.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_200bf8bf6d1290a83a4181df2e3eb1bf.sql
new file mode 100644
index 00000000..b63b7749
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_200bf8bf6d1290a83a4181df2e3eb1bf.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_balance
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+where account_balance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2596679826cfca047e5b4cad997f1bde.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2596679826cfca047e5b4cad997f1bde.sql
new file mode 100644
index 00000000..15728c3f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2596679826cfca047e5b4cad997f1bde.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_699e07c565d2ec5f21061550f1f79808.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_699e07c565d2ec5f21061550f1f79808.sql
new file mode 100644
index 00000000..d2dc92e9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_699e07c565d2ec5f21061550f1f79808.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delta_usd
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+where amount_delta_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_74707aec82e3ce9b98faa38c31c937e4.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_74707aec82e3ce9b98faa38c31c937e4.sql
new file mode 100644
index 00000000..e2b90242
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_74707aec82e3ce9b98faa38c31c937e4.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_id
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+where collateral_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_8a30d105d948cbc7000ddf085bec0b6e.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_8a30d105d948cbc7000ddf085bec0b6e.sql
new file mode 100644
index 00000000..6592ebe0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_8a30d105d948cbc7000ddf085bec0b6e.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_token_address
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+where synth_token_address is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_c9baf04922ee2157ffff501b168cb521.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_c9baf04922ee2157ffff501b168cb521.sql
new file mode 100644
index 00000000..fe5bca96
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_c9baf04922ee2157ffff501b168cb521.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_balance_usd
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+where account_balance_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_ccf3c90b9b209cbed7865fe30fe918d1.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_ccf3c90b9b209cbed7865fe30fe918d1.sql
new file mode 100644
index 00000000..3b2c9253
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_ccf3c90b9b209cbed7865fe30fe918d1.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_balance
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+where total_balance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_amount_delta.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_amount_delta.sql
new file mode 100644
index 00000000..42afd079
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_amount_delta.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delta
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+where amount_delta is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_event_type.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_event_type.sql
new file mode 100644
index 00000000..5a3e7ebd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_event_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_type
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+where event_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_synth_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_synth_symbol.sql
new file mode 100644
index 00000000..57888042
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_synth_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_symbol
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+where synth_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_ts.sql
new file mode 100644
index 00000000..9b230f5c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_balances_base_mainnet"
+where ts 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_oi.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_long_oi.sql
new file mode 100644
index 00000000..635fcd0e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_long_oi.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select long_oi
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where long_oi 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_oi_usd.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_oi_usd.sql
new file mode 100644
index 00000000..5a855c37
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_oi_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_oi_usd
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where market_oi_usd 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_prev_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_prev_size.sql
new file mode 100644
index 00000000..f7a545cc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_prev_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select prev_size
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where prev_size 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_oi.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_short_oi.sql
new file mode 100644
index 00000000..b382ece8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_short_oi.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select short_oi
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where short_oi 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_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_total_oi_usd.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_total_oi_usd.sql
new file mode 100644
index 00000000..9243a745
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_total_oi_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_oi_usd
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where total_oi_usd 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..0ee40c97
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql
@@ -0,0 +1,79 @@
+
+
+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_activity_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_activity_base_sepolia.sql
new file mode 100644
index 00000000..231a181e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_activity_base_sepolia.sql
@@ -0,0 +1,39 @@
+
+
+with delegated as (
+ select distinct
+ block_timestamp,
+ account_id,
+ 'Delegated' as account_action
+ from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+),
+
+withdrawn as (
+ select
+ block_timestamp,
+ account_id,
+ 'Withdrawn' as account_action
+ from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+),
+
+claimed as (
+ select
+ block_timestamp,
+ account_id,
+ 'Claimed' as account_action
+ from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+),
+
+combined as (
+ select * from delegated
+ union all
+ select * from withdrawn
+ union all
+ select * from claimed
+)
+
+select
+ block_timestamp,
+ account_action,
+ account_id
+from combined
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql
new file mode 100644
index 00000000..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_active_stakers_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_active_stakers_daily_base_sepolia.sql
new file mode 100644
index 00000000..a8cadea5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_active_stakers_daily_base_sepolia.sql
@@ -0,0 +1,49 @@
+
+
+with delegation_updated as (
+ select
+ block_timestamp,
+ account_id,
+ amount
+ from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+),
+
+dim as (
+ select
+ d.block_date,
+ accounts_unique.account_id
+ from (
+ select
+ generate_series(
+ date_trunc('day', date('2023-12-15')),
+ date_trunc('day', current_date), '1 day'::interval
+ ) as block_date
+ ) as d
+ cross join (
+ select distinct account_id from delegation_updated
+ ) as accounts_unique
+),
+
+stakers as (
+ select
+ dim.block_date,
+ dim.account_id,
+ case
+ when coalesce(last(delegation_updated.amount) over (
+ partition by dim.account_id
+ order by dim.block_date
+ rows between unbounded preceding and current row
+ ), 0) = 0 then 0
+ else 1
+ end as is_staking
+ from dim
+ left join delegation_updated on
+ dim.block_date = date(delegation_updated.block_timestamp)
+ and dim.account_id = delegation_updated.account_id
+)
+
+select
+ block_date,
+ sum(is_staking) as nof_stakers_daily
+from stakers
+group by block_date
\ 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..f09bd0aa
--- /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 lower(pnl.collateral_type) = lower(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..2f175b42
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql
@@ -0,0 +1,82 @@
+
+
+with dim as (
+
+ select
+ t.ts,
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol as reward_token
+ from
+ (
+ select
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ from
+ "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+ group by
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ ) as t
+ cross join (
+ select distinct token_symbol
+ from
+ "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+ ) as p
+ group by
+ t.ts,
+ 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 LOWER(dim.collateral_type)
+ = LOWER(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..208c8958
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql
@@ -0,0 +1,190 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.min_ts)),
+ date_trunc('hour', max(t.max_ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ from
+ (
+ select
+ min(ts_start) as min_ts,
+ max(
+ ts_start + "duration" * '1 second'::INTERVAL
+ ) as max_ts
+ from
+ "analytics"."prod_base_sepolia"."fct_pool_rewards_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
+ where
+ r."duration" > 0
+),
+
+streamed_rewards as (
+ select
+ d.ts,
+ d.pool_id,
+ d.collateral_type,
+ d.distributor,
+ d.token_symbol,
+ -- 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,
+ least(
+ d.ts + '1 hour'::INTERVAL - greatest(
+ d.ts,
+ d.ts_start
+ ),
+ least(
+ d.ts_start + d."duration" * '1 second'::INTERVAL,
+ d.ts + '1 hour'::INTERVAL
+ ) - d.ts
+ )
+ )
+ ) / 3600
+ ) * d.amount / (
+ d."duration" / 3600
+ ) as amount
+ from
+ hourly_distributions as d
+ where
+ d.distributor_index = 1
+),
+
+instant_rewards as (
+ select
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ rewards_distributed
+ where
+ "duration" = 0
+),
+
+combined as (
+ select
+ combo.ts,
+ combo.pool_id,
+ combo.collateral_type,
+ combo.distributor,
+ combo.token_symbol,
+ combo.amount,
+ p.price
+ from
+ (
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ streamed_rewards
+ union all
+ select
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount
+ from
+ instant_rewards
+ ) as combo
+ left join "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia" as p
+ on
+ combo.token_symbol = p.market_symbol
+ and combo.ts = p.ts
+)
+
+select
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ sum(amount) as amount,
+ sum(
+ amount * price
+ ) as rewards_usd
+from
+ combined
+group by
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_accou_dc1d7e4e531da9caa014b9f84d202a1f.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_accou_dc1d7e4e531da9caa014b9f84d202a1f.sql
new file mode 100644
index 00000000..40957821
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_accou_dc1d7e4e531da9caa014b9f84d202a1f.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ account_action as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_base_sepolia"."fct_core_account_activity_base_sepolia"
+ group by account_action
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Delegated','Withdrawn','Claimed'
+)
+
+
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_168fddbf6e51c571cf3cf7d332e2f38d.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_168fddbf6e51c571cf3cf7d332e2f38d.sql
new file mode 100644
index 00000000..ec06df59
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_168fddbf6e51c571cf3cf7d332e2f38d.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 >= 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_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_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_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_activity_base_sepolia_account_action.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_activity_base_sepolia_account_action.sql
new file mode 100644
index 00000000..cb706ae4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_activity_base_sepolia_account_action.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_action
+from "analytics"."prod_base_sepolia"."fct_core_account_activity_base_sepolia"
+where account_action is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_activity_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_activity_base_sepolia_account_id.sql
new file mode 100644
index 00000000..c09c34f5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_activity_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_sepolia"."fct_core_account_activity_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_activity_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_activity_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..7471d193
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_activity_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_base_sepolia"."fct_core_account_activity_base_sepolia"
+where block_timestamp is null
+
+
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_active_stakers_daily_base_sepolia_block_date.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_active_stakers_daily_base_sepolia_block_date.sql
new file mode 100644
index 00000000..c347741a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_active_stakers_daily_base_sepolia_block_date.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_date
+from "analytics"."prod_base_sepolia"."fct_core_active_stakers_daily_base_sepolia"
+where block_date 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_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_token_hourly_base_sepolia_amount.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_amount.sql
new file mode 100644
index 00000000..b6605e6c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+where amount 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_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_account_activity_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_account_activity_base_sepolia.sql
new file mode 100644
index 00000000..8eef4187
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_account_activity_base_sepolia.sql
@@ -0,0 +1,86 @@
+
+
+with active_accounts as (
+ select distinct
+ date_trunc('day', ts) as activity_date,
+ account_id
+ from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+
+date_range as (
+ select
+ generate_series(
+ date(min(activity_date)),
+ date(max(activity_date)),
+ interval '1 day'
+ )::date as activity_date
+ from active_accounts
+),
+
+active_accounts_daily as (
+ select
+ date_range.activity_date,
+ count(distinct active_accounts.account_id) as active_accounts
+ from date_range
+ left join active_accounts
+ on date_range.activity_date = active_accounts.activity_date
+ group by date_range.activity_date
+),
+
+active_accounts_monthly as (
+ select
+ date_range.activity_date,
+ count(distinct active_accounts.account_id) as active_accounts
+ from date_range
+ left join active_accounts
+ on
+ date_range.activity_date - interval '27 days'
+ <= active_accounts.activity_date
+ and date_range.activity_date >= active_accounts.activity_date
+ group by date_range.activity_date
+),
+
+new_accounts as (
+ select
+ min(activity_date) as start_date,
+ account_id
+ from active_accounts
+ group by account_id
+),
+
+new_accounts_daily as (
+ select
+ date_range.activity_date,
+ count(new_accounts.account_id) as new_accounts
+ from date_range
+ left join new_accounts
+ on date_range.activity_date = new_accounts.start_date
+ group by date_range.activity_date, new_accounts.start_date
+),
+
+new_accounts_monthly as (
+ select distinct
+ activity_date,
+ sum(new_accounts) over (
+ order by activity_date
+ range between interval '27 days' preceding and current row
+ ) as new_accounts
+ from new_accounts_daily
+)
+
+select
+ dr.activity_date as ts,
+ dau.active_accounts as dau,
+ mau.active_accounts as mau,
+ new_accounts_daily.new_accounts as new_accounts_daily,
+ new_accounts_monthly.new_accounts as new_accounts_monthly
+from date_range as dr
+left join active_accounts_daily as dau
+ on dr.activity_date = dau.activity_date
+left join active_accounts_monthly as mau
+ on dr.activity_date = mau.activity_date
+left join new_accounts_daily
+ on dr.activity_date = new_accounts_daily.activity_date
+left join new_accounts_monthly
+ on dr.activity_date = new_accounts_monthly.activity_date
+order by ts desc
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql
new file mode 100644
index 00000000..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_balances_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_balances_base_sepolia.sql
new file mode 100644
index 00000000..ebd3bb29
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_balances_base_sepolia.sql
@@ -0,0 +1,153 @@
+with synths as (
+ select
+ synth_market_id as collateral_id,
+ synth_token_address
+ from
+ "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+),
+
+transfers as (
+ select
+ cm.block_number,
+ cm.block_timestamp as ts,
+ cm.transaction_hash,
+ cm.synth_market_id as collateral_id,
+ synths.synth_token_address,
+ CAST(
+ cm.account_id as text
+ ) as account_id,
+
+ cm.amount_delta / 1e18
+ as amount_delta
+ from
+ "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" as cm
+ inner join synths
+ on cm.synth_market_id = synths.collateral_id
+),
+
+liq_tx as (
+ select distinct
+ transaction_hash,
+ CAST(
+ account_id as text
+ ) as account_id
+ from
+ "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+),
+
+distributors as (
+ select
+ CAST(
+ rd.distributor_address as text
+ ) as distributor_address,
+ CAST(
+ rd.token_symbol as text
+ ) as token_symbol,
+ rd.synth_token_address,
+ synths.collateral_id
+ from
+ "analytics"."prod_seeds"."base_sepolia_reward_distributors" as rd
+ inner join synths
+ on rd.synth_token_address = synths.synth_token_address
+),
+
+liquidations as (
+ select
+ rd.block_number,
+ rd.block_timestamp as ts,
+ -rd.amount / 1e18 as amount_delta,
+ liq_tx.transaction_hash,
+ rd.collateral_type,
+ distributors.token_symbol,
+ distributors.synth_token_address,
+ CAST(
+ liq_tx.account_id as text
+ ) as account_id,
+ distributors.collateral_id
+ from
+ "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" as rd
+ inner join liq_tx
+ on rd.transaction_hash = liq_tx.transaction_hash
+ inner join distributors
+ on rd.distributor = distributors.distributor_address
+),
+
+net_transfers as (
+ select
+ events.ts,
+ events.transaction_hash,
+ events.event_type,
+ events.collateral_id,
+ events.synth_token_address,
+ synths.synth_symbol,
+ events.account_id,
+ prices.price,
+ events.amount_delta,
+ SUM(
+ events.amount_delta
+ ) over (
+ partition by
+ events.account_id,
+ events.collateral_id
+ order by
+ events.ts
+ ) as account_balance,
+ SUM(
+ events.amount_delta
+ ) over (
+ partition by events.collateral_id
+ order by
+ events.ts
+ ) as total_balance
+ from
+ (
+ select
+ transfers.ts,
+ transfers.transaction_hash,
+ transfers.collateral_id,
+ transfers.synth_token_address,
+ transfers.account_id,
+ transfers.amount_delta,
+ 'transfer' as event_type
+ from
+ transfers
+ union all
+ select
+ liquidations.ts,
+ liquidations.transaction_hash,
+ liquidations.collateral_id,
+ liquidations.synth_token_address,
+ liquidations.account_id,
+ liquidations.amount_delta,
+ 'liquidation' as event_type
+ from
+ liquidations
+ ) as events
+ inner join "analytics"."prod_seeds"."base_sepolia_synths" as synths
+ on events.collateral_id = synths.synth_market_id
+ left join "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia" as prices
+ on
+ synths.token_symbol = prices.market_symbol
+ and DATE_TRUNC(
+ 'hour',
+ events.ts
+ ) = prices.ts
+)
+
+select
+ net_transfers.ts,
+ net_transfers.transaction_hash,
+ net_transfers.event_type,
+ net_transfers.collateral_id,
+ net_transfers.synth_token_address,
+ net_transfers.synth_symbol,
+ net_transfers.account_id,
+ net_transfers.price,
+ net_transfers.amount_delta,
+ net_transfers.amount_delta * net_transfers.price as amount_delta_usd,
+ net_transfers.account_balance,
+ net_transfers.account_balance * net_transfers.price as account_balance_usd,
+ net_transfers.total_balance,
+ net_transfers.total_balance * net_transfers.price as total_balance_usd
+from
+ net_transfers
\ 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..6b188912
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql
@@ -0,0 +1,20 @@
+select
+ cm.id,
+ cm.block_timestamp,
+ cm.account_id,
+ cm.block_number,
+ cm.transaction_hash,
+ cm.contract,
+ cm.event_name,
+ synths.synth_symbol,
+ cm.synth_market_id,
+ synths.synth_token_address,
+ cm.sender,
+
+ cm.amount_delta / 1e18
+ as amount_delta
+from
+ "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+ as cm
+inner join "analytics"."prod_seeds"."base_sepolia_synths" as synths
+ on cm.synth_market_id = synths.synth_market_id
\ 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..3d414fe5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql
@@ -0,0 +1,132 @@
+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,
+ LAG(
+ size / 1e18
+, 1, 0) over (
+ partition by m.market_symbol
+ order by
+ mu.block_timestamp
+ ) as prev_size
+ 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
+),
+
+oi as (
+ select
+ id,
+ ts,
+ size * price as market_oi_usd,
+ LAG(
+ size * price,
+ 1,
+ 0
+ ) over (
+ partition by market_symbol
+ order by
+ ts asc
+ ) as prev_market_oi_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
+),
+
+total_oi as (
+ select
+ id,
+ SUM(
+ market_oi_usd - prev_market_oi_usd
+ ) over (
+ order by
+ ts asc
+ ) as total_oi_usd
+ from
+ oi
+)
+
+select
+ base.*,
+ ROUND(
+ oi.market_oi_usd,
+ 2
+ ) as market_oi_usd,
+ ROUND(
+ total_oi.total_oi_usd,
+ 2
+ ) as total_oi_usd,
+ ROUND(
+ oi.long_oi,
+ 2
+ ) as long_oi,
+ ROUND(
+ oi.short_oi,
+ 2
+ ) as short_oi,
+ oi.long_oi_pct,
+ oi.short_oi_pct
+from
+ base
+inner join oi
+ on base.id = oi.id
+inner join total_oi
+ on base.id = total_oi.id
\ 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_1841f1aaf0d4a728f0fe501f45320918.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_1841f1aaf0d4a728f0fe501f45320918.sql
new file mode 100644
index 00000000..b0b7610a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_1841f1aaf0d4a728f0fe501f45320918.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 long_oi >= 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_60cb8b800a7a7dde19a25a05fd1993d6.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_60cb8b800a7a7dde19a25a05fd1993d6.sql
new file mode 100644
index 00000000..78c7ba34
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_60cb8b800a7a7dde19a25a05fd1993d6.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 total_oi_usd >= 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_79a7008c507781129f636896ba0d1292.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_79a7008c507781129f636896ba0d1292.sql
new file mode 100644
index 00000000..8e8bab04
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_79a7008c507781129f636896ba0d1292.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 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_balance >= 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_bc49726926805f457ae098cefb44322f.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bc49726926805f457ae098cefb44322f.sql
new file mode 100644
index 00000000..c826752a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bc49726926805f457ae098cefb44322f.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 short_oi >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bcfdf737f33cd2eae7ffddf9f664dcbe.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bcfdf737f33cd2eae7ffddf9f664dcbe.sql
new file mode 100644
index 00000000..f8dbe76f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bcfdf737f33cd2eae7ffddf9f664dcbe.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 prev_size >= 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_dad44808f73cf753587a38a5eaaf5ba6.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_dad44808f73cf753587a38a5eaaf5ba6.sql
new file mode 100644
index 00000000..11d12bca
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_dad44808f73cf753587a38a5eaaf5ba6.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_oi_usd >= 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_e59e47e70e9b2aa83712346884614621.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e59e47e70e9b2aa83712346884614621.sql
new file mode 100644
index 00000000..a86a71e5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e59e47e70e9b2aa83712346884614621.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 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_balance >= 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_account_acti_16fc7f23db0fa98aecffbf265254aa18.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_16fc7f23db0fa98aecffbf265254aa18.sql
new file mode 100644
index 00000000..c432902a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_16fc7f23db0fa98aecffbf265254aa18.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select new_accounts_monthly
+from "analytics"."prod_base_sepolia"."fct_perp_account_activity_base_sepolia"
+where new_accounts_monthly is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_e631d7b20dbe7074e88afd04936d2dd2.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_e631d7b20dbe7074e88afd04936d2dd2.sql
new file mode 100644
index 00000000..90f70bed
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_e631d7b20dbe7074e88afd04936d2dd2.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select new_accounts_daily
+from "analytics"."prod_base_sepolia"."fct_perp_account_activity_base_sepolia"
+where new_accounts_daily is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_dau.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_dau.sql
new file mode 100644
index 00000000..b0be6999
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_dau.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select dau
+from "analytics"."prod_base_sepolia"."fct_perp_account_activity_base_sepolia"
+where dau is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_mau.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_mau.sql
new file mode 100644
index 00000000..05a8a70a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_mau.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select mau
+from "analytics"."prod_base_sepolia"."fct_perp_account_activity_base_sepolia"
+where mau is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_ts.sql
new file mode 100644
index 00000000..e040c29c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_perp_account_activity_base_sepolia"
+where ts is null
+
+
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_b_1423ead140547cd6b658a956c10d36b3.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_1423ead140547cd6b658a956c10d36b3.sql
new file mode 100644
index 00000000..0038e9e9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_1423ead140547cd6b658a956c10d36b3.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_balance
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+where account_balance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_46b58854835cd4401ebd8775684aef09.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_46b58854835cd4401ebd8775684aef09.sql
new file mode 100644
index 00000000..34dfae0f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_46b58854835cd4401ebd8775684aef09.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_id
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+where collateral_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_555eb2002c313ec00f0d120bfc28ad1f.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_555eb2002c313ec00f0d120bfc28ad1f.sql
new file mode 100644
index 00000000..b9174da6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_555eb2002c313ec00f0d120bfc28ad1f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_token_address
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+where synth_token_address is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_57dd6e71d63027de6713c427503d3a2a.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_57dd6e71d63027de6713c427503d3a2a.sql
new file mode 100644
index 00000000..1d8a8c07
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_57dd6e71d63027de6713c427503d3a2a.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_9e40e86186b7e2f3711c0222059e2a63.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_9e40e86186b7e2f3711c0222059e2a63.sql
new file mode 100644
index 00000000..7ccb37c7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_9e40e86186b7e2f3711c0222059e2a63.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_balance_usd
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+where account_balance_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_badc45fba33606f7df6ad5bb0eae1325.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_badc45fba33606f7df6ad5bb0eae1325.sql
new file mode 100644
index 00000000..1b511708
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_badc45fba33606f7df6ad5bb0eae1325.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_balance
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+where total_balance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_ec8f2b96e79012a9e73ce517ef91685c.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_ec8f2b96e79012a9e73ce517ef91685c.sql
new file mode 100644
index 00000000..6d688db6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_ec8f2b96e79012a9e73ce517ef91685c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delta_usd
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+where amount_delta_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_amount_delta.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_amount_delta.sql
new file mode 100644
index 00000000..fd1ee815
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_amount_delta.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delta
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+where amount_delta is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_event_type.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_event_type.sql
new file mode 100644
index 00000000..7b21dbcb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_event_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_type
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+where event_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_synth_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_synth_symbol.sql
new file mode 100644
index 00000000..dac4a063
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_synth_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_symbol
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+where synth_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_ts.sql
new file mode 100644
index 00000000..bf1a9ac2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_balances_base_sepolia"
+where ts 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_oi.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_long_oi.sql
new file mode 100644
index 00000000..dacedffa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_long_oi.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select long_oi
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where long_oi 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_oi_usd.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_oi_usd.sql
new file mode 100644
index 00000000..acfc0de4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_oi_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_oi_usd
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where market_oi_usd 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_prev_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_prev_size.sql
new file mode 100644
index 00000000..7ec11cdb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_prev_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select prev_size
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where prev_size 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_oi.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_short_oi.sql
new file mode 100644
index 00000000..58f9870e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_short_oi.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select short_oi
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where short_oi 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_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_total_oi_usd.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_total_oi_usd.sql
new file mode 100644
index 00000000..f6fa59c3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_total_oi_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_oi_usd
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where total_oi_usd 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_activity_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_activity_eth_mainnet.sql
new file mode 100644
index 00000000..a5e8022c
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_activity_eth_mainnet.sql
@@ -0,0 +1,39 @@
+
+
+with delegated as (
+ select distinct
+ block_timestamp,
+ account_id,
+ 'Delegated' as account_action
+ from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+),
+
+withdrawn as (
+ select
+ block_timestamp,
+ account_id,
+ 'Withdrawn' as account_action
+ from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+),
+
+claimed as (
+ select
+ block_timestamp,
+ account_id,
+ 'Claimed' as account_action
+ from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+),
+
+combined as (
+ select * from delegated
+ union all
+ select * from withdrawn
+ union all
+ select * from claimed
+)
+
+select
+ block_timestamp,
+ account_action,
+ account_id
+from combined
\ No newline at end of file
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_active_stakers_daily_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_active_stakers_daily_eth_mainnet.sql
new file mode 100644
index 00000000..520f2324
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_active_stakers_daily_eth_mainnet.sql
@@ -0,0 +1,49 @@
+
+
+with delegation_updated as (
+ select
+ block_timestamp,
+ account_id,
+ amount
+ from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+),
+
+dim as (
+ select
+ d.block_date,
+ accounts_unique.account_id
+ from (
+ select
+ generate_series(
+ date_trunc('day', date('2023-12-15')),
+ date_trunc('day', current_date), '1 day'::interval
+ ) as block_date
+ ) as d
+ cross join (
+ select distinct account_id from delegation_updated
+ ) as accounts_unique
+),
+
+stakers as (
+ select
+ dim.block_date,
+ dim.account_id,
+ case
+ when coalesce(last(delegation_updated.amount) over (
+ partition by dim.account_id
+ order by dim.block_date
+ rows between unbounded preceding and current row
+ ), 0) = 0 then 0
+ else 1
+ end as is_staking
+ from dim
+ left join delegation_updated on
+ dim.block_date = date(delegation_updated.block_timestamp)
+ and dim.account_id = delegation_updated.account_id
+)
+
+select
+ block_date,
+ sum(is_staking) as nof_stakers_daily
+from stakers
+group by block_date
\ 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..a220d75e
--- /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
+ date_trunc('hour', 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_accou_3481d974acc4cf439d3c9ad7e7739454.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_accou_3481d974acc4cf439d3c9ad7e7739454.sql
new file mode 100644
index 00000000..c91aad47
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_accou_3481d974acc4cf439d3c9ad7e7739454.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ account_action as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_eth_mainnet"."fct_core_account_activity_eth_mainnet"
+ group by account_action
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Delegated','Withdrawn','Claimed'
+)
+
+
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_activity_eth_mainnet_account_action.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_activity_eth_mainnet_account_action.sql
new file mode 100644
index 00000000..d54d5996
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_activity_eth_mainnet_account_action.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_action
+from "analytics"."prod_eth_mainnet"."fct_core_account_activity_eth_mainnet"
+where account_action is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_activity_eth_mainnet_account_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_activity_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..78a0f727
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_activity_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_eth_mainnet"."fct_core_account_activity_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_activity_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_activity_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..87359b7a
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_activity_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_eth_mainnet"."fct_core_account_activity_eth_mainnet"
+where block_timestamp is null
+
+
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_active_stakers_daily_eth_mainnet_block_date.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_active_stakers_daily_eth_mainnet_block_date.sql
new file mode 100644
index 00000000..d1cc1a0b
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_active_stakers_daily_eth_mainnet_block_date.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_date
+from "analytics"."prod_eth_mainnet"."fct_core_active_stakers_daily_eth_mainnet"
+where block_date 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/perp/perp_account_created_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_account_created_arbitrum_mainnet.sql
new file mode 100644
index 00000000..888cc787
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_account_created_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."perps_market_proxy_event_account_created"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_account_liquidation_attempt_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_account_liquidation_attempt_arbitrum_mainnet.sql
new file mode 100644
index 00000000..c635eacf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_account_liquidation_attempt_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."perps_market_proxy_event_account_liquidation_attempt"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_collateral_modified_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_collateral_modified_arbitrum_mainnet.sql
new file mode 100644
index 00000000..41dedcd6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_collateral_modified_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."perps_market_proxy_event_collateral_modified"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_interest_charged_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_interest_charged_arbitrum_mainnet.sql
new file mode 100644
index 00000000..a860983b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_interest_charged_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."perps_market_proxy_event_interest_charged"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_interest_rate_updated_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_interest_rate_updated_arbitrum_mainnet.sql
new file mode 100644
index 00000000..b175f775
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_interest_rate_updated_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."perps_market_proxy_event_interest_rate_updated"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_market_created_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_market_created_arbitrum_mainnet.sql
new file mode 100644
index 00000000..2ea6f854
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_market_created_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."perps_market_proxy_event_market_created"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_market_updated_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_market_updated_arbitrum_mainnet.sql
new file mode 100644
index 00000000..124ed99f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_market_updated_arbitrum_mainnet.sql
@@ -0,0 +1,26 @@
+with current_events as (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_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,
+ interest_rate
+from
+ current_events
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_order_committed_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_order_committed_arbitrum_mainnet.sql
new file mode 100644
index 00000000..dd2925ee
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_order_committed_arbitrum_mainnet.sql
@@ -0,0 +1,29 @@
+with current_events as (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_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,
+ 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/arbitrum/mainnet/perp/perp_order_settled_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_order_settled_arbitrum_mainnet.sql
new file mode 100644
index 00000000..b6b77f82
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_order_settled_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."perps_market_proxy_event_order_settled"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_position_liquidated_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_position_liquidated_arbitrum_mainnet.sql
new file mode 100644
index 00000000..b2767f3d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_position_liquidated_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."perps_market_proxy_event_position_liquidated"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_previous_order_expired_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_previous_order_expired_arbitrum_mainnet.sql
new file mode 100644
index 00000000..ce103e6d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_previous_order_expired_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."perps_market_proxy_event_previous_order_expired"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_account_c_ad536fa73a69e172f98a6e8e372642eb.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_account_c_ad536fa73a69e172f98a6e8e372642eb.sql
new file mode 100644
index 00000000..96c6d2b7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_account_c_ad536fa73a69e172f98a6e8e372642eb.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"."perp_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/perp/schema.yml/accepted_values_perp_account_l_e08ea4c1ba82fb6ac26590db03457801.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_account_l_e08ea4c1ba82fb6ac26590db03457801.sql
new file mode 100644
index 00000000..f1443032
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_account_l_e08ea4c1ba82fb6ac26590db03457801.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"."perp_account_liquidation_attempt_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'AccountLiquidationAttempt'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_collatera_f7b43b877d91586e7a54f2f480c7e20a.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_collatera_f7b43b877d91586e7a54f2f480c7e20a.sql
new file mode 100644
index 00000000..5fab94f8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_collatera_f7b43b877d91586e7a54f2f480c7e20a.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"."perp_collateral_modified_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'CollateralModified'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_interest__b38f2f5b297cf6983daeeb9f3743db1a.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_interest__b38f2f5b297cf6983daeeb9f3743db1a.sql
new file mode 100644
index 00000000..603f3e02
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_interest__b38f2f5b297cf6983daeeb9f3743db1a.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"."perp_interest_rate_updated_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestRateUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_interest__d6b8b8deefd1f49a80db78c6335f476b.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_interest__d6b8b8deefd1f49a80db78c6335f476b.sql
new file mode 100644
index 00000000..bce44d03
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_interest__d6b8b8deefd1f49a80db78c6335f476b.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"."perp_interest_charged_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestCharged'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_market_cr_76654e6695a0017950c568894f7c9160.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_market_cr_76654e6695a0017950c568894f7c9160.sql
new file mode 100644
index 00000000..d611ae91
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_market_cr_76654e6695a0017950c568894f7c9160.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"."perp_market_created_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_market_up_96868c8ca25b68dc23628635feea72fd.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_market_up_96868c8ca25b68dc23628635feea72fd.sql
new file mode 100644
index 00000000..3ed45f0a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_market_up_96868c8ca25b68dc23628635feea72fd.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"."perp_market_updated_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_order_com_1ede6222ca85cf83e2e502d5067ab257.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_order_com_1ede6222ca85cf83e2e502d5067ab257.sql
new file mode 100644
index 00000000..d96793ee
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_order_com_1ede6222ca85cf83e2e502d5067ab257.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"."perp_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/perp/schema.yml/accepted_values_perp_order_set_3853d401f2e5cee7c207ccf9a282cd2f.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_order_set_3853d401f2e5cee7c207ccf9a282cd2f.sql
new file mode 100644
index 00000000..526d652d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_order_set_3853d401f2e5cee7c207ccf9a282cd2f.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"."perp_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/perp/schema.yml/accepted_values_perp_position__11574660f3b008caba0e75c051a8f0c9.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_position__11574660f3b008caba0e75c051a8f0c9.sql
new file mode 100644
index 00000000..23f4b5c7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_position__11574660f3b008caba0e75c051a8f0c9.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"."perp_position_liquidated_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PositionLiquidated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_previous__8b2d4ec500fcbd5393c14186325532d5.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_previous__8b2d4ec500fcbd5393c14186325532d5.sql
new file mode 100644
index 00000000..115fcbb5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_previous__8b2d4ec500fcbd5393c14186325532d5.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"."perp_previous_order_expired_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PreviousOrderExpired'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1ba201da8444fd8939aa900e476fa69e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1ba201da8444fd8939aa900e476fa69e.sql
new file mode 100644
index 00000000..40187780
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1ba201da8444fd8939aa900e476fa69e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_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 current_position_size >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1c9a1f30a4a647507e5f545b1882909d.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1c9a1f30a4a647507e5f545b1882909d.sql
new file mode 100644
index 00000000..78a1f398
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1c9a1f30a4a647507e5f545b1882909d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_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/perp/schema.yml/dbt_utils_accepted_range_perp__22006da0d293618a514ac7a9ca241586.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__22006da0d293618a514ac7a9ca241586.sql
new file mode 100644
index 00000000..b18c6264
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__22006da0d293618a514ac7a9ca241586.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_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/perp/schema.yml/dbt_utils_accepted_range_perp__3bf63a7e9121704fe7fdc59226aafb10.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__3bf63a7e9121704fe7fdc59226aafb10.sql
new file mode 100644
index 00000000..5c6bdb75
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__3bf63a7e9121704fe7fdc59226aafb10.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_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 price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4ba9f1a82af203aaf765ea2358992714.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4ba9f1a82af203aaf765ea2358992714.sql
new file mode 100644
index 00000000..05d818ea
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4ba9f1a82af203aaf765ea2358992714.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_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/perp/schema.yml/dbt_utils_accepted_range_perp__56f7ffe51488e65f8880c7b8c167cd89.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__56f7ffe51488e65f8880c7b8c167cd89.sql
new file mode 100644
index 00000000..d7d09315
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__56f7ffe51488e65f8880c7b8c167cd89.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_rate_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 interest_rate >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__58f8a3f97753beeb17f6aee7f5f641e5.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__58f8a3f97753beeb17f6aee7f5f641e5.sql
new file mode 100644
index 00000000..1db6475c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__58f8a3f97753beeb17f6aee7f5f641e5.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_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 account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5cb5cc6a827bd3c08824f31f858fdce7.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5cb5cc6a827bd3c08824f31f858fdce7.sql
new file mode 100644
index 00000000..856f42db
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5cb5cc6a827bd3c08824f31f858fdce7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_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_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__6f1bc4db15b9550cf73dd0245de3ed99.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__6f1bc4db15b9550cf73dd0245de3ed99.sql
new file mode 100644
index 00000000..8c5fd097
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__6f1bc4db15b9550cf73dd0245de3ed99.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_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/perp/schema.yml/dbt_utils_accepted_range_perp__91406c6c5c92a1e1d64e71aa1eeb2481.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__91406c6c5c92a1e1d64e71aa1eeb2481.sql
new file mode 100644
index 00000000..cbf7db1a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__91406c6c5c92a1e1d64e71aa1eeb2481.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_charged_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/perp/schema.yml/dbt_utils_accepted_range_perp__96052d118a2bd5a2254af73cb0b383ed.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__96052d118a2bd5a2254af73cb0b383ed.sql
new file mode 100644
index 00000000..e8cddeb9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__96052d118a2bd5a2254af73cb0b383ed.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_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/perp/schema.yml/dbt_utils_accepted_range_perp__9c0083a0ac46f3ce69e1fad350f4e7a4.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__9c0083a0ac46f3ce69e1fad350f4e7a4.sql
new file mode 100644
index 00000000..f4ac94fb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__9c0083a0ac46f3ce69e1fad350f4e7a4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_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/perp/schema.yml/dbt_utils_accepted_range_perp__a3819aa0da09fc29fbfaf4515955d8b5.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__a3819aa0da09fc29fbfaf4515955d8b5.sql
new file mode 100644
index 00000000..0ab5d619
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__a3819aa0da09fc29fbfaf4515955d8b5.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_rate_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 super_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__b8618513df7561a108f28d10061ee977.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__b8618513df7561a108f28d10061ee977.sql
new file mode 100644
index 00000000..23cb1450
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__b8618513df7561a108f28d10061ee977.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_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 account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__b86f5c160471e4b0acc7f7eb79fb5d5c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__b86f5c160471e4b0acc7f7eb79fb5d5c.sql
new file mode 100644
index 00000000..256ec2e3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__b86f5c160471e4b0acc7f7eb79fb5d5c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_previous_order_expired_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/perp/schema.yml/dbt_utils_accepted_range_perp__b96e3cc2db64c17056b956c0d240030a.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__b96e3cc2db64c17056b956c0d240030a.sql
new file mode 100644
index 00000000..1121951e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__b96e3cc2db64c17056b956c0d240030a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_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 interest_rate >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__be2e9f6a3b1e7e1d6e67b0767b82c85e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__be2e9f6a3b1e7e1d6e67b0767b82c85e.sql
new file mode 100644
index 00000000..381753cf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__be2e9f6a3b1e7e1d6e67b0767b82c85e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_previous_order_expired_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/perp/schema.yml/dbt_utils_accepted_range_perp__ca2e2aa725c41a4c2aebf56b0c0174b0.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__ca2e2aa725c41a4c2aebf56b0c0174b0.sql
new file mode 100644
index 00000000..e99a9945
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__ca2e2aa725c41a4c2aebf56b0c0174b0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_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_liquidated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__d9dfec8f1629560d478bbec1f9b65fac.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__d9dfec8f1629560d478bbec1f9b65fac.sql
new file mode 100644
index 00000000..e27c50ed
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__d9dfec8f1629560d478bbec1f9b65fac.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_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 perps_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e5fa40697cdd09e1992362906d26e089.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e5fa40697cdd09e1992362906d26e089.sql
new file mode 100644
index 00000000..3e0474df
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e5fa40697cdd09e1992362906d26e089.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_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/perp/schema.yml/dbt_utils_accepted_range_perp__e6c5697bbf9d848353fcb5b5dbc9fc22.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e6c5697bbf9d848353fcb5b5dbc9fc22.sql
new file mode 100644
index 00000000..51a34c34
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e6c5697bbf9d848353fcb5b5dbc9fc22.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_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/perp/schema.yml/dbt_utils_accepted_range_perp__e77fc265631cce00efad12c7c04ac131.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e77fc265631cce00efad12c7c04ac131.sql
new file mode 100644
index 00000000..4cc7ec18
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e77fc265631cce00efad12c7c04ac131.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_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 reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__eab6fcbdb77cbe6e82c9735f2fe8b151.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__eab6fcbdb77cbe6e82c9735f2fe8b151.sql
new file mode 100644
index 00000000..6f5284ce
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__eab6fcbdb77cbe6e82c9735f2fe8b151.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."perp_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/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..d7a44b8b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_created_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..073abedf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_created_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..49ca8c52
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_created_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..c36678f8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_created_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..3b72b71b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_created_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..73c035f8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_created_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_owner.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_owner.sql
new file mode 100644
index 00000000..b320e500
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_created_arbitrum_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..1b357b15
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_created_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_0b681aef0741ed806b7204047c1740cf.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_0b681aef0741ed806b7204047c1740cf.sql
new file mode 100644
index 00000000..c6d345e4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_0b681aef0741ed806b7204047c1740cf.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select reward
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_mainnet"
+where reward is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_0f82999a80450d03b61b144cc0fca13a.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_0f82999a80450d03b61b144cc0fca13a.sql
new file mode 100644
index 00000000..20630909
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_0f82999a80450d03b61b144cc0fca13a.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5894c14b057748a46465d0283cc333b6.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5894c14b057748a46465d0283cc333b6.sql
new file mode 100644
index 00000000..a402bf4f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5894c14b057748a46465d0283cc333b6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_7817adb4c678a01ccf22dc4473efbe0d.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_7817adb4c678a01ccf22dc4473efbe0d.sql
new file mode 100644
index 00000000..7c26f164
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_7817adb4c678a01ccf22dc4473efbe0d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_95a9cab9f1eb33acaccbbf0d1796bdf9.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_95a9cab9f1eb33acaccbbf0d1796bdf9.sql
new file mode 100644
index 00000000..37f5b64a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_95a9cab9f1eb33acaccbbf0d1796bdf9.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_dc612dd0fc5561975d0564262311e850.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_dc612dd0fc5561975d0564262311e850.sql
new file mode 100644
index 00000000..63dae114
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_dc612dd0fc5561975d0564262311e850.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_e9577753476537e2431402ad6ffbe7a6.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_e9577753476537e2431402ad6ffbe7a6.sql
new file mode 100644
index 00000000..008fece7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_e9577753476537e2431402ad6ffbe7a6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select full_liquidation
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_mainnet"
+where full_liquidation is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_fb00df2cd316359481ed878400b3e50d.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_fb00df2cd316359481ed878400b3e50d.sql
new file mode 100644
index 00000000..5d463a30
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_fb00df2cd316359481ed878400b3e50d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..f721ae0d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_77beb17d3fe51071c61a6d63af9a80d6.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_77beb17d3fe51071c61a6d63af9a80d6.sql
new file mode 100644
index 00000000..02cc3a70
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_77beb17d3fe51071c61a6d63af9a80d6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet"
+where collateral_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_8f3171ee98bdf94b79319e1be3be5956.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_8f3171ee98bdf94b79319e1be3be5956.sql
new file mode 100644
index 00000000..fcdcc87e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_8f3171ee98bdf94b79319e1be3be5956.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_f5d447d13a4864a9fce094a33af8d88e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_f5d447d13a4864a9fce094a33af8d88e.sql
new file mode 100644
index 00000000..06984c48
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_f5d447d13a4864a9fce094a33af8d88e.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..3148b2b2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..4673a62b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..7953b1d2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..a2adfc37
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..2631d24a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..4dc6757a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_3b81ef9b2573c72971914b3d3b49b5e6.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_3b81ef9b2573c72971914b3d3b49b5e6.sql
new file mode 100644
index 00000000..554fe7e8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_3b81ef9b2573c72971914b3d3b49b5e6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_charged_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..ff50743d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_charged_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..d9e3ea73
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_charged_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..9c5bf3bd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_charged_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..960dd3e4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_charged_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..56d99f91
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_charged_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..eb7629dc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_charged_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_0e9244fe507426bd1c0109235d3c140f.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_0e9244fe507426bd1c0109235d3c140f.sql
new file mode 100644
index 00000000..30b58d55
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_0e9244fe507426bd1c0109235d3c140f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_rate_updated_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_4ea715095b30069d0e5dc8f4d21abcb6.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_4ea715095b30069d0e5dc8f4d21abcb6.sql
new file mode 100644
index 00000000..046feb9c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_4ea715095b30069d0e5dc8f4d21abcb6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_rate_updated_arbitrum_mainnet"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_9059128f98c3da3c81e1de978bf559dc.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_9059128f98c3da3c81e1de978bf559dc.sql
new file mode 100644
index 00000000..c5d1f7b3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_9059128f98c3da3c81e1de978bf559dc.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select super_market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_rate_updated_arbitrum_mainnet"
+where super_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_c215a28815435d331897ce2f88fe7e7c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_c215a28815435d331897ce2f88fe7e7c.sql
new file mode 100644
index 00000000..b52561c5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_c215a28815435d331897ce2f88fe7e7c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_rate_updated_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccd029a1676f02cde447a6e183469d9b.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccd029a1676f02cde447a6e183469d9b.sql
new file mode 100644
index 00000000..dda3b4e3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccd029a1676f02cde447a6e183469d9b.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_rate_updated_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..d98f4d44
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_rate_updated_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..cd5cff7d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_rate_updated_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..f1233872
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_rate_updated_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..dc74fff5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_created_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..9b149577
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_created_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..a03fe51f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_created_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..35e219ec
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_created_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..acccdfec
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_created_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_market_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_market_name.sql
new file mode 100644
index 00000000..97e311ba
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_market_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_created_arbitrum_mainnet"
+where market_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_market_symbol.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_market_symbol.sql
new file mode 100644
index 00000000..e8fba01b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_created_arbitrum_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_perps_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_perps_market_id.sql
new file mode 100644
index 00000000..d753413c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_perps_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select perps_market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_created_arbitrum_mainnet"
+where perps_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..2c186e65
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_created_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..dabd6aaa
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_updated_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..e3c70a92
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_updated_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..cf0c19aa
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_updated_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..45c81c6e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_updated_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..53d22cac
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_updated_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_interest_rate.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_interest_rate.sql
new file mode 100644
index 00000000..70500a23
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_interest_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_updated_arbitrum_mainnet"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..1090794c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_updated_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_price.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_price.sql
new file mode 100644
index 00000000..e954715e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_updated_arbitrum_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..866a5125
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_updated_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..a16fd0f7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_committed_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..70f95cca
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_committed_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..f68849a9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_committed_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..312e6e52
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_committed_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..db866e8c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_committed_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..69a42d52
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_committed_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..b8508a20
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_committed_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..ea969883
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_committed_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..6c38fdb1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_settled_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..ddb133d8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_settled_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..224361ae
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_settled_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_collected_fees.sql
new file mode 100644
index 00000000..ad0ad683
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_settled_arbitrum_mainnet"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..c41e1ae6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_settled_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..b78910a5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_settled_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..74b62abe
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_settled_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..9fe82cf3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_settled_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..14b14651
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_order_settled_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_5286686b59e626f40ffd8eb5b0719611.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_5286686b59e626f40ffd8eb5b0719611.sql
new file mode 100644
index 00000000..ffcbd6b0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_5286686b59e626f40ffd8eb5b0719611.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_liquidated
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+where amount_liquidated is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_a7e2cf044bc951dcf2012601aa0cf34f.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_a7e2cf044bc951dcf2012601aa0cf34f.sql
new file mode 100644
index 00000000..211a5a5d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_a7e2cf044bc951dcf2012601aa0cf34f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select current_position_size
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+where current_position_size is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_ba81c81d4b4cda4e615359afe1fe4fae.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_ba81c81d4b4cda4e615359afe1fe4fae.sql
new file mode 100644
index 00000000..02443faa
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_ba81c81d4b4cda4e615359afe1fe4fae.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_f72413746226d975b668810030d1f157.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_f72413746226d975b668810030d1f157.sql
new file mode 100644
index 00000000..972b1de1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_f72413746226d975b668810030d1f157.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..1762b223
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..cb3902d4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..5cbb59cd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..20a2d4e9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..047397a9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..958f9cdf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_237613c86fd3e843eb7ff01b5ad163d6.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_237613c86fd3e843eb7ff01b5ad163d6.sql
new file mode 100644
index 00000000..ad68007d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_237613c86fd3e843eb7ff01b5ad163d6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_previous_order_expired_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_3b633e0e9803b2d938f1bdd59e52ab9c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_3b633e0e9803b2d938f1bdd59e52ab9c.sql
new file mode 100644
index 00000000..a755211c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_3b633e0e9803b2d938f1bdd59e52ab9c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_previous_order_expired_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_3b9f2ad127f349bad779ec9cbd5d7014.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_3b9f2ad127f349bad779ec9cbd5d7014.sql
new file mode 100644
index 00000000..47f26cdf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_3b9f2ad127f349bad779ec9cbd5d7014.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_previous_order_expired_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_a1efcbfea89850ca046fd95b736da7e3.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_a1efcbfea89850ca046fd95b736da7e3.sql
new file mode 100644
index 00000000..9b2e465a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_a1efcbfea89850ca046fd95b736da7e3.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_previous_order_expired_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_eddc3e9a21c2bbfdfac5cc02fbafd26a.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_eddc3e9a21c2bbfdfac5cc02fbafd26a.sql
new file mode 100644
index 00000000..6c8313de
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_eddc3e9a21c2bbfdfac5cc02fbafd26a.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_previous_order_expired_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..275a0e0c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_previous_order_expired_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..473f85ec
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_previous_order_expired_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..14dbc5f1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_previous_order_expired_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_account_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_account_created_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..04c1f79c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_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"."perp_account_created_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..11f97c34
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_account_liquidation_attempt_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_collateral_modified_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_collateral_modified_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..51635fc5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_collateral_modified_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_collateral_modified_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_interest_charged_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_interest_charged_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..e8c06be9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_interest_charged_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_charged_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_interest_rate_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_interest_rate_updated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..0ad026f5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_interest_rate_updated_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_interest_rate_updated_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_market_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_market_created_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..80ada4ed
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_market_created_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_market_created_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_market_updated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..6f2b8d6f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_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"."perp_market_updated_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_order_committed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_order_committed_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..c6a84a69
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_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"."perp_order_committed_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_order_settled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_order_settled_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..5416589a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_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"."perp_order_settled_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_position_liquidated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_position_liquidated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..25a61a21
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_position_liquidated_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_position_liquidated_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_previous_order_expired_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_previous_order_expired_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..520ef338
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_previous_order_expired_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."perp_previous_order_expired_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..801b25b6
--- /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_sepolia"."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/perp/perp_account_created_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_account_created_arbitrum_sepolia.sql
new file mode 100644
index 00000000..4228e965
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_account_created_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."perps_market_proxy_event_account_created"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_account_liquidation_attempt_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_account_liquidation_attempt_arbitrum_sepolia.sql
new file mode 100644
index 00000000..6ad1a8be
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_account_liquidation_attempt_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."perps_market_proxy_event_account_liquidation_attempt"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_collateral_modified_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_collateral_modified_arbitrum_sepolia.sql
new file mode 100644
index 00000000..f948430d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_collateral_modified_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."perps_market_proxy_event_collateral_modified"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_interest_charged_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_interest_charged_arbitrum_sepolia.sql
new file mode 100644
index 00000000..e7ffd460
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_interest_charged_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."perps_market_proxy_event_interest_charged"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_interest_rate_updated_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_interest_rate_updated_arbitrum_sepolia.sql
new file mode 100644
index 00000000..9c0a99d4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_interest_rate_updated_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."perps_market_proxy_event_interest_rate_updated"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_market_created_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_market_created_arbitrum_sepolia.sql
new file mode 100644
index 00000000..f41fd34b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_market_created_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."perps_market_proxy_event_market_created"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_market_updated_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_market_updated_arbitrum_sepolia.sql
new file mode 100644
index 00000000..f8a99587
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_market_updated_arbitrum_sepolia.sql
@@ -0,0 +1,26 @@
+with current_events as (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_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,
+ interest_rate
+from
+ current_events
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_order_committed_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_order_committed_arbitrum_sepolia.sql
new file mode 100644
index 00000000..0f2a1de3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_order_committed_arbitrum_sepolia.sql
@@ -0,0 +1,29 @@
+with current_events as (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_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,
+ 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/arbitrum/sepolia/perp/perp_order_settled_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_order_settled_arbitrum_sepolia.sql
new file mode 100644
index 00000000..06736e4b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_order_settled_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."perps_market_proxy_event_order_settled"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_position_liquidated_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_position_liquidated_arbitrum_sepolia.sql
new file mode 100644
index 00000000..784c3fd5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_position_liquidated_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."perps_market_proxy_event_position_liquidated"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_previous_order_expired_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_previous_order_expired_arbitrum_sepolia.sql
new file mode 100644
index 00000000..4739bc4b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_previous_order_expired_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."perps_market_proxy_event_previous_order_expired"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_account_c_fb36bcc0cb924806c382ae655219e3c6.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_account_c_fb36bcc0cb924806c382ae655219e3c6.sql
new file mode 100644
index 00000000..0a0594bf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_account_c_fb36bcc0cb924806c382ae655219e3c6.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"."perp_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/perp/schema.yml/accepted_values_perp_account_l_d9885725f39442c0ed58641d9d527da3.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_account_l_d9885725f39442c0ed58641d9d527da3.sql
new file mode 100644
index 00000000..774ea256
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_account_l_d9885725f39442c0ed58641d9d527da3.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"."perp_account_liquidation_attempt_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'AccountLiquidationAttempt'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_collatera_cb9df45b62541f92bff2940dac7304b2.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_collatera_cb9df45b62541f92bff2940dac7304b2.sql
new file mode 100644
index 00000000..285caae4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_collatera_cb9df45b62541f92bff2940dac7304b2.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"."perp_collateral_modified_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'CollateralModified'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_interest__2abf43b97623c31ec2bf49a478918d02.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_interest__2abf43b97623c31ec2bf49a478918d02.sql
new file mode 100644
index 00000000..7ad66363
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_interest__2abf43b97623c31ec2bf49a478918d02.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"."perp_interest_charged_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestCharged'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_interest__7e084fe2d561c07efa0fa9dae11de573.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_interest__7e084fe2d561c07efa0fa9dae11de573.sql
new file mode 100644
index 00000000..086716a7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_interest__7e084fe2d561c07efa0fa9dae11de573.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"."perp_interest_rate_updated_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestRateUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_market_cr_ae20ec9e25ac78bba8b94cc2cb4a82ba.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_market_cr_ae20ec9e25ac78bba8b94cc2cb4a82ba.sql
new file mode 100644
index 00000000..aa2e0354
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_market_cr_ae20ec9e25ac78bba8b94cc2cb4a82ba.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"."perp_market_created_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_market_up_b71df1f1383e9ff6d42787c17ec6487e.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_market_up_b71df1f1383e9ff6d42787c17ec6487e.sql
new file mode 100644
index 00000000..d607299c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_market_up_b71df1f1383e9ff6d42787c17ec6487e.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"."perp_market_updated_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_order_com_dd7c98da07c294902a76090505b58f91.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_order_com_dd7c98da07c294902a76090505b58f91.sql
new file mode 100644
index 00000000..abd8cc6e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_order_com_dd7c98da07c294902a76090505b58f91.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"."perp_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/perp/schema.yml/accepted_values_perp_order_set_361ba1c01a5bd1d51eb0f63d9b07de88.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_order_set_361ba1c01a5bd1d51eb0f63d9b07de88.sql
new file mode 100644
index 00000000..7a8507f6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_order_set_361ba1c01a5bd1d51eb0f63d9b07de88.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"."perp_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/perp/schema.yml/accepted_values_perp_position__d4ffc02c85e7b4130fd24c9a797b0f01.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_position__d4ffc02c85e7b4130fd24c9a797b0f01.sql
new file mode 100644
index 00000000..f68e1b50
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_position__d4ffc02c85e7b4130fd24c9a797b0f01.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"."perp_position_liquidated_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PositionLiquidated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_previous__788fa3e6cd6663c1f0abdd929543acf9.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_previous__788fa3e6cd6663c1f0abdd929543acf9.sql
new file mode 100644
index 00000000..c5cc37c2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_previous__788fa3e6cd6663c1f0abdd929543acf9.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"."perp_previous_order_expired_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PreviousOrderExpired'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1dfcfd7910528cb7829bb3717f7cd971.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1dfcfd7910528cb7829bb3717f7cd971.sql
new file mode 100644
index 00000000..6886cd28
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1dfcfd7910528cb7829bb3717f7cd971.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_previous_order_expired_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/perp/schema.yml/dbt_utils_accepted_range_perp__29d702074b23d9f09b7a9aca903580cd.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__29d702074b23d9f09b7a9aca903580cd.sql
new file mode 100644
index 00000000..53b45016
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__29d702074b23d9f09b7a9aca903580cd.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_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/perp/schema.yml/dbt_utils_accepted_range_perp__3d91e5f1af019b10126876f98678e888.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__3d91e5f1af019b10126876f98678e888.sql
new file mode 100644
index 00000000..d1f8c1b7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__3d91e5f1af019b10126876f98678e888.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_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/perp/schema.yml/dbt_utils_accepted_range_perp__414d178707e38587e5e1a6ccd46b0947.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__414d178707e38587e5e1a6ccd46b0947.sql
new file mode 100644
index 00000000..578f266f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__414d178707e38587e5e1a6ccd46b0947.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_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_liquidated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4343a687482bcbebaa01bdac73d4dcb6.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4343a687482bcbebaa01bdac73d4dcb6.sql
new file mode 100644
index 00000000..6a722e43
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4343a687482bcbebaa01bdac73d4dcb6.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_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/perp/schema.yml/dbt_utils_accepted_range_perp__499992ef9e7bdb4cf5e519a22b0e89c3.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__499992ef9e7bdb4cf5e519a22b0e89c3.sql
new file mode 100644
index 00000000..e0911d1c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__499992ef9e7bdb4cf5e519a22b0e89c3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_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_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4ad68cf30e791d591f8e12d3a6c65d6f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4ad68cf30e791d591f8e12d3a6c65d6f.sql
new file mode 100644
index 00000000..53bb1af9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4ad68cf30e791d591f8e12d3a6c65d6f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_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 interest_rate >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4b8943cb76f3080333c8707a3b542a61.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4b8943cb76f3080333c8707a3b542a61.sql
new file mode 100644
index 00000000..5aa225f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4b8943cb76f3080333c8707a3b542a61.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_rate_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 super_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4e4d41e1f6f1f77dff0f426a75b2733a.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4e4d41e1f6f1f77dff0f426a75b2733a.sql
new file mode 100644
index 00000000..71ed9cb7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4e4d41e1f6f1f77dff0f426a75b2733a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_previous_order_expired_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/perp/schema.yml/dbt_utils_accepted_range_perp__5613f7533d78c85c288c84f20185df99.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__5613f7533d78c85c288c84f20185df99.sql
new file mode 100644
index 00000000..3706029c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__5613f7533d78c85c288c84f20185df99.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_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/perp/schema.yml/dbt_utils_accepted_range_perp__564dcbe5f7841fb0f731d493a85d4213.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__564dcbe5f7841fb0f731d493a85d4213.sql
new file mode 100644
index 00000000..7d911244
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__564dcbe5f7841fb0f731d493a85d4213.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_charged_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/perp/schema.yml/dbt_utils_accepted_range_perp__57f1c4659a2153ba174790ba02b9ee40.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__57f1c4659a2153ba174790ba02b9ee40.sql
new file mode 100644
index 00000000..9bfba3af
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__57f1c4659a2153ba174790ba02b9ee40.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_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 price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__7cdc014ca110a9e025f5db358a48ac34.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__7cdc014ca110a9e025f5db358a48ac34.sql
new file mode 100644
index 00000000..e8398aff
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__7cdc014ca110a9e025f5db358a48ac34.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_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 account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__84a264ec5152ddcf245c17684526e56c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__84a264ec5152ddcf245c17684526e56c.sql
new file mode 100644
index 00000000..16328570
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__84a264ec5152ddcf245c17684526e56c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_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/perp/schema.yml/dbt_utils_accepted_range_perp__8d14d0080bb7657b68f877ab7b35838a.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__8d14d0080bb7657b68f877ab7b35838a.sql
new file mode 100644
index 00000000..d4d4e9ca
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__8d14d0080bb7657b68f877ab7b35838a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_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 perps_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a44b761e36037d7a9a1ff90d75d68683.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a44b761e36037d7a9a1ff90d75d68683.sql
new file mode 100644
index 00000000..5f0c6f97
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a44b761e36037d7a9a1ff90d75d68683.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_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 current_position_size >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b24812419e988546eaaff43e2be85ccf.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b24812419e988546eaaff43e2be85ccf.sql
new file mode 100644
index 00000000..90ba60e8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b24812419e988546eaaff43e2be85ccf.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_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 account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b5e7952e55eca5cb15aefc4dae95e119.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b5e7952e55eca5cb15aefc4dae95e119.sql
new file mode 100644
index 00000000..b7f1b082
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b5e7952e55eca5cb15aefc4dae95e119.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_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/perp/schema.yml/dbt_utils_accepted_range_perp__b6fa98a827e03cebbecaff5f6a45f10c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b6fa98a827e03cebbecaff5f6a45f10c.sql
new file mode 100644
index 00000000..5365ae97
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b6fa98a827e03cebbecaff5f6a45f10c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_rate_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 interest_rate >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__bf6c44d76533302b752a71eef70b84b4.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__bf6c44d76533302b752a71eef70b84b4.sql
new file mode 100644
index 00000000..3d486c9a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__bf6c44d76533302b752a71eef70b84b4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_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 reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__c27bb56289b8c5fb07690cb93ef7bdb5.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__c27bb56289b8c5fb07690cb93ef7bdb5.sql
new file mode 100644
index 00000000..90eb7282
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__c27bb56289b8c5fb07690cb93ef7bdb5.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_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/perp/schema.yml/dbt_utils_accepted_range_perp__d8b3efed4926726890d24653e9227262.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__d8b3efed4926726890d24653e9227262.sql
new file mode 100644
index 00000000..c19b4537
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__d8b3efed4926726890d24653e9227262.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_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/perp/schema.yml/dbt_utils_accepted_range_perp__f39b65446720608bacde00a114d6fbb7.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f39b65446720608bacde00a114d6fbb7.sql
new file mode 100644
index 00000000..e3743e1e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f39b65446720608bacde00a114d6fbb7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."perp_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/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..01e5a967
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_created_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..0cc742b5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_created_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..240ff81c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_created_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..d3d9405c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_created_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..8fe2880b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_created_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..43503589
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_created_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_owner.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_owner.sql
new file mode 100644
index 00000000..f72048ae
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_created_arbitrum_sepolia"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..7abde1ea
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_created_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_0ba1c6ff5151a049c72e320b2adc4e82.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_0ba1c6ff5151a049c72e320b2adc4e82.sql
new file mode 100644
index 00000000..4145c77d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_0ba1c6ff5151a049c72e320b2adc4e82.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_0f615ead2241f2b0da1c113cdd3bdc9b.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_0f615ead2241f2b0da1c113cdd3bdc9b.sql
new file mode 100644
index 00000000..764f21cb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_0f615ead2241f2b0da1c113cdd3bdc9b.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_318add04d7994e5ef8e694ee7f9d4972.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_318add04d7994e5ef8e694ee7f9d4972.sql
new file mode 100644
index 00000000..4872b685
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_318add04d7994e5ef8e694ee7f9d4972.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_3dd283f5466cdfcb95405360b582115e.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_3dd283f5466cdfcb95405360b582115e.sql
new file mode 100644
index 00000000..dc04dac1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_3dd283f5466cdfcb95405360b582115e.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_3f83a5d4a73ffa8d0cc37f93acdc643b.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_3f83a5d4a73ffa8d0cc37f93acdc643b.sql
new file mode 100644
index 00000000..aa53ac71
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_3f83a5d4a73ffa8d0cc37f93acdc643b.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_8fa9cf93c86dd714afbb634c39685df7.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_8fa9cf93c86dd714afbb634c39685df7.sql
new file mode 100644
index 00000000..278427bf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_8fa9cf93c86dd714afbb634c39685df7.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_a56a450b425a1520f3e74082a4598845.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_a56a450b425a1520f3e74082a4598845.sql
new file mode 100644
index 00000000..e7c1eb82
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_a56a450b425a1520f3e74082a4598845.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select full_liquidation
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_sepolia"
+where full_liquidation is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_f0660c273c9e3016481fa8ee86d5cdfe.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_f0660c273c9e3016481fa8ee86d5cdfe.sql
new file mode 100644
index 00000000..0ce4c18a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_f0660c273c9e3016481fa8ee86d5cdfe.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select reward
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_sepolia"
+where reward is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..3e14609a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_2710693ebfae4e4f691e0ec4e1f49dfb.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_2710693ebfae4e4f691e0ec4e1f49dfb.sql
new file mode 100644
index 00000000..62713f53
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_2710693ebfae4e4f691e0ec4e1f49dfb.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_c70c41a0d6510c1221264be01281233c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_c70c41a0d6510c1221264be01281233c.sql
new file mode 100644
index 00000000..f37def7f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_c70c41a0d6510c1221264be01281233c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia"
+where collateral_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_d1d54802ea5fd8909dc97dca566beba5.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_d1d54802ea5fd8909dc97dca566beba5.sql
new file mode 100644
index 00000000..52a5d718
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_d1d54802ea5fd8909dc97dca566beba5.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..e5c3015d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..270fe1c6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..4afa3e41
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..ebc99c98
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..29573be3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..057e5381
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_237151bd45455c299eb93a73345193b6.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_237151bd45455c299eb93a73345193b6.sql
new file mode 100644
index 00000000..c26327fe
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_237151bd45455c299eb93a73345193b6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_charged_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..12278ce3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_charged_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..44c38e26
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_charged_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..cd0667f2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_charged_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..29e4ca69
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_charged_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..78a48b6a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_charged_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..c6814dfb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_charged_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_27e94ced24fc50ea1c35eba1f0f29a88.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_27e94ced24fc50ea1c35eba1f0f29a88.sql
new file mode 100644
index 00000000..69427096
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_27e94ced24fc50ea1c35eba1f0f29a88.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select super_market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_rate_updated_arbitrum_sepolia"
+where super_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_29c9dd904994b6dd5d0a6259daf677ce.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_29c9dd904994b6dd5d0a6259daf677ce.sql
new file mode 100644
index 00000000..5a970be9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_29c9dd904994b6dd5d0a6259daf677ce.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_rate_updated_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_35694be240f7f6287a9998455367ad56.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_35694be240f7f6287a9998455367ad56.sql
new file mode 100644
index 00000000..21419303
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_35694be240f7f6287a9998455367ad56.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_rate_updated_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_411db81219abefdf0b12687adf6bc6ce.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_411db81219abefdf0b12687adf6bc6ce.sql
new file mode 100644
index 00000000..94d463b8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_411db81219abefdf0b12687adf6bc6ce.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_rate_updated_arbitrum_sepolia"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_c751a4538dbebe7628fa598424d2a66a.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_c751a4538dbebe7628fa598424d2a66a.sql
new file mode 100644
index 00000000..cc55f836
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_c751a4538dbebe7628fa598424d2a66a.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_rate_updated_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..c1e56158
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_rate_updated_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..93d8e399
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_rate_updated_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..99bceeff
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_rate_updated_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..4190645b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_created_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..bb4c5ebe
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_created_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..c33bcbf0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_created_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..02c51f9b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_created_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..fdf41172
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_created_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_market_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_market_name.sql
new file mode 100644
index 00000000..6a09d787
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_market_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_created_arbitrum_sepolia"
+where market_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_market_symbol.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_market_symbol.sql
new file mode 100644
index 00000000..a420b0d4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_created_arbitrum_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_perps_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_perps_market_id.sql
new file mode 100644
index 00000000..120a2f91
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_perps_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select perps_market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_created_arbitrum_sepolia"
+where perps_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..e76e2973
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_created_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..edbb9ede
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_updated_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..d346b3fe
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_updated_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..660a73c0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_updated_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..1b1b2e26
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_updated_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..6e4449f8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_updated_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_interest_rate.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_interest_rate.sql
new file mode 100644
index 00000000..61ff8e93
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_interest_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_updated_arbitrum_sepolia"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..2ac68201
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_updated_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_price.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_price.sql
new file mode 100644
index 00000000..82d6e162
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_updated_arbitrum_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..e42703c0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_updated_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..103c541b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_committed_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..1054b013
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_committed_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..7c4f3a8e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_committed_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..ff6dc5f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_committed_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..748ef7c9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_committed_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..4d7ba667
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_committed_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..ed91dbdc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_committed_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..50dbf2db
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_committed_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..459489fe
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_settled_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..6a3778dc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_settled_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..5319bee8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_settled_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_collected_fees.sql
new file mode 100644
index 00000000..1e2cfe88
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_settled_arbitrum_sepolia"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..88107280
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_settled_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..3c087a98
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_settled_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..9260bc8e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_settled_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..92bc3664
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_settled_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..06f76146
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_order_settled_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_194335b1b3a56e21742bf86e1d8822df.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_194335b1b3a56e21742bf86e1d8822df.sql
new file mode 100644
index 00000000..6e967a16
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_194335b1b3a56e21742bf86e1d8822df.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select current_position_size
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+where current_position_size is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_5139dff63677335431c18585377588b0.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_5139dff63677335431c18585377588b0.sql
new file mode 100644
index 00000000..76a3ca48
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_5139dff63677335431c18585377588b0.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_67af593e048358571f51c4358b034e36.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_67af593e048358571f51c4358b034e36.sql
new file mode 100644
index 00000000..db489ae1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_67af593e048358571f51c4358b034e36.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_liquidated
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+where amount_liquidated is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_739b45baf575a171b7cd98a6a9ac3536.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_739b45baf575a171b7cd98a6a9ac3536.sql
new file mode 100644
index 00000000..112aedcb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_739b45baf575a171b7cd98a6a9ac3536.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..b1dee35c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..33d02091
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..e5c2e676
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..afb98db8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..7ea5d556
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..8e16a15e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_6070ca257bd7603da2d125674f15be5d.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_6070ca257bd7603da2d125674f15be5d.sql
new file mode 100644
index 00000000..419fbd1f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_6070ca257bd7603da2d125674f15be5d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_previous_order_expired_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_b2b7543b39b1e2dea7311abd47aef3d7.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_b2b7543b39b1e2dea7311abd47aef3d7.sql
new file mode 100644
index 00000000..01ec089c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_b2b7543b39b1e2dea7311abd47aef3d7.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_previous_order_expired_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_b5fcbb15c7ae3b7764487da1fced4fac.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_b5fcbb15c7ae3b7764487da1fced4fac.sql
new file mode 100644
index 00000000..b77b5ced
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_b5fcbb15c7ae3b7764487da1fced4fac.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_previous_order_expired_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_fb0442d8a2e499bd44f9c05e96e8636f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_fb0442d8a2e499bd44f9c05e96e8636f.sql
new file mode 100644
index 00000000..ad2e823b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_fb0442d8a2e499bd44f9c05e96e8636f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_previous_order_expired_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_fd3adb5e7b4a397d9746fe4cc80eec6c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_fd3adb5e7b4a397d9746fe4cc80eec6c.sql
new file mode 100644
index 00000000..ab6226d7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_fd3adb5e7b4a397d9746fe4cc80eec6c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_previous_order_expired_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..619e71b1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_previous_order_expired_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..c4029c64
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_previous_order_expired_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..e48976b9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_previous_order_expired_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_account_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_account_created_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..96147442
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_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"."perp_account_created_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..41c305c2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_account_liquidation_attempt_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_collateral_modified_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_collateral_modified_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..056faba9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_collateral_modified_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_collateral_modified_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_interest_charged_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_interest_charged_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..082be564
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_interest_charged_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_charged_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_interest_rate_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_interest_rate_updated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..aecc1643
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_interest_rate_updated_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_interest_rate_updated_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_market_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_market_created_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..f6e6bcdd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_market_created_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_market_created_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_market_updated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..9e7e5134
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_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"."perp_market_updated_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_order_committed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_order_committed_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..111d5fe4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_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"."perp_order_committed_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_order_settled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_order_settled_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..6c60abba
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_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"."perp_order_settled_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_position_liquidated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_position_liquidated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..9a2bc84c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_position_liquidated_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_position_liquidated_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_previous_order_expired_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_previous_order_expired_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..645ca830
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_previous_order_expired_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."perp_previous_order_expired_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/mainnet/ambassador_vote_recorded_snax_mainnet.sql b/compiled/synthetix/models/raw/snax/mainnet/ambassador_vote_recorded_snax_mainnet.sql
new file mode 100644
index 00000000..9cd033f0
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/ambassador_vote_recorded_snax_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_snax_mainnet"."ambassador_governance_proxy_event_vote_recorded"
diff --git a/compiled/synthetix/models/raw/snax/mainnet/ambassador_vote_withdrawn_snax_mainnet.sql b/compiled/synthetix/models/raw/snax/mainnet/ambassador_vote_withdrawn_snax_mainnet.sql
new file mode 100644
index 00000000..d86bd930
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/ambassador_vote_withdrawn_snax_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_snax_mainnet"."ambassador_governance_proxy_event_vote_withdrawn"
diff --git a/compiled/synthetix/models/raw/snax/mainnet/blocks_snax_mainnet.sql b/compiled/synthetix/models/raw/snax/mainnet/blocks_snax_mainnet.sql
new file mode 100644
index 00000000..e208d788
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/blocks_snax_mainnet.sql
@@ -0,0 +1,7 @@
+select distinct
+ "timestamp" as ts,
+ CAST(
+ "number" as INTEGER
+ ) as block_number
+from
+ "analytics"."raw_snax_mainnet"."block"
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_23f8f2585be090d6b8cc1055ce1f10b4.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_23f8f2585be090d6b8cc1055ce1f10b4.sql
new file mode 100644
index 00000000..b344720b
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_23f8f2585be090d6b8cc1055ce1f10b4.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ chain_id as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+ group by chain_id
+
+)
+
+select *
+from all_values
+where value_field not in (
+ '2192','10','1','8453','42161'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_2828b5170123cf65e3e0e100826c8d72.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_2828b5170123cf65e3e0e100826c8d72.sql
new file mode 100644
index 00000000..6f8a96ae
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_2828b5170123cf65e3e0e100826c8d72.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VoteWithdrawn'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_bb4bc4fc29c0c50295736cc83c7add2a.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_bb4bc4fc29c0c50295736cc83c7add2a.sql
new file mode 100644
index 00000000..c345d40c
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_bb4bc4fc29c0c50295736cc83c7add2a.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VoteRecorded'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_r_436280a0cca390e8f540ba02f80f5a02.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_r_436280a0cca390e8f540ba02f80f5a02.sql
new file mode 100644
index 00000000..ee12d932
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_r_436280a0cca390e8f540ba02f80f5a02.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VoteRecorded'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_w_579bf425b6501dcd4308f3add0d96596.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_w_579bf425b6501dcd4308f3add0d96596.sql
new file mode 100644
index 00000000..542f0788
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_w_579bf425b6501dcd4308f3add0d96596.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VoteWithdrawn'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_w_a3b7999b960cb161e04b492d6253a022.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_w_a3b7999b960cb161e04b492d6253a022.sql
new file mode 100644
index 00000000..3098e992
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_w_a3b7999b960cb161e04b492d6253a022.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ chain_id as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+ group by chain_id
+
+)
+
+select *
+from all_values
+where value_field not in (
+ '2192','10','1','8453','42161'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__18fd53e7e0ebc9d249da049fc2331fba.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__18fd53e7e0ebc9d249da049fc2331fba.sql
new file mode 100644
index 00000000..5f4b3854
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__18fd53e7e0ebc9d249da049fc2331fba.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ chain_id as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+ group by chain_id
+
+)
+
+select *
+from all_values
+where value_field not in (
+ '2192','10','1','8453','42161'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__9b0c0c97eb673950462cc5421b7c62e9.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__9b0c0c97eb673950462cc5421b7c62e9.sql
new file mode 100644
index 00000000..8af358e0
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__9b0c0c97eb673950462cc5421b7c62e9.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VoteRecorded'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__a2ae5a5c5b104f34da58bf05b5084d6c.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__a2ae5a5c5b104f34da58bf05b5084d6c.sql
new file mode 100644
index 00000000..a63e736f
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__a2ae5a5c5b104f34da58bf05b5084d6c.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VoteWithdrawn'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_block_number.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_block_number.sql
new file mode 100644
index 00000000..bdbd4c5f
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..e0111f41
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_candidates.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_candidates.sql
new file mode 100644
index 00000000..bb89ad65
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_candidates.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select candidates
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where candidates is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_chain_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_chain_id.sql
new file mode 100644
index 00000000..a71a2238
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_chain_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select chain_id
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where chain_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_contract.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_contract.sql
new file mode 100644
index 00000000..26a66f19
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_epoch_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_epoch_id.sql
new file mode 100644
index 00000000..76364fd0
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_epoch_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select epoch_id
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where epoch_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_event_name.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_event_name.sql
new file mode 100644
index 00000000..72c15f9d
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_id.sql
new file mode 100644
index 00000000..374cb683
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..439eafc5
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_voter.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_voter.sql
new file mode 100644
index 00000000..4103b984
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_voter.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voter
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where voter is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_voting_power.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_voting_power.sql
new file mode 100644
index 00000000..f8baa269
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_voting_power.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voting_power
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where voting_power is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withd_061bf7235604b2babb905360cdd83f9f.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withd_061bf7235604b2babb905360cdd83f9f.sql
new file mode 100644
index 00000000..cd33f54a
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withd_061bf7235604b2babb905360cdd83f9f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_block_number.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_block_number.sql
new file mode 100644
index 00000000..b3dbd749
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..a7da5abc
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_chain_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_chain_id.sql
new file mode 100644
index 00000000..6d4d70ed
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_chain_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select chain_id
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+where chain_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_contract.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_contract.sql
new file mode 100644
index 00000000..7d5f0fcc
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_epoch_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_epoch_id.sql
new file mode 100644
index 00000000..7e3ece09
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_epoch_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select epoch_id
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+where epoch_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_event_name.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_event_name.sql
new file mode 100644
index 00000000..8ed2aa73
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_id.sql
new file mode 100644
index 00000000..730f6701
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_voter.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_voter.sql
new file mode 100644
index 00000000..2eb77f9d
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_voter.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voter
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+where voter is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_blocks_snax_mainnet_block_number.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_blocks_snax_mainnet_block_number.sql
new file mode 100644
index 00000000..d25a3cad
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_blocks_snax_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_snax_mainnet"."blocks_snax_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_block_number.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_block_number.sql
new file mode 100644
index 00000000..f187e563
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..90d26cc6
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_candidates.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_candidates.sql
new file mode 100644
index 00000000..0bd3867f
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_candidates.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select candidates
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where candidates is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_chain_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_chain_id.sql
new file mode 100644
index 00000000..92f05e0b
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_chain_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select chain_id
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where chain_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_contract.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_contract.sql
new file mode 100644
index 00000000..b2cde6ea
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_epoch_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_epoch_id.sql
new file mode 100644
index 00000000..27ff1479
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_epoch_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select epoch_id
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where epoch_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_event_name.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_event_name.sql
new file mode 100644
index 00000000..763918fd
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_id.sql
new file mode 100644
index 00000000..76d0d264
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..075b0c9f
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_voter.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_voter.sql
new file mode 100644
index 00000000..e302e28b
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_voter.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voter
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where voter is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_voting_power.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_voting_power.sql
new file mode 100644
index 00000000..a9e8533f
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_voting_power.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voting_power
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where voting_power is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_block_number.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_block_number.sql
new file mode 100644
index 00000000..39ea16ab
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..d7e513c0
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_chain_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_chain_id.sql
new file mode 100644
index 00000000..01323d99
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_chain_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select chain_id
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+where chain_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_contract.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_contract.sql
new file mode 100644
index 00000000..b094c917
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_epoch_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_epoch_id.sql
new file mode 100644
index 00000000..7458cf8f
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_epoch_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select epoch_id
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+where epoch_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_event_name.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_event_name.sql
new file mode 100644
index 00000000..cba67bbe
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_id.sql
new file mode 100644
index 00000000..a8507aa2
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..a0b097ac
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_voter.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_voter.sql
new file mode 100644
index 00000000..d535e619
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_voter.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voter
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+where voter is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_block_number.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_block_number.sql
new file mode 100644
index 00000000..c7305c89
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..0aa8b4cd
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_candidates.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_candidates.sql
new file mode 100644
index 00000000..4b081665
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_candidates.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select candidates
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where candidates is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_chain_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_chain_id.sql
new file mode 100644
index 00000000..efac9511
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_chain_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select chain_id
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where chain_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_contract.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_contract.sql
new file mode 100644
index 00000000..6c6dc935
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_epoch_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_epoch_id.sql
new file mode 100644
index 00000000..e83237a3
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_epoch_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select epoch_id
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where epoch_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_event_name.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_event_name.sql
new file mode 100644
index 00000000..61bb3545
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_id.sql
new file mode 100644
index 00000000..5b09cfd2
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..a5ff06c7
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_voter.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_voter.sql
new file mode 100644
index 00000000..6229f79b
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_voter.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voter
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where voter is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_voting_power.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_voting_power.sql
new file mode 100644
index 00000000..c5844053
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_voting_power.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voting_power
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where voting_power is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_block_number.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_block_number.sql
new file mode 100644
index 00000000..8f045c2a
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..9efda3b4
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_chain_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_chain_id.sql
new file mode 100644
index 00000000..203f3acb
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_chain_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select chain_id
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+where chain_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_contract.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_contract.sql
new file mode 100644
index 00000000..953852dd
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_epoch_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_epoch_id.sql
new file mode 100644
index 00000000..58c5be48
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_epoch_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select epoch_id
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+where epoch_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_event_name.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_event_name.sql
new file mode 100644
index 00000000..00778665
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_id.sql
new file mode 100644
index 00000000..8ddac440
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..09a6a5f5
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_voter.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_voter.sql
new file mode 100644
index 00000000..234d9710
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_voter.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voter
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+where voter is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_recorded_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_recorded_snax_mainnet_id.sql
new file mode 100644
index 00000000..f43f1fda
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_recorded_snax_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_recorded_snax_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_recorded_snax_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..e4317622
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_recorded_snax_mainnet_transaction_hash.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ transaction_hash as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_recorded_snax_mainnet"
+where transaction_hash is not null
+group by transaction_hash
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_withdrawn_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_withdrawn_snax_mainnet_id.sql
new file mode 100644
index 00000000..b31ee36d
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_withdrawn_snax_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_withdrawn_snax_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_withdrawn_snax_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..e6507814
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_withdrawn_snax_mainnet_transaction_hash.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ transaction_hash as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."ambassador_vote_withdrawn_snax_mainnet"
+where transaction_hash is not null
+group by transaction_hash
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_blocks_snax_mainnet_block_number.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_blocks_snax_mainnet_block_number.sql
new file mode 100644
index 00000000..46f9e7f1
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_blocks_snax_mainnet_block_number.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ block_number as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."blocks_snax_mainnet"
+where block_number is not null
+group by block_number
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_recorded_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_recorded_snax_mainnet_id.sql
new file mode 100644
index 00000000..ba9821a4
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_recorded_snax_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_recorded_snax_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_recorded_snax_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..94e42804
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_recorded_snax_mainnet_transaction_hash.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ transaction_hash as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_recorded_snax_mainnet"
+where transaction_hash is not null
+group by transaction_hash
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_withdrawn_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_withdrawn_snax_mainnet_id.sql
new file mode 100644
index 00000000..0db5c842
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_withdrawn_snax_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_withdrawn_snax_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_withdrawn_snax_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..84d37bd3
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_withdrawn_snax_mainnet_transaction_hash.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ transaction_hash as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."spartan_vote_withdrawn_snax_mainnet"
+where transaction_hash is not null
+group by transaction_hash
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_recorded_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_recorded_snax_mainnet_id.sql
new file mode 100644
index 00000000..68774f15
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_recorded_snax_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_recorded_snax_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_recorded_snax_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..023b3b33
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_recorded_snax_mainnet_transaction_hash.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ transaction_hash as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_recorded_snax_mainnet"
+where transaction_hash is not null
+group by transaction_hash
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_withdrawn_snax_mainnet_id.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_withdrawn_snax_mainnet_id.sql
new file mode 100644
index 00000000..d1a552f0
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_withdrawn_snax_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_withdrawn_snax_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_withdrawn_snax_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..002c4a5d
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_withdrawn_snax_mainnet_transaction_hash.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ transaction_hash as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_mainnet"."treasury_vote_withdrawn_snax_mainnet"
+where transaction_hash is not null
+group by transaction_hash
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/mainnet/spartan_vote_recorded_snax_mainnet.sql b/compiled/synthetix/models/raw/snax/mainnet/spartan_vote_recorded_snax_mainnet.sql
new file mode 100644
index 00000000..f19c21cc
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/spartan_vote_recorded_snax_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_snax_mainnet"."spartan_governance_proxy_event_vote_recorded"
diff --git a/compiled/synthetix/models/raw/snax/mainnet/spartan_vote_withdrawn_snax_mainnet.sql b/compiled/synthetix/models/raw/snax/mainnet/spartan_vote_withdrawn_snax_mainnet.sql
new file mode 100644
index 00000000..e91b45d2
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/spartan_vote_withdrawn_snax_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_snax_mainnet"."spartan_governance_proxy_event_vote_withdrawn"
diff --git a/compiled/synthetix/models/raw/snax/mainnet/treasury_vote_recorded_snax_mainnet.sql b/compiled/synthetix/models/raw/snax/mainnet/treasury_vote_recorded_snax_mainnet.sql
new file mode 100644
index 00000000..a6aeea25
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/treasury_vote_recorded_snax_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_snax_mainnet"."treasury_governance_proxy_event_vote_recorded"
diff --git a/compiled/synthetix/models/raw/snax/mainnet/treasury_vote_withdrawn_snax_mainnet.sql b/compiled/synthetix/models/raw/snax/mainnet/treasury_vote_withdrawn_snax_mainnet.sql
new file mode 100644
index 00000000..c9b741ad
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/mainnet/treasury_vote_withdrawn_snax_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_snax_mainnet"."treasury_governance_proxy_event_vote_withdrawn"
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..b11107c6
--- /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/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..9a0f3849
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..80912219
--- /dev/null
+++ b/graph_summary.json
@@ -0,0 +1 @@
+{"_invocation_id": "3419d27d-1e1c-45e9-a24b-149996fe33f4", "linked": {"0": {"name": "source.synthetix.raw_eth_mainnet.block", "type": "source", "succ": [1801]}, "1": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1803]}, "2": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1735]}, "3": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1732]}, "4": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1733]}, "5": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1804]}, "6": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1805]}, "7": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1747]}, "8": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1737]}, "9": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1740]}, "10": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1749]}, "11": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1750]}, "12": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1802]}, "13": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1727]}, "14": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1727]}, "15": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1727]}, "16": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1727]}, "17": {"name": "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated", "type": "source", "succ": [1725]}, "18": {"name": "source.synthetix.raw_eth_mainnet.core_get_vault_collateral", "type": "source", "succ": [1722]}, "19": {"name": "source.synthetix.raw_eth_mainnet.core_get_vault_debt", "type": "source", "succ": [1744]}, "20": {"name": "source.synthetix.raw_eth_mainnet.blocks_parquet", "type": "source", "succ": [1801, 1722, 1744]}, "21": {"name": "source.synthetix.raw_base_sepolia.block", "type": "source", "succ": [1755]}, "22": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created", "type": "source", "succ": [1443]}, "23": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1435]}, "24": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1432]}, "25": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created", "type": "source", "succ": [1439]}, "26": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated", "type": "source", "succ": [1452]}, "27": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated", "type": "source", "succ": [1452]}, "28": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed", "type": "source", "succ": [1456]}, "29": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed", "type": "source", "succ": [1456]}, "30": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled", "type": "source", "succ": [1445]}, "31": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1447]}, "32": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1449]}, "33": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1759]}, "34": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1441]}, "35": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed", "type": "source", "succ": [1756]}, "36": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled", "type": "source", "succ": [1757]}, "37": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1758]}, "38": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1419]}, "39": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1416]}, "40": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1417]}, "41": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1420]}, "42": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1421]}, "43": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_account_created", "type": "source", "succ": [1761]}, "44": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated", "type": "source", "succ": [1461]}, "45": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_deposited", "type": "source", "succ": [1474]}, "46": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn", "type": "source", "succ": [1467]}, "47": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation", "type": "source", "succ": [1763]}, "48": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered", "type": "source", "succ": [1762]}, "49": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created", "type": "source", "succ": [1478]}, "50": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed", "type": "source", "succ": [1468]}, "51": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed", "type": "source", "succ": [1437]}, "52": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned", "type": "source", "succ": [1415]}, "53": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted", "type": "source", "succ": [1414]}, "54": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation", "type": "source", "succ": [1760]}, "55": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1463]}, "56": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1463]}, "57": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1463]}, "58": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1463]}, "59": {"name": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited", "type": "source", "succ": [1463]}, "60": {"name": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn", "type": "source", "succ": [1463]}, "61": {"name": "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed", "type": "source", "succ": [1428]}, "62": {"name": "source.synthetix.raw_base_sepolia.core_get_vault_collateral", "type": "source", "succ": [1425]}, "63": {"name": "source.synthetix.raw_base_sepolia.core_get_vault_debt", "type": "source", "succ": [1451]}, "64": {"name": "source.synthetix.raw_base_sepolia.blocks_parquet", "type": "source", "succ": [1755, 1451, 1425]}, "65": {"name": "source.synthetix.raw_arbitrum_sepolia.block", "type": "source", "succ": [1773]}, "66": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_account_created", "type": "source", "succ": [1603]}, "67": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1593]}, "68": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1592]}, "69": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_market_created", "type": "source", "succ": [1598]}, "70": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_market_updated", "type": "source", "succ": [1608]}, "71": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_legacy_event_market_updated", "type": "source"}, "72": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_order_committed", "type": "source", "succ": [1605]}, "73": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_legacy_event_order_committed", "type": "source"}, "74": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_order_settled", "type": "source", "succ": [1610]}, "75": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1587]}, "76": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1590]}, "77": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1777]}, "78": {"name": "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1607]}, "79": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed", "type": "source", "succ": [1774]}, "80": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled", "type": "source", "succ": [1775]}, "81": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1776]}, "82": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1574]}, "83": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1571]}, "84": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1572]}, "85": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1579]}, "86": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1580]}, "87": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created", "type": "source", "succ": [1781]}, "88": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated", "type": "source", "succ": [1616]}, "89": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited", "type": "source", "succ": [1621]}, "90": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn", "type": "source", "succ": [1617]}, "91": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation", "type": "source", "succ": [1779]}, "92": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered", "type": "source", "succ": [1778]}, "93": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created", "type": "source", "succ": [1623]}, "94": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed", "type": "source", "succ": [1618]}, "95": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed", "type": "source", "succ": [1595]}, "96": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned", "type": "source", "succ": [1578]}, "97": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted", "type": "source", "succ": [1577]}, "98": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation", "type": "source", "succ": [1780]}, "99": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1614]}, "100": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1614]}, "101": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1614]}, "102": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1614]}, "103": {"name": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral", "type": "source", "succ": [1583]}, "104": {"name": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt", "type": "source", "succ": [1600]}, "105": {"name": "source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "type": "source", "succ": [1773, 1583, 1600]}, "106": {"name": "source.synthetix.raw_arbitrum_mainnet.block", "type": "source", "succ": [1782]}, "107": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_account_created", "type": "source", "succ": [1674]}, "108": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1669]}, "109": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1668]}, "110": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_market_created", "type": "source", "succ": [1664]}, "111": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_market_updated", "type": "source", "succ": [1686]}, "112": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_legacy_event_market_updated", "type": "source"}, "113": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_order_committed", "type": "source", "succ": [1666]}, "114": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_legacy_event_order_committed", "type": "source"}, "115": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_order_settled", "type": "source", "succ": [1681]}, "116": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1678]}, "117": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1662]}, "118": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1786]}, "119": {"name": "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1685]}, "120": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed", "type": "source", "succ": [1784]}, "121": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled", "type": "source", "succ": [1785]}, "122": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1783]}, "123": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1655]}, "124": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1646]}, "125": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1647]}, "126": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1649]}, "127": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1650]}, "128": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1789]}, "129": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1688]}, "130": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1702]}, "131": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1693]}, "132": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1787]}, "133": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1788]}, "134": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1708]}, "135": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1694]}, "136": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1671]}, "137": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1653]}, "138": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1652]}, "139": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1790]}, "140": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1706]}, "141": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1706]}, "142": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1706]}, "143": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1706]}, "144": {"name": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral", "type": "source", "succ": [1659]}, "145": {"name": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt", "type": "source", "succ": [1683]}, "146": {"name": "source.synthetix.raw_arbitrum_mainnet.blocks_parquet", "type": "source", "succ": [1782, 1659, 1683]}, "147": {"name": "source.synthetix.raw_base_mainnet.block", "type": "source", "succ": [1764]}, "148": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created", "type": "source", "succ": [1531]}, "149": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1521]}, "150": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1520]}, "151": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created", "type": "source", "succ": [1533]}, "152": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated", "type": "source", "succ": [1534]}, "153": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated", "type": "source", "succ": [1534]}, "154": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed", "type": "source", "succ": [1516]}, "155": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed", "type": "source", "succ": [1516]}, "156": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled", "type": "source", "succ": [1532]}, "157": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1511]}, "158": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1527]}, "159": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1768]}, "160": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1529]}, "161": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed", "type": "source", "succ": [1767]}, "162": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled", "type": "source", "succ": [1766]}, "163": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1765]}, "164": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1497]}, "165": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1491]}, "166": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1492]}, "167": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1494]}, "168": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1495]}, "169": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1772]}, "170": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1539]}, "171": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1555]}, "172": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1556]}, "173": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1769]}, "174": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1770]}, "175": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1545]}, "176": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1559]}, "177": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1523]}, "178": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1500]}, "179": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1499]}, "180": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1771]}, "181": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1553]}, "182": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1553]}, "183": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1553]}, "184": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1553]}, "185": {"name": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited", "type": "source", "succ": [1553]}, "186": {"name": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn", "type": "source", "succ": [1553]}, "187": {"name": "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed", "type": "source", "succ": [1508]}, "188": {"name": "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed", "type": "source", "succ": [1508]}, "189": {"name": "source.synthetix.raw_base_mainnet.core_get_vault_collateral", "type": "source", "succ": [1505]}, "190": {"name": "source.synthetix.raw_base_mainnet.core_get_vault_debt", "type": "source", "succ": [1514]}, "191": {"name": "source.synthetix.raw_base_mainnet.blocks_parquet", "type": "source", "succ": [1764, 1505, 1514]}, "192": {"name": "source.synthetix.raw_optimism_mainnet.block", "type": "source"}, "193": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed", "type": "source"}, "194": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled", "type": "source"}, "195": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled", "type": "source"}, "196": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered", "type": "source"}, "197": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought", "type": "source"}, "198": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold", "type": "source"}, "199": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source"}, "200": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source"}, "201": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created", "type": "source"}, "202": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated", "type": "source"}, "203": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited", "type": "source"}, "204": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn", "type": "source"}, "205": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation", "type": "source"}, "206": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered", "type": "source"}, "207": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created", "type": "source"}, "208": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed", "type": "source"}, "209": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed", "type": "source"}, "210": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned", "type": "source"}, "211": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted", "type": "source"}, "212": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation", "type": "source"}, "213": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited", "type": "source"}, "214": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source"}, "215": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed", "type": "source"}, "216": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted", "type": "source"}, "217": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed", "type": "source"}, "218": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred", "type": "source"}, "219": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking", "type": "source"}, "220": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged", "type": "source"}, "221": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0", "type": "source"}, "222": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1", "type": "source"}, "223": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0", "type": "source"}, "224": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1", "type": "source"}, "225": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed", "type": "source"}, "226": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted", "type": "source"}, "227": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed", "type": "source"}, "228": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred", "type": "source"}, "229": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking", "type": "source"}, "230": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged", "type": "source"}, "231": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0", "type": "source"}, "232": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1", "type": "source"}, "233": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0", "type": "source"}, "234": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1", "type": "source"}, "235": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed", "type": "source"}, "236": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted", "type": "source"}, "237": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed", "type": "source"}, "238": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred", "type": "source"}, "239": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking", "type": "source"}, "240": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged", "type": "source"}, "241": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0", "type": "source"}, "242": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1", "type": "source"}, "243": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0", "type": "source"}, "244": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1", "type": "source"}, "245": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed", "type": "source"}, "246": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted", "type": "source"}, "247": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed", "type": "source"}, "248": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred", "type": "source"}, "249": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking", "type": "source"}, "250": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged", "type": "source"}, "251": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0", "type": "source"}, "252": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1", "type": "source"}, "253": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0", "type": "source"}, "254": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1", "type": "source"}, "255": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed", "type": "source"}, "256": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted", "type": "source"}, "257": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed", "type": "source"}, "258": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred", "type": "source"}, "259": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking", "type": "source"}, "260": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged", "type": "source"}, "261": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0", "type": "source"}, "262": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1", "type": "source"}, "263": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0", "type": "source"}, "264": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1", "type": "source"}, "265": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed", "type": "source"}, "266": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted", "type": "source"}, "267": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed", "type": "source"}, "268": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred", "type": "source"}, "269": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking", "type": "source"}, "270": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged", "type": "source"}, "271": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0", "type": "source"}, "272": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1", "type": "source"}, "273": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0", "type": "source"}, "274": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1", "type": "source"}, "275": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed", "type": "source"}, "276": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted", "type": "source"}, "277": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed", "type": "source"}, "278": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred", "type": "source"}, "279": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking", "type": "source"}, "280": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged", "type": "source"}, "281": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0", "type": "source"}, "282": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1", "type": "source"}, "283": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0", "type": "source"}, "284": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1", "type": "source"}, "285": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed", "type": "source"}, "286": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted", "type": "source"}, "287": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed", "type": "source"}, "288": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred", "type": "source"}, "289": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking", "type": "source"}, "290": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged", "type": "source"}, "291": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0", "type": "source"}, "292": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1", "type": "source"}, "293": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0", "type": "source"}, "294": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1", "type": "source"}, "295": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed", "type": "source"}, "296": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted", "type": "source"}, "297": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed", "type": "source"}, "298": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred", "type": "source"}, "299": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking", "type": "source"}, "300": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged", "type": "source"}, "301": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0", "type": "source"}, "302": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1", "type": "source"}, "303": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0", "type": "source"}, "304": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1", "type": "source"}, "305": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed", "type": "source"}, "306": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted", "type": "source"}, "307": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed", "type": "source"}, "308": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred", "type": "source"}, "309": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking", "type": "source"}, "310": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged", "type": "source"}, "311": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0", "type": "source"}, "312": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1", "type": "source"}, "313": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0", "type": "source"}, "314": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1", "type": "source"}, "315": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed", "type": "source"}, "316": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted", "type": "source"}, "317": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed", "type": "source"}, "318": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred", "type": "source"}, "319": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking", "type": "source"}, "320": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged", "type": "source"}, "321": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0", "type": "source"}, "322": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1", "type": "source"}, "323": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0", "type": "source"}, "324": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1", "type": "source"}, "325": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed", "type": "source"}, "326": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted", "type": "source"}, "327": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed", "type": "source"}, "328": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred", "type": "source"}, "329": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking", "type": "source"}, "330": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged", "type": "source"}, "331": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0", "type": "source"}, "332": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1", "type": "source"}, "333": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0", "type": "source"}, "334": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1", "type": "source"}, "335": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed", "type": "source"}, "336": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted", "type": "source"}, "337": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed", "type": "source"}, "338": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred", "type": "source"}, "339": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking", "type": "source"}, "340": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged", "type": "source"}, "341": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0", "type": "source"}, "342": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1", "type": "source"}, "343": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0", "type": "source"}, "344": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1", "type": "source"}, "345": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed", "type": "source"}, "346": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted", "type": "source"}, "347": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed", "type": "source"}, "348": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred", "type": "source"}, "349": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking", "type": "source"}, "350": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged", "type": "source"}, "351": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0", "type": "source"}, "352": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1", "type": "source"}, "353": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0", "type": "source"}, "354": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1", "type": "source"}, "355": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed", "type": "source"}, "356": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted", "type": "source"}, "357": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed", "type": "source"}, "358": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred", "type": "source"}, "359": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking", "type": "source"}, "360": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged", "type": "source"}, "361": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0", "type": "source"}, "362": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1", "type": "source"}, "363": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0", "type": "source"}, "364": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1", "type": "source"}, "365": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed", "type": "source"}, "366": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted", "type": "source"}, "367": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed", "type": "source"}, "368": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred", "type": "source"}, "369": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking", "type": "source"}, "370": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged", "type": "source"}, "371": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0", "type": "source"}, "372": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1", "type": "source"}, "373": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0", "type": "source"}, "374": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1", "type": "source"}, "375": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed", "type": "source"}, "376": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted", "type": "source"}, "377": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed", "type": "source"}, "378": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred", "type": "source"}, "379": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking", "type": "source"}, "380": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged", "type": "source"}, "381": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0", "type": "source"}, "382": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1", "type": "source"}, "383": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0", "type": "source"}, "384": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1", "type": "source"}, "385": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed", "type": "source"}, "386": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted", "type": "source"}, "387": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed", "type": "source"}, "388": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred", "type": "source"}, "389": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking", "type": "source"}, "390": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged", "type": "source"}, "391": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0", "type": "source"}, "392": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1", "type": "source"}, "393": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0", "type": "source"}, "394": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1", "type": "source"}, "395": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed", "type": "source"}, "396": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted", "type": "source"}, "397": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed", "type": "source"}, "398": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred", "type": "source"}, "399": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking", "type": "source"}, "400": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged", "type": "source"}, "401": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0", "type": "source"}, "402": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1", "type": "source"}, "403": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0", "type": "source"}, "404": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1", "type": "source"}, "405": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed", "type": "source"}, "406": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted", "type": "source"}, "407": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed", "type": "source"}, "408": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred", "type": "source"}, "409": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking", "type": "source"}, "410": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged", "type": "source"}, "411": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0", "type": "source"}, "412": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1", "type": "source"}, "413": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0", "type": "source"}, "414": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1", "type": "source"}, "415": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed", "type": "source"}, "416": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted", "type": "source"}, "417": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed", "type": "source"}, "418": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred", "type": "source"}, "419": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking", "type": "source"}, "420": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged", "type": "source"}, "421": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0", "type": "source"}, "422": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1", "type": "source"}, "423": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0", "type": "source"}, "424": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1", "type": "source"}, "425": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed", "type": "source"}, "426": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted", "type": "source"}, "427": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed", "type": "source"}, "428": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred", "type": "source"}, "429": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking", "type": "source"}, "430": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged", "type": "source"}, "431": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0", "type": "source"}, "432": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1", "type": "source"}, "433": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0", "type": "source"}, "434": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1", "type": "source"}, "435": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed", "type": "source"}, "436": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted", "type": "source"}, "437": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed", "type": "source"}, "438": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred", "type": "source"}, "439": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking", "type": "source"}, "440": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged", "type": "source"}, "441": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0", "type": "source"}, "442": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1", "type": "source"}, "443": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0", "type": "source"}, "444": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1", "type": "source"}, "445": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed", "type": "source"}, "446": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted", "type": "source"}, "447": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed", "type": "source"}, "448": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred", "type": "source"}, "449": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking", "type": "source"}, "450": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged", "type": "source"}, "451": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0", "type": "source"}, "452": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1", "type": "source"}, "453": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0", "type": "source"}, "454": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1", "type": "source"}, "455": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed", "type": "source"}, "456": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted", "type": "source"}, "457": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed", "type": "source"}, "458": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred", "type": "source"}, "459": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking", "type": "source"}, "460": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged", "type": "source"}, "461": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0", "type": "source"}, "462": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1", "type": "source"}, "463": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0", "type": "source"}, "464": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1", "type": "source"}, "465": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed", "type": "source"}, "466": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted", "type": "source"}, "467": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed", "type": "source"}, "468": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred", "type": "source"}, "469": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking", "type": "source"}, "470": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged", "type": "source"}, "471": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0", "type": "source"}, "472": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1", "type": "source"}, "473": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0", "type": "source"}, "474": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1", "type": "source"}, "475": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed", "type": "source"}, "476": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted", "type": "source"}, "477": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed", "type": "source"}, "478": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred", "type": "source"}, "479": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking", "type": "source"}, "480": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged", "type": "source"}, "481": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0", "type": "source"}, "482": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1", "type": "source"}, "483": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0", "type": "source"}, "484": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1", "type": "source"}, "485": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed", "type": "source"}, "486": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted", "type": "source"}, "487": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed", "type": "source"}, "488": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred", "type": "source"}, "489": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking", "type": "source"}, "490": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged", "type": "source"}, "491": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0", "type": "source"}, "492": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1", "type": "source"}, "493": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0", "type": "source"}, "494": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1", "type": "source"}, "495": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed", "type": "source"}, "496": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted", "type": "source"}, "497": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed", "type": "source"}, "498": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred", "type": "source"}, "499": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking", "type": "source"}, "500": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged", "type": "source"}, "501": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0", "type": "source"}, "502": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1", "type": "source"}, "503": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0", "type": "source"}, "504": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1", "type": "source"}, "505": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed", "type": "source"}, "506": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted", "type": "source"}, "507": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed", "type": "source"}, "508": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred", "type": "source"}, "509": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking", "type": "source"}, "510": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged", "type": "source"}, "511": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0", "type": "source"}, "512": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1", "type": "source"}, "513": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0", "type": "source"}, "514": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1", "type": "source"}, "515": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed", "type": "source"}, "516": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted", "type": "source"}, "517": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed", "type": "source"}, "518": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred", "type": "source"}, "519": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking", "type": "source"}, "520": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged", "type": "source"}, "521": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0", "type": "source"}, "522": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1", "type": "source"}, "523": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0", "type": "source"}, "524": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1", "type": "source"}, "525": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed", "type": "source"}, "526": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted", "type": "source"}, "527": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed", "type": "source"}, "528": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred", "type": "source"}, "529": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking", "type": "source"}, "530": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged", "type": "source"}, "531": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0", "type": "source"}, "532": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1", "type": "source"}, "533": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0", "type": "source"}, "534": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1", "type": "source"}, "535": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed", "type": "source"}, "536": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted", "type": "source"}, "537": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed", "type": "source"}, "538": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred", "type": "source"}, "539": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking", "type": "source"}, "540": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged", "type": "source"}, "541": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0", "type": "source"}, "542": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1", "type": "source"}, "543": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0", "type": "source"}, "544": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1", "type": "source"}, "545": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed", "type": "source"}, "546": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted", "type": "source"}, "547": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed", "type": "source"}, "548": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred", "type": "source"}, "549": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking", "type": "source"}, "550": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged", "type": "source"}, "551": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0", "type": "source"}, "552": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1", "type": "source"}, "553": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0", "type": "source"}, "554": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1", "type": "source"}, "555": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed", "type": "source"}, "556": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted", "type": "source"}, "557": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed", "type": "source"}, "558": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred", "type": "source"}, "559": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking", "type": "source"}, "560": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged", "type": "source"}, "561": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0", "type": "source"}, "562": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1", "type": "source"}, "563": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0", "type": "source"}, "564": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1", "type": "source"}, "565": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed", "type": "source"}, "566": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted", "type": "source"}, "567": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed", "type": "source"}, "568": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred", "type": "source"}, "569": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking", "type": "source"}, "570": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged", "type": "source"}, "571": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0", "type": "source"}, "572": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1", "type": "source"}, "573": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0", "type": "source"}, "574": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1", "type": "source"}, "575": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed", "type": "source"}, "576": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted", "type": "source"}, "577": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed", "type": "source"}, "578": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred", "type": "source"}, "579": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking", "type": "source"}, "580": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged", "type": "source"}, "581": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0", "type": "source"}, "582": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1", "type": "source"}, "583": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0", "type": "source"}, "584": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1", "type": "source"}, "585": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed", "type": "source"}, "586": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted", "type": "source"}, "587": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed", "type": "source"}, "588": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred", "type": "source"}, "589": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking", "type": "source"}, "590": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged", "type": "source"}, "591": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0", "type": "source"}, "592": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1", "type": "source"}, "593": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0", "type": "source"}, "594": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1", "type": "source"}, "595": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed", "type": "source"}, "596": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted", "type": "source"}, "597": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed", "type": "source"}, "598": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred", "type": "source"}, "599": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking", "type": "source"}, "600": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged", "type": "source"}, "601": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0", "type": "source"}, "602": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1", "type": "source"}, "603": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0", "type": "source"}, "604": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1", "type": "source"}, "605": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed", "type": "source"}, "606": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted", "type": "source"}, "607": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed", "type": "source"}, "608": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred", "type": "source"}, "609": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking", "type": "source"}, "610": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged", "type": "source"}, "611": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0", "type": "source"}, "612": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1", "type": "source"}, "613": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0", "type": "source"}, "614": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1", "type": "source"}, "615": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed", "type": "source"}, "616": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted", "type": "source"}, "617": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed", "type": "source"}, "618": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred", "type": "source"}, "619": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking", "type": "source"}, "620": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged", "type": "source"}, "621": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0", "type": "source"}, "622": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1", "type": "source"}, "623": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0", "type": "source"}, "624": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1", "type": "source"}, "625": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed", "type": "source"}, "626": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted", "type": "source"}, "627": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed", "type": "source"}, "628": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred", "type": "source"}, "629": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking", "type": "source"}, "630": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged", "type": "source"}, "631": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0", "type": "source"}, "632": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1", "type": "source"}, "633": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0", "type": "source"}, "634": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1", "type": "source"}, "635": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed", "type": "source"}, "636": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted", "type": "source"}, "637": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed", "type": "source"}, "638": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred", "type": "source"}, "639": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking", "type": "source"}, "640": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged", "type": "source"}, "641": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0", "type": "source"}, "642": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1", "type": "source"}, "643": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0", "type": "source"}, "644": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1", "type": "source"}, "645": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed", "type": "source"}, "646": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted", "type": "source"}, "647": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed", "type": "source"}, "648": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred", "type": "source"}, "649": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking", "type": "source"}, "650": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged", "type": "source"}, "651": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0", "type": "source"}, "652": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1", "type": "source"}, "653": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0", "type": "source"}, "654": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1", "type": "source"}, "655": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed", "type": "source"}, "656": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted", "type": "source"}, "657": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed", "type": "source"}, "658": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred", "type": "source"}, "659": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking", "type": "source"}, "660": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged", "type": "source"}, "661": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0", "type": "source"}, "662": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1", "type": "source"}, "663": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0", "type": "source"}, "664": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1", "type": "source"}, "665": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed", "type": "source"}, "666": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted", "type": "source"}, "667": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed", "type": "source"}, "668": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred", "type": "source"}, "669": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking", "type": "source"}, "670": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged", "type": "source"}, "671": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0", "type": "source"}, "672": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1", "type": "source"}, "673": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0", "type": "source"}, "674": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1", "type": "source"}, "675": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed", "type": "source"}, "676": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted", "type": "source"}, "677": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed", "type": "source"}, "678": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred", "type": "source"}, "679": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking", "type": "source"}, "680": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged", "type": "source"}, "681": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0", "type": "source"}, "682": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1", "type": "source"}, "683": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0", "type": "source"}, "684": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1", "type": "source"}, "685": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed", "type": "source"}, "686": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted", "type": "source"}, "687": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed", "type": "source"}, "688": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred", "type": "source"}, "689": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking", "type": "source"}, "690": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged", "type": "source"}, "691": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0", "type": "source"}, "692": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1", "type": "source"}, "693": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0", "type": "source"}, "694": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1", "type": "source"}, "695": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed", "type": "source"}, "696": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted", "type": "source"}, "697": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed", "type": "source"}, "698": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred", "type": "source"}, "699": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking", "type": "source"}, "700": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged", "type": "source"}, "701": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0", "type": "source"}, "702": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1", "type": "source"}, "703": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0", "type": "source"}, "704": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1", "type": "source"}, "705": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed", "type": "source"}, "706": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted", "type": "source"}, "707": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed", "type": "source"}, "708": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred", "type": "source"}, "709": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking", "type": "source"}, "710": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged", "type": "source"}, "711": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0", "type": "source"}, "712": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1", "type": "source"}, "713": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0", "type": "source"}, "714": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1", "type": "source"}, "715": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed", "type": "source"}, "716": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted", "type": "source"}, "717": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed", "type": "source"}, "718": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred", "type": "source"}, "719": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking", "type": "source"}, "720": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged", "type": "source"}, "721": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0", "type": "source"}, "722": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1", "type": "source"}, "723": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0", "type": "source"}, "724": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1", "type": "source"}, "725": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed", "type": "source"}, "726": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted", "type": "source"}, "727": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed", "type": "source"}, "728": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred", "type": "source"}, "729": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking", "type": "source"}, "730": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged", "type": "source"}, "731": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0", "type": "source"}, "732": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1", "type": "source"}, "733": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0", "type": "source"}, "734": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1", "type": "source"}, "735": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed", "type": "source"}, "736": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted", "type": "source"}, "737": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed", "type": "source"}, "738": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred", "type": "source"}, "739": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking", "type": "source"}, "740": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged", "type": "source"}, "741": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0", "type": "source"}, "742": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1", "type": "source"}, "743": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0", "type": "source"}, "744": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1", "type": "source"}, "745": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed", "type": "source"}, "746": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted", "type": "source"}, "747": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed", "type": "source"}, "748": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred", "type": "source"}, "749": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking", "type": "source"}, "750": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged", "type": "source"}, "751": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0", "type": "source"}, "752": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1", "type": "source"}, "753": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0", "type": "source"}, "754": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1", "type": "source"}, "755": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed", "type": "source"}, "756": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted", "type": "source"}, "757": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed", "type": "source"}, "758": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred", "type": "source"}, "759": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking", "type": "source"}, "760": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged", "type": "source"}, "761": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0", "type": "source"}, "762": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1", "type": "source"}, "763": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0", "type": "source"}, "764": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1", "type": "source"}, "765": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed", "type": "source"}, "766": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted", "type": "source"}, "767": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed", "type": "source"}, "768": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred", "type": "source"}, "769": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking", "type": "source"}, "770": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged", "type": "source"}, "771": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0", "type": "source"}, "772": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1", "type": "source"}, "773": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0", "type": "source"}, "774": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1", "type": "source"}, "775": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed", "type": "source"}, "776": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted", "type": "source"}, "777": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed", "type": "source"}, "778": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred", "type": "source"}, "779": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking", "type": "source"}, "780": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged", "type": "source"}, "781": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0", "type": "source"}, "782": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1", "type": "source"}, "783": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0", "type": "source"}, "784": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1", "type": "source"}, "785": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed", "type": "source"}, "786": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted", "type": "source"}, "787": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed", "type": "source"}, "788": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred", "type": "source"}, "789": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking", "type": "source"}, "790": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged", "type": "source"}, "791": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0", "type": "source"}, "792": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1", "type": "source"}, "793": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0", "type": "source"}, "794": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1", "type": "source"}, "795": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed", "type": "source"}, "796": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted", "type": "source"}, "797": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed", "type": "source"}, "798": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred", "type": "source"}, "799": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking", "type": "source"}, "800": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged", "type": "source"}, "801": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0", "type": "source"}, "802": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1", "type": "source"}, "803": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0", "type": "source"}, "804": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1", "type": "source"}, "805": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed", "type": "source"}, "806": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted", "type": "source"}, "807": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed", "type": "source"}, "808": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred", "type": "source"}, "809": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking", "type": "source"}, "810": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged", "type": "source"}, "811": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0", "type": "source"}, "812": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1", "type": "source"}, "813": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0", "type": "source"}, "814": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1", "type": "source"}, "815": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed", "type": "source"}, "816": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted", "type": "source"}, "817": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed", "type": "source"}, "818": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred", "type": "source"}, "819": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking", "type": "source"}, "820": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged", "type": "source"}, "821": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0", "type": "source"}, "822": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1", "type": "source"}, "823": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0", "type": "source"}, "824": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1", "type": "source"}, "825": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed", "type": "source"}, "826": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted", "type": "source"}, "827": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed", "type": "source"}, "828": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred", "type": "source"}, "829": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking", "type": "source"}, "830": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged", "type": "source"}, "831": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0", "type": "source"}, "832": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1", "type": "source"}, "833": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0", "type": "source"}, "834": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1", "type": "source"}, "835": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed", "type": "source"}, "836": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted", "type": "source"}, "837": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed", "type": "source"}, "838": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred", "type": "source"}, "839": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking", "type": "source"}, "840": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged", "type": "source"}, "841": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0", "type": "source"}, "842": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1", "type": "source"}, "843": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0", "type": "source"}, "844": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1", "type": "source"}, "845": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed", "type": "source"}, "846": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted", "type": "source"}, "847": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed", "type": "source"}, "848": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred", "type": "source"}, "849": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking", "type": "source"}, "850": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged", "type": "source"}, "851": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0", "type": "source"}, "852": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1", "type": "source"}, "853": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0", "type": "source"}, "854": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1", "type": "source"}, "855": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed", "type": "source"}, "856": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted", "type": "source"}, "857": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed", "type": "source"}, "858": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred", "type": "source"}, "859": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking", "type": "source"}, "860": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged", "type": "source"}, "861": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0", "type": "source"}, "862": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1", "type": "source"}, "863": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0", "type": "source"}, "864": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1", "type": "source"}, "865": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed", "type": "source"}, "866": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted", "type": "source"}, "867": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed", "type": "source"}, "868": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred", "type": "source"}, "869": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking", "type": "source"}, "870": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged", "type": "source"}, "871": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0", "type": "source"}, "872": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1", "type": "source"}, "873": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0", "type": "source"}, "874": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1", "type": "source"}, "875": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed", "type": "source"}, "876": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted", "type": "source"}, "877": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed", "type": "source"}, "878": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred", "type": "source"}, "879": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking", "type": "source"}, "880": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged", "type": "source"}, "881": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0", "type": "source"}, "882": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1", "type": "source"}, "883": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0", "type": "source"}, "884": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1", "type": "source"}, "885": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed", "type": "source"}, "886": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted", "type": "source"}, "887": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed", "type": "source"}, "888": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred", "type": "source"}, "889": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking", "type": "source"}, "890": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged", "type": "source"}, "891": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0", "type": "source"}, "892": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1", "type": "source"}, "893": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0", "type": "source"}, "894": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1", "type": "source"}, "895": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed", "type": "source"}, "896": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted", "type": "source"}, "897": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed", "type": "source"}, "898": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred", "type": "source"}, "899": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking", "type": "source"}, "900": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged", "type": "source"}, "901": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0", "type": "source"}, "902": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1", "type": "source"}, "903": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0", "type": "source"}, "904": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1", "type": "source"}, "905": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed", "type": "source"}, "906": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted", "type": "source"}, "907": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed", "type": "source"}, "908": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred", "type": "source"}, "909": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking", "type": "source"}, "910": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged", "type": "source"}, "911": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0", "type": "source"}, "912": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1", "type": "source"}, "913": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0", "type": "source"}, "914": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1", "type": "source"}, "915": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed", "type": "source"}, "916": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted", "type": "source"}, "917": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed", "type": "source"}, "918": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred", "type": "source"}, "919": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking", "type": "source"}, "920": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged", "type": "source"}, "921": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0", "type": "source"}, "922": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1", "type": "source"}, "923": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0", "type": "source"}, "924": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1", "type": "source"}, "925": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed", "type": "source"}, "926": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted", "type": "source"}, "927": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed", "type": "source"}, "928": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred", "type": "source"}, "929": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking", "type": "source"}, "930": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged", "type": "source"}, "931": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0", "type": "source"}, "932": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1", "type": "source"}, "933": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0", "type": "source"}, "934": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1", "type": "source"}, "935": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed", "type": "source"}, "936": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted", "type": "source"}, "937": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed", "type": "source"}, "938": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred", "type": "source"}, "939": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking", "type": "source"}, "940": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged", "type": "source"}, "941": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0", "type": "source"}, "942": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1", "type": "source"}, "943": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0", "type": "source"}, "944": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1", "type": "source"}, "945": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed", "type": "source"}, "946": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted", "type": "source"}, "947": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed", "type": "source"}, "948": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred", "type": "source"}, "949": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking", "type": "source"}, "950": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged", "type": "source"}, "951": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0", "type": "source"}, "952": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1", "type": "source"}, "953": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0", "type": "source"}, "954": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1", "type": "source"}, "955": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed", "type": "source"}, "956": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted", "type": "source"}, "957": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed", "type": "source"}, "958": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred", "type": "source"}, "959": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking", "type": "source"}, "960": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged", "type": "source"}, "961": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0", "type": "source"}, "962": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1", "type": "source"}, "963": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0", "type": "source"}, "964": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1", "type": "source"}, "965": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed", "type": "source"}, "966": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted", "type": "source"}, "967": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed", "type": "source"}, "968": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred", "type": "source"}, "969": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking", "type": "source"}, "970": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged", "type": "source"}, "971": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0", "type": "source"}, "972": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1", "type": "source"}, "973": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0", "type": "source"}, "974": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1", "type": "source"}, "975": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed", "type": "source"}, "976": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted", "type": "source"}, "977": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed", "type": "source"}, "978": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred", "type": "source"}, "979": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking", "type": "source"}, "980": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged", "type": "source"}, "981": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0", "type": "source"}, "982": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1", "type": "source"}, "983": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0", "type": "source"}, "984": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1", "type": "source"}, "985": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed", "type": "source"}, "986": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted", "type": "source"}, "987": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed", "type": "source"}, "988": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred", "type": "source"}, "989": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking", "type": "source"}, "990": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged", "type": "source"}, "991": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0", "type": "source"}, "992": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1", "type": "source"}, "993": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0", "type": "source"}, "994": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1", "type": "source"}, "995": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed", "type": "source"}, "996": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted", "type": "source"}, "997": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed", "type": "source"}, "998": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred", "type": "source"}, "999": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking", "type": "source"}, "1000": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged", "type": "source"}, "1001": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0", "type": "source"}, "1002": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1", "type": "source"}, "1003": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0", "type": "source"}, "1004": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1", "type": "source"}, "1005": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed", "type": "source"}, "1006": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted", "type": "source"}, "1007": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed", "type": "source"}, "1008": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred", "type": "source"}, "1009": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking", "type": "source"}, "1010": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged", "type": "source"}, "1011": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0", "type": "source"}, "1012": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1", "type": "source"}, "1013": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0", "type": "source"}, "1014": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1", "type": "source"}, "1015": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed", "type": "source"}, "1016": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted", "type": "source"}, "1017": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed", "type": "source"}, "1018": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred", "type": "source"}, "1019": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking", "type": "source"}, "1020": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged", "type": "source"}, "1021": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0", "type": "source"}, "1022": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1", "type": "source"}, "1023": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0", "type": "source"}, "1024": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1", "type": "source"}, "1025": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed", "type": "source"}, "1026": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted", "type": "source"}, "1027": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed", "type": "source"}, "1028": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred", "type": "source"}, "1029": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking", "type": "source"}, "1030": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged", "type": "source"}, "1031": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0", "type": "source"}, "1032": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1", "type": "source"}, "1033": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0", "type": "source"}, "1034": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1", "type": "source"}, "1035": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed", "type": "source"}, "1036": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted", "type": "source"}, "1037": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed", "type": "source"}, "1038": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred", "type": "source"}, "1039": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking", "type": "source"}, "1040": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged", "type": "source"}, "1041": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0", "type": "source"}, "1042": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1", "type": "source"}, "1043": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0", "type": "source"}, "1044": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1", "type": "source"}, "1045": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed", "type": "source"}, "1046": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted", "type": "source"}, "1047": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed", "type": "source"}, "1048": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred", "type": "source"}, "1049": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking", "type": "source"}, "1050": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged", "type": "source"}, "1051": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0", "type": "source"}, "1052": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1", "type": "source"}, "1053": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0", "type": "source"}, "1054": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1", "type": "source"}, "1055": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed", "type": "source"}, "1056": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted", "type": "source"}, "1057": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed", "type": "source"}, "1058": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred", "type": "source"}, "1059": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking", "type": "source"}, "1060": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged", "type": "source"}, "1061": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0", "type": "source"}, "1062": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1", "type": "source"}, "1063": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0", "type": "source"}, "1064": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1", "type": "source"}, "1065": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed", "type": "source"}, "1066": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted", "type": "source"}, "1067": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed", "type": "source"}, "1068": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred", "type": "source"}, "1069": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking", "type": "source"}, "1070": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged", "type": "source"}, "1071": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0", "type": "source"}, "1072": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1", "type": "source"}, "1073": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0", "type": "source"}, "1074": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1", "type": "source"}, "1075": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed", "type": "source"}, "1076": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted", "type": "source"}, "1077": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed", "type": "source"}, "1078": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred", "type": "source"}, "1079": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking", "type": "source"}, "1080": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged", "type": "source"}, "1081": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0", "type": "source"}, "1082": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1", "type": "source"}, "1083": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0", "type": "source"}, "1084": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1", "type": "source"}, "1085": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed", "type": "source"}, "1086": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted", "type": "source"}, "1087": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed", "type": "source"}, "1088": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred", "type": "source"}, "1089": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking", "type": "source"}, "1090": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged", "type": "source"}, "1091": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0", "type": "source"}, "1092": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1", "type": "source"}, "1093": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0", "type": "source"}, "1094": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1", "type": "source"}, "1095": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed", "type": "source"}, "1096": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted", "type": "source"}, "1097": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed", "type": "source"}, "1098": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred", "type": "source"}, "1099": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking", "type": "source"}, "1100": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged", "type": "source"}, "1101": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0", "type": "source"}, "1102": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1", "type": "source"}, "1103": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0", "type": "source"}, "1104": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1", "type": "source"}, "1105": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long1_event_minted", "type": "source"}, "1106": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long1_event_rebalanced", "type": "source"}, "1107": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long1_event_redeemed", "type": "source"}, "1108": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long1_event_transfer", "type": "source"}, "1109": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short1_event_minted", "type": "source"}, "1110": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short1_event_rebalanced", "type": "source"}, "1111": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short1_event_redeemed", "type": "source"}, "1112": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short1_event_transfer", "type": "source"}, "1113": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long2_event_minted", "type": "source"}, "1114": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long2_event_rebalanced", "type": "source"}, "1115": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long2_event_redeemed", "type": "source"}, "1116": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long2_event_transfer", "type": "source"}, "1117": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short2_event_minted", "type": "source"}, "1118": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short2_event_rebalanced", "type": "source"}, "1119": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short2_event_redeemed", "type": "source"}, "1120": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short2_event_transfer", "type": "source"}, "1121": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long5_event_minted", "type": "source"}, "1122": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long5_event_rebalanced", "type": "source"}, "1123": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long5_event_redeemed", "type": "source"}, "1124": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long5_event_transfer", "type": "source"}, "1125": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short5_event_minted", "type": "source"}, "1126": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short5_event_rebalanced", "type": "source"}, "1127": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short5_event_redeemed", "type": "source"}, "1128": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short5_event_transfer", "type": "source"}, "1129": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long1_event_minted", "type": "source"}, "1130": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long1_event_rebalanced", "type": "source"}, "1131": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long1_event_redeemed", "type": "source"}, "1132": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long1_event_transfer", "type": "source"}, "1133": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short1_event_minted", "type": "source"}, "1134": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short1_event_rebalanced", "type": "source"}, "1135": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short1_event_redeemed", "type": "source"}, "1136": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short1_event_transfer", "type": "source"}, "1137": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long2_event_minted", "type": "source"}, "1138": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long2_event_rebalanced", "type": "source"}, "1139": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long2_event_redeemed", "type": "source"}, "1140": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long2_event_transfer", "type": "source"}, "1141": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short2_event_minted", "type": "source"}, "1142": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short2_event_rebalanced", "type": "source"}, "1143": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short2_event_redeemed", "type": "source"}, "1144": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short2_event_transfer", "type": "source"}, "1145": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long5_event_minted", "type": "source"}, "1146": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long5_event_rebalanced", "type": "source"}, "1147": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long5_event_redeemed", "type": "source"}, "1148": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long5_event_transfer", "type": "source"}, "1149": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short5_event_minted", "type": "source"}, "1150": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short5_event_rebalanced", "type": "source"}, "1151": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short5_event_redeemed", "type": "source"}, "1152": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short5_event_transfer", "type": "source"}, "1153": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long1_event_minted", "type": "source"}, "1154": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long1_event_rebalanced", "type": "source"}, "1155": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long1_event_redeemed", "type": "source"}, "1156": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long1_event_transfer", "type": "source"}, "1157": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short1_event_minted", "type": "source"}, "1158": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short1_event_rebalanced", "type": "source"}, "1159": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short1_event_redeemed", "type": "source"}, "1160": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short1_event_transfer", "type": "source"}, "1161": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long2_event_minted", "type": "source"}, "1162": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long2_event_rebalanced", "type": "source"}, "1163": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long2_event_redeemed", "type": "source"}, "1164": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long2_event_transfer", "type": "source"}, "1165": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short2_event_minted", "type": "source"}, "1166": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short2_event_rebalanced", "type": "source"}, "1167": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short2_event_redeemed", "type": "source"}, "1168": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short2_event_transfer", "type": "source"}, "1169": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long5_event_minted", "type": "source"}, "1170": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long5_event_rebalanced", "type": "source"}, "1171": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long5_event_redeemed", "type": "source"}, "1172": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long5_event_transfer", "type": "source"}, "1173": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short5_event_minted", "type": "source"}, "1174": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short5_event_rebalanced", "type": "source"}, "1175": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short5_event_redeemed", "type": "source"}, "1176": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short5_event_transfer", "type": "source"}, "1177": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long1_event_minted", "type": "source"}, "1178": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long1_event_rebalanced", "type": "source"}, "1179": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long1_event_redeemed", "type": "source"}, "1180": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long1_event_transfer", "type": "source"}, "1181": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short1_event_minted", "type": "source"}, "1182": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short1_event_rebalanced", "type": "source"}, "1183": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short1_event_redeemed", "type": "source"}, "1184": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short1_event_transfer", "type": "source"}, "1185": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long2_event_minted", "type": "source"}, "1186": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long2_event_rebalanced", "type": "source"}, "1187": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long2_event_redeemed", "type": "source"}, "1188": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long2_event_transfer", "type": "source"}, "1189": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short2_event_minted", "type": "source"}, "1190": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short2_event_rebalanced", "type": "source"}, "1191": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short2_event_redeemed", "type": "source"}, "1192": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short2_event_transfer", "type": "source"}, "1193": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long5_event_minted", "type": "source"}, "1194": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long5_event_rebalanced", "type": "source"}, "1195": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long5_event_redeemed", "type": "source"}, "1196": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_long5_event_transfer", "type": "source"}, "1197": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short5_event_minted", "type": "source"}, "1198": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short5_event_rebalanced", "type": "source"}, "1199": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short5_event_redeemed", "type": "source"}, "1200": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_link_short5_event_transfer", "type": "source"}, "1201": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long1_event_minted", "type": "source"}, "1202": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long1_event_rebalanced", "type": "source"}, "1203": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long1_event_redeemed", "type": "source"}, "1204": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long1_event_transfer", "type": "source"}, "1205": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short1_event_minted", "type": "source"}, "1206": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short1_event_rebalanced", "type": "source"}, "1207": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short1_event_redeemed", "type": "source"}, "1208": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short1_event_transfer", "type": "source"}, "1209": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long2_event_minted", "type": "source"}, "1210": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long2_event_rebalanced", "type": "source"}, "1211": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long2_event_redeemed", "type": "source"}, "1212": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long2_event_transfer", "type": "source"}, "1213": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_minted", "type": "source"}, "1214": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_rebalanced", "type": "source"}, "1215": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_redeemed", "type": "source"}, "1216": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short2_event_transfer", "type": "source"}, "1217": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long5_event_minted", "type": "source"}, "1218": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long5_event_rebalanced", "type": "source"}, "1219": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long5_event_redeemed", "type": "source"}, "1220": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_long5_event_transfer", "type": "source"}, "1221": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short5_event_minted", "type": "source"}, "1222": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short5_event_rebalanced", "type": "source"}, "1223": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short5_event_redeemed", "type": "source"}, "1224": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_op_short5_event_transfer", "type": "source"}, "1225": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long3_event_minted", "type": "source"}, "1226": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long3_event_rebalanced", "type": "source"}, "1227": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long3_event_redeemed", "type": "source"}, "1228": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long3_event_transfer", "type": "source"}, "1229": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short3_event_minted", "type": "source"}, "1230": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short3_event_rebalanced", "type": "source"}, "1231": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short3_event_redeemed", "type": "source"}, "1232": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short3_event_transfer", "type": "source"}, "1233": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long4_event_minted", "type": "source"}, "1234": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long4_event_rebalanced", "type": "source"}, "1235": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long4_event_redeemed", "type": "source"}, "1236": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long4_event_transfer", "type": "source"}, "1237": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short4_event_minted", "type": "source"}, "1238": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short4_event_rebalanced", "type": "source"}, "1239": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short4_event_redeemed", "type": "source"}, "1240": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short4_event_transfer", "type": "source"}, "1241": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long3_event_minted", "type": "source"}, "1242": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long3_event_rebalanced", "type": "source"}, "1243": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long3_event_redeemed", "type": "source"}, "1244": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long3_event_transfer", "type": "source"}, "1245": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short3_event_minted", "type": "source"}, "1246": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short3_event_rebalanced", "type": "source"}, "1247": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short3_event_redeemed", "type": "source"}, "1248": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short3_event_transfer", "type": "source"}, "1249": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long4_event_minted", "type": "source"}, "1250": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long4_event_rebalanced", "type": "source"}, "1251": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long4_event_redeemed", "type": "source"}, "1252": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long4_event_transfer", "type": "source"}, "1253": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short4_event_minted", "type": "source"}, "1254": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short4_event_rebalanced", "type": "source"}, "1255": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short4_event_redeemed", "type": "source"}, "1256": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short4_event_transfer", "type": "source"}, "1257": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long3_event_minted", "type": "source"}, "1258": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long3_event_rebalanced", "type": "source"}, "1259": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long3_event_redeemed", "type": "source"}, "1260": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long3_event_transfer", "type": "source"}, "1261": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short3_event_minted", "type": "source"}, "1262": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short3_event_rebalanced", "type": "source"}, "1263": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short3_event_redeemed", "type": "source"}, "1264": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short3_event_transfer", "type": "source"}, "1265": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long4_event_minted", "type": "source"}, "1266": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long4_event_rebalanced", "type": "source"}, "1267": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long4_event_redeemed", "type": "source"}, "1268": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_long4_event_transfer", "type": "source"}, "1269": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short4_event_minted", "type": "source"}, "1270": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short4_event_rebalanced", "type": "source"}, "1271": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short4_event_redeemed", "type": "source"}, "1272": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sol_short4_event_transfer", "type": "source"}, "1273": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long1_event_minted", "type": "source"}, "1274": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long1_event_rebalanced", "type": "source"}, "1275": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long1_event_redeemed", "type": "source"}, "1276": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long1_event_transfer", "type": "source"}, "1277": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short1_event_minted", "type": "source"}, "1278": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short1_event_rebalanced", "type": "source"}, "1279": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short1_event_redeemed", "type": "source"}, "1280": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short1_event_transfer", "type": "source"}, "1281": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long2_event_minted", "type": "source"}, "1282": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long2_event_rebalanced", "type": "source"}, "1283": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long2_event_redeemed", "type": "source"}, "1284": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long2_event_transfer", "type": "source"}, "1285": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short2_event_minted", "type": "source"}, "1286": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short2_event_rebalanced", "type": "source"}, "1287": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short2_event_redeemed", "type": "source"}, "1288": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short2_event_transfer", "type": "source"}, "1289": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long5_event_minted", "type": "source"}, "1290": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long5_event_rebalanced", "type": "source"}, "1291": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long5_event_redeemed", "type": "source"}, "1292": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_long5_event_transfer", "type": "source"}, "1293": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short5_event_minted", "type": "source"}, "1294": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short5_event_rebalanced", "type": "source"}, "1295": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short5_event_redeemed", "type": "source"}, "1296": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_pepe_short5_event_transfer", "type": "source"}, "1297": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long2_event_minted", "type": "source"}, "1298": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long2_event_rebalanced", "type": "source"}, "1299": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long2_event_redeemed", "type": "source"}, "1300": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long2_event_transfer", "type": "source"}, "1301": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short2_event_minted", "type": "source"}, "1302": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short2_event_rebalanced", "type": "source"}, "1303": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short2_event_redeemed", "type": "source"}, "1304": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short2_event_transfer", "type": "source"}, "1305": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long5_event_minted", "type": "source"}, "1306": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long5_event_rebalanced", "type": "source"}, "1307": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long5_event_redeemed", "type": "source"}, "1308": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_long5_event_transfer", "type": "source"}, "1309": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short5_event_minted", "type": "source"}, "1310": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short5_event_rebalanced", "type": "source"}, "1311": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short5_event_redeemed", "type": "source"}, "1312": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_doge_short5_event_transfer", "type": "source"}, "1313": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long7_event_minted", "type": "source"}, "1314": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long7_event_rebalanced", "type": "source"}, "1315": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long7_event_redeemed", "type": "source"}, "1316": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_long7_event_transfer", "type": "source"}, "1317": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short7_event_minted", "type": "source"}, "1318": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short7_event_rebalanced", "type": "source"}, "1319": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short7_event_redeemed", "type": "source"}, "1320": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_eth_short7_event_transfer", "type": "source"}, "1321": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long7_event_minted", "type": "source"}, "1322": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long7_event_rebalanced", "type": "source"}, "1323": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long7_event_redeemed", "type": "source"}, "1324": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_long7_event_transfer", "type": "source"}, "1325": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short7_event_minted", "type": "source"}, "1326": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short7_event_rebalanced", "type": "source"}, "1327": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short7_event_redeemed", "type": "source"}, "1328": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_btc_short7_event_transfer", "type": "source"}, "1329": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long2_event_minted", "type": "source"}, "1330": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long2_event_rebalanced", "type": "source"}, "1331": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long2_event_redeemed", "type": "source"}, "1332": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long2_event_transfer", "type": "source"}, "1333": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short2_event_minted", "type": "source"}, "1334": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short2_event_rebalanced", "type": "source"}, "1335": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short2_event_redeemed", "type": "source"}, "1336": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short2_event_transfer", "type": "source"}, "1337": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long5_event_minted", "type": "source"}, "1338": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long5_event_rebalanced", "type": "source"}, "1339": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long5_event_redeemed", "type": "source"}, "1340": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long5_event_transfer", "type": "source"}, "1341": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short5_event_minted", "type": "source"}, "1342": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short5_event_rebalanced", "type": "source"}, "1343": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short5_event_redeemed", "type": "source"}, "1344": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short5_event_transfer", "type": "source"}, "1345": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_minted", "type": "source"}, "1346": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_rebalanced", "type": "source"}, "1347": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_redeemed", "type": "source"}, "1348": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long2_event_transfer", "type": "source"}, "1349": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short2_event_minted", "type": "source"}, "1350": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short2_event_rebalanced", "type": "source"}, "1351": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short2_event_redeemed", "type": "source"}, "1352": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short2_event_transfer", "type": "source"}, "1353": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long5_event_minted", "type": "source"}, "1354": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long5_event_rebalanced", "type": "source"}, "1355": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long5_event_redeemed", "type": "source"}, "1356": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_long5_event_transfer", "type": "source"}, "1357": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short5_event_minted", "type": "source"}, "1358": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short5_event_rebalanced", "type": "source"}, "1359": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short5_event_redeemed", "type": "source"}, "1360": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sui_short5_event_transfer", "type": "source"}, "1361": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long10_event_minted", "type": "source"}, "1362": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long10_event_rebalanced", "type": "source"}, "1363": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long10_event_redeemed", "type": "source"}, "1364": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_long10_event_transfer", "type": "source"}, "1365": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short10_event_minted", "type": "source"}, "1366": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short10_event_rebalanced", "type": "source"}, "1367": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short10_event_redeemed", "type": "source"}, "1368": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_ethbtc_short10_event_transfer", "type": "source"}, "1369": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long2_event_minted", "type": "source"}, "1370": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long2_event_rebalanced", "type": "source"}, "1371": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long2_event_redeemed", "type": "source"}, "1372": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long2_event_transfer", "type": "source"}, "1373": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short2_event_minted", "type": "source"}, "1374": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short2_event_rebalanced", "type": "source"}, "1375": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short2_event_redeemed", "type": "source"}, "1376": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short2_event_transfer", "type": "source"}, "1377": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long5_event_minted", "type": "source"}, "1378": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long5_event_rebalanced", "type": "source"}, "1379": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long5_event_redeemed", "type": "source"}, "1380": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_long5_event_transfer", "type": "source"}, "1381": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short5_event_minted", "type": "source"}, "1382": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short5_event_rebalanced", "type": "source"}, "1383": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short5_event_redeemed", "type": "source"}, "1384": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_sei_short5_event_transfer", "type": "source"}, "1385": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long2_event_minted", "type": "source"}, "1386": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long2_event_rebalanced", "type": "source"}, "1387": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long2_event_redeemed", "type": "source"}, "1388": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long2_event_transfer", "type": "source"}, "1389": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short2_event_minted", "type": "source"}, "1390": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short2_event_rebalanced", "type": "source"}, "1391": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short2_event_redeemed", "type": "source"}, "1392": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short2_event_transfer", "type": "source"}, "1393": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long5_event_minted", "type": "source"}, "1394": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long5_event_rebalanced", "type": "source"}, "1395": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long5_event_redeemed", "type": "source"}, "1396": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_long5_event_transfer", "type": "source"}, "1397": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short5_event_minted", "type": "source"}, "1398": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short5_event_rebalanced", "type": "source"}, "1399": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short5_event_redeemed", "type": "source"}, "1400": {"name": "source.synthetix.raw_optimism_mainnet_tlx.lt_rune_short5_event_transfer", "type": "source"}, "1401": {"name": "source.synthetix.raw_snax_testnet.block", "type": "source", "succ": [1799]}, "1402": {"name": "source.synthetix.raw_snax_testnet.governance_proxy_event_vote_recorded", "type": "source", "succ": [1798]}, "1403": {"name": "source.synthetix.raw_snax_testnet.governance_proxy_event_vote_withdrawn", "type": "source", "succ": [1800]}, "1404": {"name": "source.synthetix.raw_snax_mainnet.block", "type": "source", "succ": [1792]}, "1405": {"name": "source.synthetix.raw_snax_mainnet.spartan_governance_proxy_event_vote_recorded", "type": "source", "succ": [1791]}, "1406": {"name": "source.synthetix.raw_snax_mainnet.spartan_governance_proxy_event_vote_withdrawn", "type": "source", "succ": [1797]}, "1407": {"name": "source.synthetix.raw_snax_mainnet.treasury_governance_proxy_event_vote_recorded", "type": "source", "succ": [1795]}, "1408": {"name": "source.synthetix.raw_snax_mainnet.treasury_governance_proxy_event_vote_withdrawn", "type": "source", "succ": [1796]}, "1409": {"name": "source.synthetix.raw_snax_mainnet.ambassador_governance_proxy_event_vote_recorded", "type": "source", "succ": [1794]}, "1410": {"name": "source.synthetix.raw_snax_mainnet.ambassador_governance_proxy_event_vote_withdrawn", "type": "source", "succ": [1793]}, "1411": {"name": "model.synthetix.fct_synth_supply_base_sepolia", "type": "model", "succ": [1807, 1808, 1809, 1810, 1811]}, "1412": {"name": "model.synthetix.fct_spot_wrapper_base_sepolia", "type": "model", "succ": [1411, 1827, 1828, 1829, 1830, 1831, 1832, 1833, 1834]}, "1413": {"name": "model.synthetix.fct_spot_atomics_base_sepolia", "type": "model", "succ": [1411, 1812, 1813, 1814, 1815, 1816, 1817, 1818, 1819, 1820, 1821]}, "1414": {"name": "model.synthetix.core_usd_minted_base_sepolia", "type": "model", "succ": [1411, 1457, 3684, 3685, 3686, 3687, 3688, 3689, 3690, 3691, 3692, 3693, 3694, 3695, 3696, 3697, 3698, 3699]}, "1415": {"name": "model.synthetix.core_usd_burned_base_sepolia", "type": "model", "succ": [1411, 1457, 3668, 3669, 3670, 3671, 3672, 3673, 3674, 3675, 3676, 3677, 3678, 3679, 3680, 3681, 3682, 3683]}, "1416": {"name": "model.synthetix.spot_synth_bought_base_sepolia", "type": "model", "succ": [1413, 3311, 3312, 3313, 3314, 3315, 3316, 3317, 3318, 3319, 3320, 3321, 3322, 3323, 3324, 3325]}, "1417": {"name": "model.synthetix.spot_synth_sold_base_sepolia", "type": "model", "succ": [1413, 3326, 3327, 3328, 3329, 3330, 3331, 3332, 3333, 3334, 3335, 3336, 3337, 3338, 3339, 3340, 3341, 3342]}, "1418": {"name": "model.synthetix.fct_spot_markets_base_sepolia", "type": "model", "succ": [1822, 1823, 1824, 1825, 1826]}, "1419": {"name": "model.synthetix.spot_synth_registered_base_sepolia", "type": "model", "succ": [1418, 1434, 3300, 3301, 3302, 3303, 3304, 3305, 3306, 3307, 3308, 3309, 3310]}, "1420": {"name": "model.synthetix.spot_synth_wrapped_base_sepolia", "type": "model", "succ": [1412, 3343, 3344, 3345, 3346, 3347, 3348, 3349, 3350, 3351, 3352, 3353, 3354]}, "1421": {"name": "model.synthetix.spot_synth_unwrapped_base_sepolia", "type": "model", "succ": [1412, 3355, 3356, 3357, 3358, 3359, 3360, 3361, 3362, 3363, 3364, 3365, 3366, 3367, 3368]}, "1422": {"name": "model.synthetix.fct_prices_base_sepolia", "type": "model", "succ": [1427, 1835, 1836, 1837, 1838]}, "1423": {"name": "model.synthetix.fct_perp_market_history_base_sepolia", "type": "model", "succ": [1422, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989]}, "1424": {"name": "model.synthetix.fct_buyback_base_sepolia", "type": "model", "succ": [1422, 1429, 1430, 1861, 1862, 1863, 1864, 1865, 1866, 1867, 1868, 1869, 1870]}, "1425": {"name": "model.synthetix.core_vault_collateral_base_sepolia", "type": "model", "succ": [1422, 1465, 3715, 3716, 3717, 3718, 3719, 3720, 3721, 3722, 3723, 3724]}, "1426": {"name": "seed.synthetix.base_sepolia_tokens", "type": "seed", "succ": [1422, 5495, 5496]}, "1427": {"name": "model.synthetix.fct_prices_hourly_base_sepolia", "type": "model", "succ": [1434, 1471, 1839, 1840, 1841, 1842]}, "1428": {"name": "model.synthetix.buyback_processed_base_sepolia", "type": "model", "succ": [1424, 3369, 3370, 3371, 3372, 3373, 3374, 3375, 3376, 3377, 3378, 3379, 3380, 3381]}, "1429": {"name": "model.synthetix.fct_buyback_daily_base_sepolia", "type": "model", "succ": [1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850, 1851]}, "1430": {"name": "model.synthetix.fct_buyback_hourly_base_sepolia", "type": "model", "succ": [1852, 1853, 1854, 1855, 1856, 1857, 1858, 1859, 1860]}, "1431": {"name": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "type": "model", "succ": [1888, 1889, 1890, 1891, 1892, 1893, 1894, 1895, 1896, 1897, 1898]}, "1432": {"name": "model.synthetix.perp_collateral_modified_base_sepolia", "type": "model", "succ": [1431, 1434, 3462, 3463, 3464, 3465, 3466, 3467, 3468, 3469, 3470, 3471, 3472, 3473, 3474]}, "1433": {"name": "seed.synthetix.base_sepolia_synths", "type": "seed", "succ": [1431, 1434]}, "1434": {"name": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "type": "model", "succ": [2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023]}, "1435": {"name": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "type": "model", "succ": [1434, 1453, 3449, 3450, 3451, 3452, 3453, 3454, 3455, 3456, 3457, 3458, 3459, 3460, 3461]}, "1436": {"name": "seed.synthetix.base_sepolia_reward_distributors", "type": "seed", "succ": [1434, 1472, 5487, 5488]}, "1437": {"name": "model.synthetix.core_rewards_distributed_base_sepolia", "type": "model", "succ": [1434, 1472, 3652, 3653, 3654, 3655, 3656, 3657, 3658, 3659, 3660, 3661, 3662, 3663, 3664, 3665, 3666, 3667]}, "1438": {"name": "model.synthetix.fct_perp_markets_base_sepolia", "type": "model", "succ": [1444, 1446, 1423, 1455, 1956, 1957, 1958, 1959, 1960, 1961]}, "1439": {"name": "model.synthetix.perp_market_created_base_sepolia", "type": "model", "succ": [1438, 3487, 3488, 3489, 3490, 3491, 3492, 3493, 3494, 3495, 3496, 3497, 3498]}, "1440": {"name": "model.synthetix.fct_perp_interest_charged_base_sepolia", "type": "model", "succ": [1876, 1877, 1878, 1879, 1880, 1881, 1882, 1883, 1884, 1885, 1886, 1887]}, "1441": {"name": "model.synthetix.perp_interest_charged_base_sepolia", "type": "model", "succ": [1440, 3499, 3500, 3501, 3502, 3503, 3504, 3505, 3506, 3507, 3508]}, "1442": {"name": "model.synthetix.fct_perp_accounts_base_sepolia", "type": "model", "succ": [2007, 2008, 2009, 2010]}, "1443": {"name": "model.synthetix.perp_account_created_base_sepolia", "type": "model", "succ": [1442, 3382, 3383, 3384, 3385, 3386, 3387, 3388, 3389, 3390, 3391, 3392]}, "1444": {"name": "model.synthetix.fct_perp_trades_base_sepolia", "type": "model", "succ": [1454, 1484, 1485, 1483, 1486, 1481, 1911, 1912, 1913, 1914, 1915, 1916, 1917, 1918, 1919, 1920, 1921, 1922, 1923, 1924, 1925, 1926, 1927, 1928, 1929, 1930, 1931, 1932, 1933, 1934, 1935, 1936, 1937, 1938, 1939, 1940, 1941, 1942]}, "1445": {"name": "model.synthetix.perp_order_settled_base_sepolia", "type": "model", "succ": [1444, 3405, 3406, 3407, 3408, 3409, 3410, 3411, 3412, 3413, 3414, 3415, 3416, 3417, 3418]}, "1446": {"name": "model.synthetix.fct_perp_liq_position_base_sepolia", "type": "model", "succ": [1483, 1481, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002]}, "1447": {"name": "model.synthetix.perp_position_liquidated_base_sepolia", "type": "model", "succ": [1446, 3433, 3434, 3435, 3436, 3437, 3438, 3439, 3440, 3441, 3442, 3443, 3444, 3445, 3446, 3447, 3448]}, "1448": {"name": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "type": "model", "succ": [1899, 1900, 1901, 1902, 1903, 1904, 1905, 1906, 1907, 1908, 1909, 1910]}, "1449": {"name": "model.synthetix.perp_previous_order_expired_base_sepolia", "type": "model", "succ": [1448, 3475, 3476, 3477, 3478, 3479, 3480, 3481, 3482, 3483, 3484, 3485, 3486]}, "1450": {"name": "model.synthetix.fct_perp_pnl_base_sepolia", "type": "model", "succ": [1943, 1944, 1945]}, "1451": {"name": "model.synthetix.core_vault_debt_base_sepolia", "type": "model", "succ": [1450, 1459, 3725, 3726, 3727, 3728, 3729, 3730, 3731]}, "1452": {"name": "model.synthetix.perp_market_updated_base_sepolia", "type": "model", "succ": [1423, 3419, 3420, 3421, 3422, 3423, 3424, 3425, 3426, 3427, 3428, 3429, 3430, 3431, 3432]}, "1453": {"name": "model.synthetix.fct_perp_liq_account_base_sepolia", "type": "model", "succ": [1488, 2003, 2004, 2005, 2006]}, "1454": {"name": "model.synthetix.fct_perp_account_activity_base_sepolia", "type": "model", "succ": [1871, 1872, 1873, 1874, 1875]}, "1455": {"name": "model.synthetix.fct_perp_orders_base_sepolia", "type": "model", "succ": [1946, 1947, 1948, 1949, 1950, 1951, 1952, 1953, 1954, 1955]}, "1456": {"name": "model.synthetix.perp_order_committed_base_sepolia", "type": "model", "succ": [1455, 3393, 3394, 3395, 3396, 3397, 3398, 3399, 3400, 3401, 3402, 3403, 3404]}, "1457": {"name": "model.synthetix.fct_pool_issuance_base_sepolia", "type": "model", "succ": [1458, 2101, 2102, 2103, 2104, 2105, 2106, 2107, 2108]}, "1458": {"name": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "type": "model", "succ": [1465, 2096, 2097, 2098, 2099, 2100]}, "1459": {"name": "model.synthetix.fct_pool_debt_base_sepolia", "type": "model", "succ": [1458, 1465, 1471, 2090, 2091, 2092, 2093, 2094, 2095]}, "1460": {"name": "model.synthetix.fct_core_active_stakers_daily_base_sepolia", "type": "model", "succ": [2028]}, "1461": {"name": "model.synthetix.core_delegation_updated_base_sepolia", "type": "model", "succ": [1460, 1466, 1470, 1479, 3532, 3533, 3534, 3535, 3536, 3537, 3538, 3539, 3540, 3541, 3542, 3543, 3544, 3545, 3546, 3547, 3548, 3549]}, "1462": {"name": "model.synthetix.fct_core_market_updated_base_sepolia", "type": "model", "succ": [2066, 2067, 2068, 2069, 2070, 2071, 2072, 2073, 2074, 2075, 2076, 2077]}, "1463": {"name": "model.synthetix.core_market_updated_base_sepolia", "type": "model", "succ": [1462, 3594, 3595, 3596, 3597, 3598, 3599, 3600, 3601, 3602, 3603, 3604, 3605, 3606, 3607, 3608, 3609, 3610, 3611]}, "1464": {"name": "model.synthetix.fct_core_apr_base_sepolia", "type": "model", "succ": [2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 2052, 2053, 2054, 2055, 2056, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064, 2065]}, "1465": {"name": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "type": "model", "succ": [1464, 1476, 2109, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119, 2120, 2121, 2122, 2123]}, "1466": {"name": "model.synthetix.fct_core_account_activity_base_sepolia", "type": "model", "succ": [2024, 2025, 2026, 2027]}, "1467": {"name": "model.synthetix.core_withdrawn_base_sepolia", "type": "model", "succ": [1466, 1473, 3564, 3565, 3566, 3567, 3568, 3569, 3570, 3571, 3572, 3573, 3574, 3575, 3576, 3577]}, "1468": {"name": "model.synthetix.core_rewards_claimed_base_sepolia", "type": "model", "succ": [1466, 3636, 3637, 3638, 3639, 3640, 3641, 3642, 3643, 3644, 3645, 3646, 3647, 3648, 3649, 3650, 3651]}, "1469": {"name": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "type": "model", "succ": [1465, 2124, 2125, 2126, 2127, 2128, 2129]}, "1470": {"name": "model.synthetix.fct_core_account_delegation_base_sepolia", "type": "model", "succ": [2037, 2038, 2039, 2040, 2041, 2042, 2043]}, "1471": {"name": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "type": "model", "succ": [1469, 1476, 2130, 2131, 2132, 2133, 2134, 2135, 2136, 2137, 2138, 2139]}, "1472": {"name": "model.synthetix.fct_pool_rewards_base_sepolia", "type": "model", "succ": [1471, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036]}, "1473": {"name": "model.synthetix.fct_core_pool_collateral_base_sepolia", "type": "model", "succ": [2078, 2079, 2080]}, "1474": {"name": "model.synthetix.core_deposited_base_sepolia", "type": "model", "succ": [1473, 3550, 3551, 3552, 3553, 3554, 3555, 3556, 3557, 3558, 3559, 3560, 3561, 3562, 3563]}, "1475": {"name": "model.synthetix.fct_core_apr_rewards_base_sepolia", "type": "model"}, "1476": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "type": "model", "succ": [1475]}, "1477": {"name": "model.synthetix.fct_core_pools_base_sepolia", "type": "model", "succ": [2085, 2086, 2087, 2088, 2089]}, "1478": {"name": "model.synthetix.core_pool_created_base_sepolia", "type": "model", "succ": [1477, 3624, 3625, 3626, 3627, 3628, 3629, 3630, 3631, 3632, 3633, 3634, 3635]}, "1479": {"name": "model.synthetix.fct_core_pool_delegation_base_sepolia", "type": "model", "succ": [2081, 2082, 2083, 2084]}, "1480": {"name": "model.synthetix.fct_perp_account_stats_daily_base_sepolia", "type": "model"}, "1481": {"name": "model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "type": "model", "succ": [1480]}, "1482": {"name": "model.synthetix.fct_perp_market_stats_daily_base_sepolia", "type": "model"}, "1483": {"name": "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "type": "model", "succ": [1482, 1488]}, "1484": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "type": "model", "succ": [1486]}, "1485": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "type": "model", "succ": [1489]}, "1486": {"name": "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia", "type": "model"}, "1487": {"name": "model.synthetix.fct_perp_stats_daily_base_sepolia", "type": "model"}, "1488": {"name": "model.synthetix.fct_perp_stats_hourly_base_sepolia", "type": "model", "succ": [1487]}, "1489": {"name": "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia", "type": "model"}, "1490": {"name": "model.synthetix.fct_spot_atomics_base_mainnet", "type": "model", "succ": [1498, 2145, 2146, 2147, 2148, 2149, 2150, 2151, 2152, 2153, 2154]}, "1491": {"name": "model.synthetix.spot_synth_bought_base_mainnet", "type": "model", "succ": [1490, 3789, 3790, 3791, 3792, 3793, 3794, 3795, 3796, 3797, 3798, 3799, 3800, 3801, 3802, 3803]}, "1492": {"name": "model.synthetix.spot_synth_sold_base_mainnet", "type": "model", "succ": [1490, 3804, 3805, 3806, 3807, 3808, 3809, 3810, 3811, 3812, 3813, 3814, 3815, 3816, 3817, 3818, 3819, 3820]}, "1493": {"name": "model.synthetix.fct_spot_wrapper_base_mainnet", "type": "model", "succ": [1498, 2160, 2161, 2162, 2163, 2164, 2165, 2166, 2167]}, "1494": {"name": "model.synthetix.spot_synth_wrapped_base_mainnet", "type": "model", "succ": [1493, 3821, 3822, 3823, 3824, 3825, 3826, 3827, 3828, 3829, 3830, 3831, 3832]}, "1495": {"name": "model.synthetix.spot_synth_unwrapped_base_mainnet", "type": "model", "succ": [1493, 3833, 3834, 3835, 3836, 3837, 3838, 3839, 3840, 3841, 3842, 3843, 3844, 3845, 3846]}, "1496": {"name": "model.synthetix.fct_spot_markets_base_mainnet", "type": "model", "succ": [2155, 2156, 2157, 2158, 2159]}, "1497": {"name": "model.synthetix.spot_synth_registered_base_mainnet", "type": "model", "succ": [1496, 1519, 3778, 3779, 3780, 3781, 3782, 3783, 3784, 3785, 3786, 3787, 3788]}, "1498": {"name": "model.synthetix.fct_synth_supply_base_mainnet", "type": "model", "succ": [2140, 2141, 2142, 2143, 2144]}, "1499": {"name": "model.synthetix.core_usd_minted_base_mainnet", "type": "model", "succ": [1498, 1551, 4162, 4163, 4164, 4165, 4166, 4167, 4168, 4169, 4170, 4171, 4172, 4173, 4174, 4175, 4176, 4177]}, "1500": {"name": "model.synthetix.core_usd_burned_base_mainnet", "type": "model", "succ": [1498, 1551, 4146, 4147, 4148, 4149, 4150, 4151, 4152, 4153, 4154, 4155, 4156, 4157, 4158, 4159, 4160, 4161]}, "1501": {"name": "model.synthetix.fct_prices_hourly_base_mainnet", "type": "model", "succ": [1519, 1543, 1542, 2172, 2173, 2174, 2175]}, "1502": {"name": "model.synthetix.fct_prices_base_mainnet", "type": "model", "succ": [1501, 2168, 2169, 2170, 2171]}, "1503": {"name": "model.synthetix.fct_perp_market_history_base_mainnet", "type": "model", "succ": [1502, 2295, 2296, 2297, 2298, 2299, 2300, 2301, 2302, 2303, 2304, 2305, 2306, 2307, 2308, 2309, 2310, 2311, 2312, 2313, 2314, 2315, 2316, 2317, 2318, 2319, 2320, 2321, 2322]}, "1504": {"name": "model.synthetix.fct_buyback_base_mainnet", "type": "model", "succ": [1502, 1507, 1509, 2194, 2195, 2196, 2197, 2198, 2199, 2200, 2201, 2202, 2203]}, "1505": {"name": "model.synthetix.core_vault_collateral_base_mainnet", "type": "model", "succ": [1502, 1549, 1541, 4193, 4194, 4195, 4196, 4197, 4198, 4199, 4200, 4201, 4202]}, "1506": {"name": "seed.synthetix.base_mainnet_tokens", "type": "seed", "succ": [1502, 5493, 5494]}, "1507": {"name": "model.synthetix.fct_buyback_daily_base_mainnet", "type": "model", "succ": [2176, 2177, 2178, 2179, 2180, 2181, 2182, 2183, 2184]}, "1508": {"name": "model.synthetix.buyback_processed_base_mainnet", "type": "model", "succ": [1504, 3847, 3848, 3849, 3850, 3851, 3852, 3853, 3854, 3855, 3856, 3857, 3858, 3859]}, "1509": {"name": "model.synthetix.fct_buyback_hourly_base_mainnet", "type": "model", "succ": [2185, 2186, 2187, 2188, 2189, 2190, 2191, 2192, 2193]}, "1510": {"name": "model.synthetix.fct_perp_liq_position_base_mainnet", "type": "model", "succ": [1566, 1565, 2323, 2324, 2325, 2326, 2327, 2328, 2329, 2330, 2331, 2332, 2333, 2334, 2335]}, "1511": {"name": "model.synthetix.perp_position_liquidated_base_mainnet", "type": "model", "succ": [1510, 3911, 3912, 3913, 3914, 3915, 3916, 3917, 3918, 3919, 3920, 3921, 3922, 3923, 3924, 3925, 3926]}, "1512": {"name": "model.synthetix.fct_perp_markets_base_mainnet", "type": "model", "succ": [1510, 1515, 1518, 1503, 2289, 2290, 2291, 2292, 2293, 2294]}, "1513": {"name": "model.synthetix.fct_perp_pnl_base_mainnet", "type": "model", "succ": [2276, 2277, 2278]}, "1514": {"name": "model.synthetix.core_vault_debt_base_mainnet", "type": "model", "succ": [1513, 1536, 4203, 4204, 4205, 4206, 4207, 4208, 4209]}, "1515": {"name": "model.synthetix.fct_perp_orders_base_mainnet", "type": "model", "succ": [2279, 2280, 2281, 2282, 2283, 2284, 2285, 2286, 2287, 2288]}, "1516": {"name": "model.synthetix.perp_order_committed_base_mainnet", "type": "model", "succ": [1515, 3871, 3872, 3873, 3874, 3875, 3876, 3877, 3878, 3879, 3880, 3881, 3882]}, "1517": {"name": "model.synthetix.fct_perp_account_activity_base_mainnet", "type": "model", "succ": [2204, 2205, 2206, 2207, 2208]}, "1518": {"name": "model.synthetix.fct_perp_trades_base_mainnet", "type": "model", "succ": [1517, 1560, 1562, 1566, 1567, 1565, 2244, 2245, 2246, 2247, 2248, 2249, 2250, 2251, 2252, 2253, 2254, 2255, 2256, 2257, 2258, 2259, 2260, 2261, 2262, 2263, 2264, 2265, 2266, 2267, 2268, 2269, 2270, 2271, 2272, 2273, 2274, 2275]}, "1519": {"name": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "type": "model", "succ": [2344, 2345, 2346, 2347, 2348, 2349, 2350, 2351, 2352, 2353, 2354, 2355, 2356]}, "1520": {"name": "model.synthetix.perp_collateral_modified_base_mainnet", "type": "model", "succ": [1519, 1535, 3940, 3941, 3942, 3943, 3944, 3945, 3946, 3947, 3948, 3949, 3950, 3951, 3952]}, "1521": {"name": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "type": "model", "succ": [1519, 1525, 3927, 3928, 3929, 3930, 3931, 3932, 3933, 3934, 3935, 3936, 3937, 3938, 3939]}, "1522": {"name": "seed.synthetix.base_mainnet_reward_distributors", "type": "seed", "succ": [1519, 1537, 5485, 5486]}, "1523": {"name": "model.synthetix.core_rewards_distributed_base_mainnet", "type": "model", "succ": [1519, 1537, 4130, 4131, 4132, 4133, 4134, 4135, 4136, 4137, 4138, 4139, 4140, 4141, 4142, 4143, 4144, 4145]}, "1524": {"name": "seed.synthetix.base_mainnet_synths", "type": "seed", "succ": [1519, 1535]}, "1525": {"name": "model.synthetix.fct_perp_liq_account_base_mainnet", "type": "model", "succ": [1564, 2336, 2337, 2338, 2339]}, "1526": {"name": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "type": "model", "succ": [2232, 2233, 2234, 2235, 2236, 2237, 2238, 2239, 2240, 2241, 2242, 2243]}, "1527": {"name": "model.synthetix.perp_previous_order_expired_base_mainnet", "type": "model", "succ": [1526, 3953, 3954, 3955, 3956, 3957, 3958, 3959, 3960, 3961, 3962, 3963, 3964]}, "1528": {"name": "model.synthetix.fct_perp_interest_charged_base_mainnet", "type": "model", "succ": [2209, 2210, 2211, 2212, 2213, 2214, 2215, 2216, 2217, 2218, 2219, 2220]}, "1529": {"name": "model.synthetix.perp_interest_charged_base_mainnet", "type": "model", "succ": [1528, 3977, 3978, 3979, 3980, 3981, 3982, 3983, 3984, 3985, 3986]}, "1530": {"name": "model.synthetix.fct_perp_accounts_base_mainnet", "type": "model", "succ": [2340, 2341, 2342, 2343]}, "1531": {"name": "model.synthetix.perp_account_created_base_mainnet", "type": "model", "succ": [1530, 3860, 3861, 3862, 3863, 3864, 3865, 3866, 3867, 3868, 3869, 3870]}, "1532": {"name": "model.synthetix.perp_order_settled_base_mainnet", "type": "model", "succ": [1518, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, 3895, 3896]}, "1533": {"name": "model.synthetix.perp_market_created_base_mainnet", "type": "model", "succ": [1512, 3965, 3966, 3967, 3968, 3969, 3970, 3971, 3972, 3973, 3974, 3975, 3976]}, "1534": {"name": "model.synthetix.perp_market_updated_base_mainnet", "type": "model", "succ": [1503, 3897, 3898, 3899, 3900, 3901, 3902, 3903, 3904, 3905, 3906, 3907, 3908, 3909, 3910]}, "1535": {"name": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "type": "model", "succ": [2221, 2222, 2223, 2224, 2225, 2226, 2227, 2228, 2229, 2230, 2231]}, "1536": {"name": "model.synthetix.fct_pool_debt_base_mainnet", "type": "model", "succ": [1543, 1541, 1542, 1550, 2433, 2434, 2435, 2436, 2437, 2438]}, "1537": {"name": "model.synthetix.fct_pool_rewards_base_mainnet", "type": "model", "succ": [1543, 1542, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379]}, "1538": {"name": "model.synthetix.fct_core_active_stakers_daily_base_mainnet", "type": "model", "succ": [2361]}, "1539": {"name": "model.synthetix.core_delegation_updated_base_mainnet", "type": "model", "succ": [1538, 1548, 1557, 1558, 4010, 4011, 4012, 4013, 4014, 4015, 4016, 4017, 4018, 4019, 4020, 4021, 4022, 4023, 4024, 4025, 4026, 4027]}, "1540": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "type": "model", "succ": [1547]}, "1541": {"name": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "type": "model", "succ": [1540, 1546, 2452, 2453, 2454, 2455, 2456, 2457, 2458, 2459, 2460, 2461, 2462, 2463, 2464, 2465, 2466]}, "1542": {"name": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "type": "model", "succ": [1540, 1541, 2475, 2476, 2477, 2478, 2479, 2480, 2481, 2482, 2483]}, "1543": {"name": "model.synthetix.fct_pool_rewards_pool_hourly_base_mainnet", "type": "model", "succ": [1540, 1541, 2467, 2468, 2469, 2470, 2471, 2472, 2473, 2474]}, "1544": {"name": "model.synthetix.fct_core_pools_base_mainnet", "type": "model", "succ": [2428, 2429, 2430, 2431, 2432]}, "1545": {"name": "model.synthetix.core_pool_created_base_mainnet", "type": "model", "succ": [1544, 4102, 4103, 4104, 4105, 4106, 4107, 4108, 4109, 4110, 4111, 4112, 4113]}, "1546": {"name": "model.synthetix.fct_core_apr_base_mainnet", "type": "model", "succ": [2387, 2388, 2389, 2390, 2391, 2392, 2393, 2394, 2395, 2396, 2397, 2398, 2399, 2400, 2401, 2402, 2403, 2404, 2405, 2406, 2407, 2408]}, "1547": {"name": "model.synthetix.fct_core_apr_rewards_base_mainnet", "type": "model"}, "1548": {"name": "model.synthetix.fct_core_account_delegation_base_mainnet", "type": "model", "succ": [2380, 2381, 2382, 2383, 2384, 2385, 2386]}, "1549": {"name": "model.synthetix.fct_core_vault_collateral_base_mainnet", "type": "model", "succ": [2362, 2363, 2364, 2365, 2366, 2367, 2368, 2369, 2370, 2371]}, "1550": {"name": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "type": "model", "succ": [1541, 2439, 2440, 2441, 2442, 2443]}, "1551": {"name": "model.synthetix.fct_pool_issuance_base_mainnet", "type": "model", "succ": [1550, 2444, 2445, 2446, 2447, 2448, 2449, 2450, 2451]}, "1552": {"name": "model.synthetix.fct_core_market_updated_base_mainnet", "type": "model", "succ": [2409, 2410, 2411, 2412, 2413, 2414, 2415, 2416, 2417, 2418, 2419, 2420]}, "1553": {"name": "model.synthetix.core_market_updated_base_mainnet", "type": "model", "succ": [1552, 4072, 4073, 4074, 4075, 4076, 4077, 4078, 4079, 4080, 4081, 4082, 4083, 4084, 4085, 4086, 4087, 4088, 4089]}, "1554": {"name": "model.synthetix.fct_core_pool_collateral_base_mainnet", "type": "model", "succ": [2421, 2422, 2423]}, "1555": {"name": "model.synthetix.core_deposited_base_mainnet", "type": "model", "succ": [1554, 4028, 4029, 4030, 4031, 4032, 4033, 4034, 4035, 4036, 4037, 4038, 4039, 4040, 4041]}, "1556": {"name": "model.synthetix.core_withdrawn_base_mainnet", "type": "model", "succ": [1554, 1558, 4042, 4043, 4044, 4045, 4046, 4047, 4048, 4049, 4050, 4051, 4052, 4053, 4054, 4055]}, "1557": {"name": "model.synthetix.fct_core_pool_delegation_base_mainnet", "type": "model", "succ": [2424, 2425, 2426, 2427]}, "1558": {"name": "model.synthetix.fct_core_account_activity_base_mainnet", "type": "model", "succ": [2357, 2358, 2359, 2360]}, "1559": {"name": "model.synthetix.core_rewards_claimed_base_mainnet", "type": "model", "succ": [1558, 4114, 4115, 4116, 4117, 4118, 4119, 4120, 4121, 4122, 4123, 4124, 4125, 4126, 4127, 4128, 4129]}, "1560": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "type": "model", "succ": [1567]}, "1561": {"name": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet", "type": "model"}, "1562": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet", "type": "model", "succ": [1561]}, "1563": {"name": "model.synthetix.fct_perp_stats_daily_base_mainnet", "type": "model"}, "1564": {"name": "model.synthetix.fct_perp_stats_hourly_base_mainnet", "type": "model", "succ": [1563]}, "1565": {"name": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "type": "model", "succ": [1564, 1569]}, "1566": {"name": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "type": "model", "succ": [1568]}, "1567": {"name": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet", "type": "model"}, "1568": {"name": "model.synthetix.fct_perp_account_stats_daily_base_mainnet", "type": "model"}, "1569": {"name": "model.synthetix.fct_perp_market_stats_daily_base_mainnet", "type": "model"}, "1570": {"name": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "type": "model", "succ": [1575, 2489, 2490, 2491, 2492, 2493, 2494, 2495, 2496, 2497, 2498]}, "1571": {"name": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "type": "model", "succ": [1570, 4267, 4268, 4269, 4270, 4271, 4272, 4273, 4274, 4275, 4276, 4277, 4278, 4279, 4280, 4281]}, "1572": {"name": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "type": "model", "succ": [1570, 4282, 4283, 4284, 4285, 4286, 4287, 4288, 4289, 4290, 4291, 4292, 4293, 4294, 4295, 4296, 4297, 4298]}, "1573": {"name": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "type": "model", "succ": [2499, 2500, 2501, 2502, 2503]}, "1574": {"name": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "type": "model", "succ": [1573, 1591, 4256, 4257, 4258, 4259, 4260, 4261, 4262, 4263, 4264, 4265, 4266]}, "1575": {"name": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "type": "model", "succ": [2484, 2485, 2486, 2487, 2488]}, "1576": {"name": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "type": "model", "succ": [1575, 2504, 2505, 2506, 2507, 2508, 2509, 2510, 2511]}, "1577": {"name": "model.synthetix.core_usd_minted_arbitrum_sepolia", "type": "model", "succ": [1575, 1612, 4627, 4628, 4629, 4630, 4631, 4632, 4633, 4634, 4635, 4636, 4637, 4638, 4639, 4640, 4641, 4642]}, "1578": {"name": "model.synthetix.core_usd_burned_arbitrum_sepolia", "type": "model", "succ": [1575, 1612, 4611, 4612, 4613, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4626]}, "1579": {"name": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "type": "model", "succ": [1576, 4299, 4300, 4301, 4302, 4303, 4304, 4305, 4306, 4307, 4308, 4309, 4310]}, "1580": {"name": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "type": "model", "succ": [1576, 4311, 4312, 4313, 4314, 4315, 4316, 4317, 4318, 4319, 4320, 4321, 4322, 4323, 4324]}, "1581": {"name": "model.synthetix.fct_prices_arbitrum_sepolia", "type": "model", "succ": [1585, 2512, 2513, 2514, 2515]}, "1582": {"name": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "type": "model", "succ": [1581, 2611, 2612, 2613, 2614, 2615, 2616, 2617, 2618, 2619, 2620, 2621, 2622, 2623, 2624, 2625, 2626, 2627, 2628, 2629, 2630, 2631, 2632, 2633, 2634, 2635, 2636, 2637, 2638]}, "1583": {"name": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "type": "model", "succ": [1581, 1628, 4658, 4659, 4660, 4661, 4662, 4663, 4664, 4665, 4666, 4667]}, "1584": {"name": "seed.synthetix.arbitrum_sepolia_tokens", "type": "seed", "succ": [1581, 5491, 5492]}, "1585": {"name": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "type": "model", "succ": [1591, 1633, 2516, 2517, 2518, 2519]}, "1586": {"name": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "type": "model", "succ": [1642, 1636, 2639, 2640, 2641, 2642, 2643, 2644, 2645, 2646, 2647, 2648, 2649, 2650, 2651]}, "1587": {"name": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "type": "model", "succ": [1586, 4376, 4377, 4378, 4379, 4380, 4381, 4382, 4383, 4384, 4385, 4386, 4387, 4388, 4389, 4390, 4391]}, "1588": {"name": "model.synthetix.fct_perp_markets_arbitrum_sepolia", "type": "model", "succ": [1586, 1604, 1582, 1609, 2605, 2606, 2607, 2608, 2609, 2610]}, "1589": {"name": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "type": "model", "succ": [2548, 2549, 2550, 2551, 2552, 2553, 2554, 2555, 2556, 2557, 2558, 2559]}, "1590": {"name": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "type": "model", "succ": [1589, 4418, 4419, 4420, 4421, 4422, 4423, 4424, 4425, 4426, 4427, 4428, 4429]}, "1591": {"name": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "type": "model", "succ": [2660, 2661, 2662, 2663, 2664, 2665, 2666, 2667, 2668, 2669, 2670, 2671, 2672, 2673]}, "1592": {"name": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "type": "model", "succ": [1591, 1597, 4405, 4406, 4407, 4408, 4409, 4410, 4411, 4412, 4413, 4414, 4415, 4416, 4417]}, "1593": {"name": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "type": "model", "succ": [1591, 1601, 4392, 4393, 4394, 4395, 4396, 4397, 4398, 4399, 4400, 4401, 4402, 4403, 4404]}, "1594": {"name": "seed.synthetix.arbitrum_sepolia_reward_distributors", "type": "seed", "succ": [1591, 1625, 5483, 5484]}, "1595": {"name": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "type": "model", "succ": [1591, 1625, 4595, 4596, 4597, 4598, 4599, 4600, 4601, 4602, 4603, 4604, 4605, 4606, 4607, 4608, 4609, 4610]}, "1596": {"name": "seed.synthetix.arbitrum_sepolia_synths", "type": "seed", "succ": [1591, 1597]}, "1597": {"name": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "type": "model", "succ": [2537, 2538, 2539, 2540, 2541, 2542, 2543, 2544, 2545, 2546, 2547]}, "1598": {"name": "model.synthetix.perp_market_created_arbitrum_sepolia", "type": "model", "succ": [1588, 4430, 4431, 4432, 4433, 4434, 4435, 4436, 4437, 4438, 4439, 4440, 4441]}, "1599": {"name": "model.synthetix.fct_perp_pnl_arbitrum_sepolia", "type": "model", "succ": [2592, 2593, 2594]}, "1600": {"name": "model.synthetix.core_vault_debt_arbitrum_sepolia", "type": "model", "succ": [1599, 1632, 4668, 4669, 4670, 4671, 4672, 4673, 4674]}, "1601": {"name": "model.synthetix.fct_perp_liq_account_arbitrum_sepolia", "type": "model", "succ": [1644, 2652, 2653, 2654, 2655]}, "1602": {"name": "model.synthetix.fct_perp_accounts_arbitrum_sepolia", "type": "model", "succ": [2656, 2657, 2658, 2659]}, "1603": {"name": "model.synthetix.perp_account_created_arbitrum_sepolia", "type": "model", "succ": [1602, 4325, 4326, 4327, 4328, 4329, 4330, 4331, 4332, 4333, 4334, 4335]}, "1604": {"name": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "type": "model", "succ": [2595, 2596, 2597, 2598, 2599, 2600, 2601, 2602, 2603, 2604]}, "1605": {"name": "model.synthetix.perp_order_committed_arbitrum_sepolia", "type": "model", "succ": [1604, 4336, 4337, 4338, 4339, 4340, 4341, 4342, 4343, 4344, 4345, 4346, 4347]}, "1606": {"name": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "type": "model", "succ": [2525, 2526, 2527, 2528, 2529, 2530, 2531, 2532, 2533, 2534, 2535, 2536]}, "1607": {"name": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "type": "model", "succ": [1606, 4442, 4443, 4444, 4445, 4446, 4447, 4448, 4449, 4450, 4451]}, "1608": {"name": "model.synthetix.perp_market_updated_arbitrum_sepolia", "type": "model", "succ": [1582, 4362, 4363, 4364, 4365, 4366, 4367, 4368, 4369, 4370, 4371, 4372, 4373, 4374, 4375]}, "1609": {"name": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "type": "model", "succ": [1611, 1637, 1638, 1642, 1640, 1636, 2560, 2561, 2562, 2563, 2564, 2565, 2566, 2567, 2568, 2569, 2570, 2571, 2572, 2573, 2574, 2575, 2576, 2577, 2578, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 2589, 2590, 2591]}, "1610": {"name": "model.synthetix.perp_order_settled_arbitrum_sepolia", "type": "model", "succ": [1609, 4348, 4349, 4350, 4351, 4352, 4353, 4354, 4355, 4356, 4357, 4358, 4359, 4360, 4361]}, "1611": {"name": "model.synthetix.fct_perp_account_activity_arbitrum_sepolia", "type": "model", "succ": [2520, 2521, 2522, 2523, 2524]}, "1612": {"name": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "type": "model", "succ": [1631, 2752, 2753, 2754, 2755, 2756, 2757, 2758, 2759]}, "1613": {"name": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "type": "model", "succ": [2717, 2718, 2719, 2720, 2721, 2722, 2723, 2724, 2725, 2726, 2727, 2728]}, "1614": {"name": "model.synthetix.core_market_updated_arbitrum_sepolia", "type": "model", "succ": [1613, 4537, 4538, 4539, 4540, 4541, 4542, 4543, 4544, 4545, 4546, 4547, 4548, 4549, 4550, 4551, 4552, 4553, 4554]}, "1615": {"name": "model.synthetix.fct_core_account_activity_arbitrum_sepolia", "type": "model", "succ": [2674, 2675, 2676, 2677]}, "1616": {"name": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "type": "model", "succ": [1615, 1619, 1624, 1626, 4475, 4476, 4477, 4478, 4479, 4480, 4481, 4482, 4483, 4484, 4485, 4486, 4487, 4488, 4489, 4490, 4491, 4492]}, "1617": {"name": "model.synthetix.core_withdrawn_arbitrum_sepolia", "type": "model", "succ": [1615, 1620, 4507, 4508, 4509, 4510, 4511, 4512, 4513, 4514, 4515, 4516, 4517, 4518, 4519, 4520]}, "1618": {"name": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "type": "model", "succ": [1615, 4579, 4580, 4581, 4582, 4583, 4584, 4585, 4586, 4587, 4588, 4589, 4590, 4591, 4592, 4593, 4594]}, "1619": {"name": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "type": "model", "succ": [2732, 2733, 2734, 2735]}, "1620": {"name": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "type": "model", "succ": [2729, 2730, 2731]}, "1621": {"name": "model.synthetix.core_deposited_arbitrum_sepolia", "type": "model", "succ": [1620, 4493, 4494, 4495, 4496, 4497, 4498, 4499, 4500, 4501, 4502, 4503, 4504, 4505, 4506]}, "1622": {"name": "model.synthetix.fct_core_pools_arbitrum_sepolia", "type": "model", "succ": [2736, 2737, 2738, 2739, 2740]}, "1623": {"name": "model.synthetix.core_pool_created_arbitrum_sepolia", "type": "model", "succ": [1622, 4567, 4568, 4569, 4570, 4571, 4572, 4573, 4574, 4575, 4576, 4577, 4578]}, "1624": {"name": "model.synthetix.fct_core_active_stakers_daily_arbitrum_sepolia", "type": "model", "succ": [2678]}, "1625": {"name": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "type": "model", "succ": [1633, 2679, 2680, 2681, 2682, 2683, 2684, 2685, 2686]}, "1626": {"name": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "type": "model", "succ": [2687, 2688, 2689, 2690, 2691, 2692, 2693]}, "1627": {"name": "model.synthetix.fct_core_apr_arbitrum_sepolia", "type": "model", "succ": [2694, 2695, 2696, 2697, 2698, 2699, 2700, 2701, 2702, 2703, 2704, 2705, 2706, 2707, 2708, 2709, 2710, 2711, 2712, 2713, 2714, 2715, 2716]}, "1628": {"name": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "type": "model", "succ": [1627, 1630, 2760, 2761, 2762, 2763, 2764, 2765, 2766, 2767, 2768, 2769, 2770, 2771, 2772, 2773, 2774, 2775]}, "1629": {"name": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia", "type": "model"}, "1630": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "type": "model", "succ": [1629]}, "1631": {"name": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "type": "model", "succ": [1628, 2747, 2748, 2749, 2750, 2751]}, "1632": {"name": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "type": "model", "succ": [1631, 1633, 1628, 2741, 2742, 2743, 2744, 2745, 2746]}, "1633": {"name": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "type": "model", "succ": [1634, 1630, 2782, 2783, 2784, 2785, 2786, 2787, 2788, 2789, 2790, 2791]}, "1634": {"name": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "type": "model", "succ": [1628, 2776, 2777, 2778, 2779, 2780, 2781]}, "1635": {"name": "model.synthetix.fct_perp_market_stats_daily_arbitrum_sepolia", "type": "model"}, "1636": {"name": "model.synthetix.fct_perp_market_stats_hourly_arbitrum_sepolia", "type": "model", "succ": [1635, 1644]}, "1637": {"name": "model.synthetix.fct_perp_tracking_stats_daily_arbitrum_sepolia", "type": "model"}, "1638": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_arbitrum_sepolia", "type": "model", "succ": [1637]}, "1639": {"name": "model.synthetix.fct_perp_keeper_stats_daily_arbitrum_sepolia", "type": "model"}, "1640": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_arbitrum_sepolia", "type": "model", "succ": [1639]}, "1641": {"name": "model.synthetix.fct_perp_account_stats_daily_arbitrum_sepolia", "type": "model"}, "1642": {"name": "model.synthetix.fct_perp_account_stats_hourly_arbitrum_sepolia", "type": "model", "succ": [1641]}, "1643": {"name": "model.synthetix.fct_perp_stats_daily_arbitrum_sepolia", "type": "model"}, "1644": {"name": "model.synthetix.fct_perp_stats_hourly_arbitrum_sepolia", "type": "model", "succ": [1643]}, "1645": {"name": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "type": "model", "succ": [1651, 2797, 2798, 2799, 2800, 2801, 2802, 2803, 2804, 2805, 2806]}, "1646": {"name": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "type": "model", "succ": [1645, 4732, 4733, 4734, 4735, 4736, 4737, 4738, 4739, 4740, 4741, 4742, 4743, 4744, 4745, 4746]}, "1647": {"name": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "type": "model", "succ": [1645, 4747, 4748, 4749, 4750, 4751, 4752, 4753, 4754, 4755, 4756, 4757, 4758, 4759, 4760, 4761, 4762, 4763]}, "1648": {"name": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "type": "model", "succ": [1651, 2812, 2813, 2814, 2815, 2816, 2817, 2818, 2819]}, "1649": {"name": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "type": "model", "succ": [1648, 4764, 4765, 4766, 4767, 4768, 4769, 4770, 4771, 4772, 4773, 4774, 4775]}, "1650": {"name": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "type": "model", "succ": [1648, 4776, 4777, 4778, 4779, 4780, 4781, 4782, 4783, 4784, 4785, 4786, 4787, 4788, 4789]}, "1651": {"name": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "type": "model", "succ": [2792, 2793, 2794, 2795, 2796]}, "1652": {"name": "model.synthetix.core_usd_minted_arbitrum_mainnet", "type": "model", "succ": [1651, 1690, 5092, 5093, 5094, 5095, 5096, 5097, 5098, 5099, 5100, 5101, 5102, 5103, 5104, 5105, 5106, 5107]}, "1653": {"name": "model.synthetix.core_usd_burned_arbitrum_mainnet", "type": "model", "succ": [1651, 1690, 5076, 5077, 5078, 5079, 5080, 5081, 5082, 5083, 5084, 5085, 5086, 5087, 5088, 5089, 5090, 5091]}, "1654": {"name": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "type": "model", "succ": [2807, 2808, 2809, 2810, 2811]}, "1655": {"name": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "type": "model", "succ": [1654, 1667, 4721, 4722, 4723, 4724, 4725, 4726, 4727, 4728, 4729, 4730, 4731]}, "1656": {"name": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "type": "model", "succ": [1667, 1696, 2824, 2825, 2826, 2827]}, "1657": {"name": "model.synthetix.fct_prices_arbitrum_mainnet", "type": "model", "succ": [1656, 2820, 2821, 2822, 2823]}, "1658": {"name": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "type": "model", "succ": [1657, 2919, 2920, 2921, 2922, 2923, 2924, 2925, 2926, 2927, 2928, 2929, 2930, 2931, 2932, 2933, 2934, 2935, 2936, 2937, 2938, 2939, 2940, 2941, 2942, 2943, 2944, 2945, 2946]}, "1659": {"name": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "type": "model", "succ": [1657, 1704, 5123, 5124, 5125, 5126, 5127, 5128, 5129, 5130, 5131, 5132]}, "1660": {"name": "seed.synthetix.arbitrum_mainnet_tokens", "type": "seed", "succ": [1657, 5489, 5490]}, "1661": {"name": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "type": "model", "succ": [2856, 2857, 2858, 2859, 2860, 2861, 2862, 2863, 2864, 2865, 2866, 2867]}, "1662": {"name": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "type": "model", "succ": [1661, 4883, 4884, 4885, 4886, 4887, 4888, 4889, 4890, 4891, 4892, 4893, 4894]}, "1663": {"name": "model.synthetix.fct_perp_markets_arbitrum_mainnet", "type": "model", "succ": [1665, 1677, 1680, 1658, 2913, 2914, 2915, 2916, 2917, 2918]}, "1664": {"name": "model.synthetix.perp_market_created_arbitrum_mainnet", "type": "model", "succ": [1663, 4895, 4896, 4897, 4898, 4899, 4900, 4901, 4902, 4903, 4904, 4905, 4906]}, "1665": {"name": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "type": "model", "succ": [2903, 2904, 2905, 2906, 2907, 2908, 2909, 2910, 2911, 2912]}, "1666": {"name": "model.synthetix.perp_order_committed_arbitrum_mainnet", "type": "model", "succ": [1665, 4801, 4802, 4803, 4804, 4805, 4806, 4807, 4808, 4809, 4810, 4811, 4812]}, "1667": {"name": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "type": "model", "succ": [2968, 2969, 2970, 2971, 2972, 2973, 2974, 2975, 2976, 2977, 2978, 2979, 2980, 2981]}, "1668": {"name": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "type": "model", "succ": [1667, 1676, 4870, 4871, 4872, 4873, 4874, 4875, 4876, 4877, 4878, 4879, 4880, 4881, 4882]}, "1669": {"name": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "type": "model", "succ": [1667, 1675, 4857, 4858, 4859, 4860, 4861, 4862, 4863, 4864, 4865, 4866, 4867, 4868, 4869]}, "1670": {"name": "seed.synthetix.arbitrum_mainnet_reward_distributors", "type": "seed", "succ": [1667, 1697, 5481, 5482]}, "1671": {"name": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "type": "model", "succ": [1667, 1697, 5060, 5061, 5062, 5063, 5064, 5065, 5066, 5067, 5068, 5069, 5070, 5071, 5072, 5073, 5074, 5075]}, "1672": {"name": "seed.synthetix.arbitrum_mainnet_synths", "type": "seed", "succ": [1667, 1676]}, "1673": {"name": "model.synthetix.fct_perp_accounts_arbitrum_mainnet", "type": "model", "succ": [2964, 2965, 2966, 2967]}, "1674": {"name": "model.synthetix.perp_account_created_arbitrum_mainnet", "type": "model", "succ": [1673, 4790, 4791, 4792, 4793, 4794, 4795, 4796, 4797, 4798, 4799, 4800]}, "1675": {"name": "model.synthetix.fct_perp_liq_account_arbitrum_mainnet", "type": "model", "succ": [1711, 2960, 2961, 2962, 2963]}, "1676": {"name": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "type": "model", "succ": [2845, 2846, 2847, 2848, 2849, 2850, 2851, 2852, 2853, 2854, 2855]}, "1677": {"name": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "type": "model", "succ": [1714, 1718, 2947, 2948, 2949, 2950, 2951, 2952, 2953, 2954, 2955, 2956, 2957, 2958, 2959]}, "1678": {"name": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "type": "model", "succ": [1677, 4841, 4842, 4843, 4844, 4845, 4846, 4847, 4848, 4849, 4850, 4851, 4852, 4853, 4854, 4855, 4856]}, "1679": {"name": "model.synthetix.fct_perp_account_activity_arbitrum_mainnet", "type": "model", "succ": [2828, 2829, 2830, 2831, 2832]}, "1680": {"name": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "type": "model", "succ": [1679, 1712, 1714, 1715, 1716, 1718, 2868, 2869, 2870, 2871, 2872, 2873, 2874, 2875, 2876, 2877, 2878, 2879, 2880, 2881, 2882, 2883, 2884, 2885, 2886, 2887, 2888, 2889, 2890, 2891, 2892, 2893, 2894, 2895, 2896, 2897, 2898, 2899]}, "1681": {"name": "model.synthetix.perp_order_settled_arbitrum_mainnet", "type": "model", "succ": [1680, 4813, 4814, 4815, 4816, 4817, 4818, 4819, 4820, 4821, 4822, 4823, 4824, 4825, 4826]}, "1682": {"name": "model.synthetix.fct_perp_pnl_arbitrum_mainnet", "type": "model", "succ": [2900, 2901, 2902]}, "1683": {"name": "model.synthetix.core_vault_debt_arbitrum_mainnet", "type": "model", "succ": [1682, 1691, 5133, 5134, 5135, 5136, 5137, 5138, 5139]}, "1684": {"name": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "type": "model", "succ": [2833, 2834, 2835, 2836, 2837, 2838, 2839, 2840, 2841, 2842, 2843, 2844]}, "1685": {"name": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "type": "model", "succ": [1684, 4907, 4908, 4909, 4910, 4911, 4912, 4913, 4914, 4915, 4916]}, "1686": {"name": "model.synthetix.perp_market_updated_arbitrum_mainnet", "type": "model", "succ": [1658, 4827, 4828, 4829, 4830, 4831, 4832, 4833, 4834, 4835, 4836, 4837, 4838, 4839, 4840]}, "1687": {"name": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "type": "model", "succ": [2995, 2996, 2997, 2998, 2999, 3000, 3001]}, "1688": {"name": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "type": "model", "succ": [1687, 1692, 1695, 1709, 4940, 4941, 4942, 4943, 4944, 4945, 4946, 4947, 4948, 4949, 4950, 4951, 4952, 4953, 4954, 4955, 4956, 4957]}, "1689": {"name": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "type": "model", "succ": [1704, 3055, 3056, 3057, 3058, 3059]}, "1690": {"name": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "type": "model", "succ": [1689, 3060, 3061, 3062, 3063, 3064, 3065, 3066, 3067]}, "1691": {"name": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "type": "model", "succ": [1689, 1696, 1704, 3049, 3050, 3051, 3052, 3053, 3054]}, "1692": {"name": "model.synthetix.fct_core_account_activity_arbitrum_mainnet", "type": "model", "succ": [2982, 2983, 2984, 2985]}, "1693": {"name": "model.synthetix.core_withdrawn_arbitrum_mainnet", "type": "model", "succ": [1692, 1701, 4972, 4973, 4974, 4975, 4976, 4977, 4978, 4979, 4980, 4981, 4982, 4983, 4984, 4985]}, "1694": {"name": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "type": "model", "succ": [1692, 5044, 5045, 5046, 5047, 5048, 5049, 5050, 5051, 5052, 5053, 5054, 5055, 5056, 5057, 5058, 5059]}, "1695": {"name": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "type": "model", "succ": [3040, 3041, 3042, 3043]}, "1696": {"name": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "type": "model", "succ": [1698, 1700, 3090, 3091, 3092, 3093, 3094, 3095, 3096, 3097, 3098, 3099]}, "1697": {"name": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "type": "model", "succ": [1696, 2987, 2988, 2989, 2990, 2991, 2992, 2993, 2994]}, "1698": {"name": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "type": "model", "succ": [1704, 3084, 3085, 3086, 3087, 3088, 3089]}, "1699": {"name": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet", "type": "model"}, "1700": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "type": "model", "succ": [1699]}, "1701": {"name": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "type": "model", "succ": [3037, 3038, 3039]}, "1702": {"name": "model.synthetix.core_deposited_arbitrum_mainnet", "type": "model", "succ": [1701, 4958, 4959, 4960, 4961, 4962, 4963, 4964, 4965, 4966, 4967, 4968, 4969, 4970, 4971]}, "1703": {"name": "model.synthetix.fct_core_apr_arbitrum_mainnet", "type": "model", "succ": [3002, 3003, 3004, 3005, 3006, 3007, 3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015, 3016, 3017, 3018, 3019, 3020, 3021, 3022, 3023, 3024]}, "1704": {"name": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "type": "model", "succ": [1703, 1700, 3068, 3069, 3070, 3071, 3072, 3073, 3074, 3075, 3076, 3077, 3078, 3079, 3080, 3081, 3082, 3083]}, "1705": {"name": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "type": "model", "succ": [3025, 3026, 3027, 3028, 3029, 3030, 3031, 3032, 3033, 3034, 3035, 3036]}, "1706": {"name": "model.synthetix.core_market_updated_arbitrum_mainnet", "type": "model", "succ": [1705, 5002, 5003, 5004, 5005, 5006, 5007, 5008, 5009, 5010, 5011, 5012, 5013, 5014, 5015, 5016, 5017, 5018, 5019]}, "1707": {"name": "model.synthetix.fct_core_pools_arbitrum_mainnet", "type": "model", "succ": [3044, 3045, 3046, 3047, 3048]}, "1708": {"name": "model.synthetix.core_pool_created_arbitrum_mainnet", "type": "model", "succ": [1707, 5032, 5033, 5034, 5035, 5036, 5037, 5038, 5039, 5040, 5041, 5042, 5043]}, "1709": {"name": "model.synthetix.fct_core_active_stakers_daily_arbitrum_mainnet", "type": "model", "succ": [2986]}, "1710": {"name": "model.synthetix.fct_perp_stats_daily_arbitrum_mainnet", "type": "model"}, "1711": {"name": "model.synthetix.fct_perp_stats_hourly_arbitrum_mainnet", "type": "model", "succ": [1710]}, "1712": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_arbitrum_mainnet", "type": "model", "succ": [1713]}, "1713": {"name": "model.synthetix.fct_perp_keeper_stats_daily_arbitrum_mainnet", "type": "model"}, "1714": {"name": "model.synthetix.fct_perp_account_stats_hourly_arbitrum_mainnet", "type": "model", "succ": [1719]}, "1715": {"name": "model.synthetix.fct_perp_tracking_stats_daily_arbitrum_mainnet", "type": "model"}, "1716": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_arbitrum_mainnet", "type": "model", "succ": [1715]}, "1717": {"name": "model.synthetix.fct_perp_market_stats_daily_arbitrum_mainnet", "type": "model"}, "1718": {"name": "model.synthetix.fct_perp_market_stats_hourly_arbitrum_mainnet", "type": "model", "succ": [1717, 1711]}, "1719": {"name": "model.synthetix.fct_perp_account_stats_daily_arbitrum_mainnet", "type": "model"}, "1720": {"name": "model.synthetix.fct_prices_hourly_eth_mainnet", "type": "model", "succ": [1730, 3104, 3105, 3106, 3107]}, "1721": {"name": "model.synthetix.fct_prices_eth_mainnet", "type": "model", "succ": [1720, 3100, 3101, 3102, 3103]}, "1722": {"name": "model.synthetix.core_vault_collateral_eth_mainnet", "type": "model", "succ": [1721, 1729, 5462, 5463, 5464, 5465, 5466, 5467, 5468, 5469, 5470, 5471]}, "1723": {"name": "seed.synthetix.eth_mainnet_tokens", "type": "seed", "succ": [1721]}, "1724": {"name": "model.synthetix.fct_core_migration_eth_mainnet", "type": "model", "succ": [1753, 3232, 3233, 3234, 3235, 3236, 3237, 3238, 3239, 3240, 3241, 3242, 3243]}, "1725": {"name": "model.synthetix.core_account_migrated_eth_mainnet", "type": "model", "succ": [1724, 5265, 5266, 5267, 5268, 5269, 5270, 5271, 5272, 5273, 5274, 5275, 5276, 5277, 5278]}, "1726": {"name": "model.synthetix.fct_core_market_updated_eth_mainnet", "type": "model", "succ": [3152, 3153, 3154, 3155, 3156, 3157, 3158, 3159, 3160, 3161, 3162, 3163]}, "1727": {"name": "model.synthetix.core_market_updated_eth_mainnet", "type": "model", "succ": [1726, 5341, 5342, 5343, 5344, 5345, 5346, 5347, 5348, 5349, 5350, 5351, 5352, 5353, 5354, 5355, 5356, 5357, 5358]}, "1728": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet", "type": "model", "succ": [1754]}, "1729": {"name": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "type": "model", "succ": [1728, 1742, 3195, 3196, 3197, 3198, 3199, 3200, 3201, 3202, 3203, 3204, 3205, 3206, 3207, 3208, 3209, 3210, 3211]}, "1730": {"name": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "type": "model", "succ": [1728, 1738, 3218, 3219, 3220, 3221, 3222, 3223, 3224, 3225, 3226, 3227, 3228, 3229, 3230, 3231]}, "1731": {"name": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "type": "model", "succ": [3164, 3165, 3166]}, "1732": {"name": "model.synthetix.core_deposited_eth_mainnet", "type": "model", "succ": [1731, 5297, 5298, 5299, 5300, 5301, 5302, 5303, 5304, 5305, 5306, 5307, 5308, 5309, 5310]}, "1733": {"name": "model.synthetix.core_withdrawn_eth_mainnet", "type": "model", "succ": [1731, 1736, 5311, 5312, 5313, 5314, 5315, 5316, 5317, 5318, 5319, 5320, 5321, 5322, 5323, 5324]}, "1734": {"name": "model.synthetix.fct_core_active_stakers_daily_eth_mainnet", "type": "model", "succ": [3112]}, "1735": {"name": "model.synthetix.core_delegation_updated_eth_mainnet", "type": "model", "succ": [1734, 1736, 1745, 1752, 5279, 5280, 5281, 5282, 5283, 5284, 5285, 5286, 5287, 5288, 5289, 5290, 5291, 5292, 5293, 5294, 5295, 5296]}, "1736": {"name": "model.synthetix.fct_core_account_activity_eth_mainnet", "type": "model", "succ": [3108, 3109, 3110, 3111]}, "1737": {"name": "model.synthetix.core_rewards_claimed_eth_mainnet", "type": "model", "succ": [1736, 5383, 5384, 5385, 5386, 5387, 5388, 5389, 5390, 5391, 5392, 5393, 5394, 5395, 5396, 5397, 5398]}, "1738": {"name": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "type": "model", "succ": [1729, 3212, 3213, 3214, 3215, 3216, 3217]}, "1739": {"name": "model.synthetix.fct_pool_rewards_eth_mainnet", "type": "model", "succ": [1730, 3113, 3114, 3115, 3116, 3117, 3118, 3119, 3120]}, "1740": {"name": "model.synthetix.core_rewards_distributed_eth_mainnet", "type": "model", "succ": [1739, 5399, 5400, 5401, 5402, 5403, 5404, 5405, 5406, 5407, 5408, 5409, 5410, 5411, 5412, 5413, 5414]}, "1741": {"name": "seed.synthetix.eth_mainnet_reward_distributors", "type": "seed", "succ": [1739]}, "1742": {"name": "model.synthetix.fct_core_apr_eth_mainnet", "type": "model", "succ": [3128, 3129, 3130, 3131, 3132, 3133, 3134, 3135, 3136, 3137, 3138, 3139, 3140, 3141, 3142, 3143, 3144, 3145, 3146, 3147, 3148, 3149, 3150, 3151]}, "1743": {"name": "model.synthetix.fct_pool_debt_eth_mainnet", "type": "model", "succ": [1751, 1753, 1729, 1730, 3176, 3177, 3178, 3179, 3180, 3181]}, "1744": {"name": "model.synthetix.core_vault_debt_eth_mainnet", "type": "model", "succ": [1743, 5472, 5473, 5474, 5475, 5476, 5477, 5478]}, "1745": {"name": "model.synthetix.fct_core_account_delegation_eth_mainnet", "type": "model", "succ": [3121, 3122, 3123, 3124, 3125, 3126, 3127]}, "1746": {"name": "model.synthetix.fct_core_pools_eth_mainnet", "type": "model", "succ": [3171, 3172, 3173, 3174, 3175]}, "1747": {"name": "model.synthetix.core_pool_created_eth_mainnet", "type": "model", "succ": [1746, 5371, 5372, 5373, 5374, 5375, 5376, 5377, 5378, 5379, 5380, 5381, 5382]}, "1748": {"name": "model.synthetix.fct_pool_issuance_eth_mainnet", "type": "model", "succ": [1751, 3187, 3188, 3189, 3190, 3191, 3192, 3193, 3194]}, "1749": {"name": "model.synthetix.core_usd_burned_eth_mainnet", "type": "model", "succ": [1748, 5415, 5416, 5417, 5418, 5419, 5420, 5421, 5422, 5423, 5424, 5425, 5426, 5427, 5428, 5429, 5430]}, "1750": {"name": "model.synthetix.core_usd_minted_eth_mainnet", "type": "model", "succ": [1748, 5431, 5432, 5433, 5434, 5435, 5436, 5437, 5438, 5439, 5440, 5441, 5442, 5443, 5444, 5445, 5446]}, "1751": {"name": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "type": "model", "succ": [1729, 3182, 3183, 3184, 3185, 3186]}, "1752": {"name": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "type": "model", "succ": [3167, 3168, 3169, 3170]}, "1753": {"name": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "type": "model", "succ": [1729, 3244, 3245, 3246, 3247, 3248, 3249]}, "1754": {"name": "model.synthetix.fct_core_apr_rewards_eth_mainnet", "type": "model"}, "1755": {"name": "model.synthetix.blocks_base_sepolia", "type": "model", "succ": [3254, 3255, 3256]}, "1756": {"name": "model.synthetix.spot_order_committed_base_sepolia", "type": "model", "succ": [3257, 3258, 3259, 3260, 3261, 3262, 3263, 3264, 3265, 3266, 3267, 3268, 3269, 3270, 3271]}, "1757": {"name": "model.synthetix.spot_order_settled_base_sepolia", "type": "model", "succ": [3272, 3273, 3274, 3275, 3276, 3277, 3278, 3279, 3280, 3281, 3282, 3283, 3284, 3285, 3286, 3287, 3288]}, "1758": {"name": "model.synthetix.spot_order_cancelled_base_sepolia", "type": "model", "succ": [3289, 3290, 3291, 3292, 3293, 3294, 3295, 3296, 3297, 3298, 3299]}, "1759": {"name": "model.synthetix.perp_interest_rate_updated_base_sepolia", "type": "model", "succ": [3509, 3510, 3511, 3512, 3513, 3514, 3515, 3516, 3517, 3518, 3519, 3520]}, "1760": {"name": "model.synthetix.core_vault_liquidation_base_sepolia", "type": "model", "succ": [3700, 3701, 3702, 3703, 3704, 3705, 3706, 3707, 3708, 3709, 3710, 3711, 3712, 3713, 3714]}, "1761": {"name": "model.synthetix.core_account_created_base_sepolia", "type": "model", "succ": [3521, 3522, 3523, 3524, 3525, 3526, 3527, 3528, 3529, 3530, 3531]}, "1762": {"name": "model.synthetix.core_market_registered_base_sepolia", "type": "model", "succ": [3612, 3613, 3614, 3615, 3616, 3617, 3618, 3619, 3620, 3621, 3622, 3623]}, "1763": {"name": "model.synthetix.core_liquidation_base_sepolia", "type": "model", "succ": [3578, 3579, 3580, 3581, 3582, 3583, 3584, 3585, 3586, 3587, 3588, 3589, 3590, 3591, 3592, 3593]}, "1764": {"name": "model.synthetix.blocks_base_mainnet", "type": "model", "succ": [3732, 3733, 3734]}, "1765": {"name": "model.synthetix.spot_order_cancelled_base_mainnet", "type": "model", "succ": [3767, 3768, 3769, 3770, 3771, 3772, 3773, 3774, 3775, 3776, 3777]}, "1766": {"name": "model.synthetix.spot_order_settled_base_mainnet", "type": "model", "succ": [3750, 3751, 3752, 3753, 3754, 3755, 3756, 3757, 3758, 3759, 3760, 3761, 3762, 3763, 3764, 3765, 3766]}, "1767": {"name": "model.synthetix.spot_order_committed_base_mainnet", "type": "model", "succ": [3735, 3736, 3737, 3738, 3739, 3740, 3741, 3742, 3743, 3744, 3745, 3746, 3747, 3748, 3749]}, "1768": {"name": "model.synthetix.perp_interest_rate_updated_base_mainnet", "type": "model", "succ": [3987, 3988, 3989, 3990, 3991, 3992, 3993, 3994, 3995, 3996, 3997, 3998]}, "1769": {"name": "model.synthetix.core_liquidation_base_mainnet", "type": "model", "succ": [4056, 4057, 4058, 4059, 4060, 4061, 4062, 4063, 4064, 4065, 4066, 4067, 4068, 4069, 4070, 4071]}, "1770": {"name": "model.synthetix.core_market_registered_base_mainnet", "type": "model", "succ": [4090, 4091, 4092, 4093, 4094, 4095, 4096, 4097, 4098, 4099, 4100, 4101]}, "1771": {"name": "model.synthetix.core_vault_liquidation_base_mainnet", "type": "model", "succ": [4178, 4179, 4180, 4181, 4182, 4183, 4184, 4185, 4186, 4187, 4188, 4189, 4190, 4191, 4192]}, "1772": {"name": "model.synthetix.core_account_created_base_mainnet", "type": "model", "succ": [3999, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008, 4009]}, "1773": {"name": "model.synthetix.blocks_arbitrum_sepolia", "type": "model", "succ": [4210, 4211, 4212]}, "1774": {"name": "model.synthetix.spot_order_committed_arbitrum_sepolia", "type": "model", "succ": [4213, 4214, 4215, 4216, 4217, 4218, 4219, 4220, 4221, 4222, 4223, 4224, 4225, 4226, 4227]}, "1775": {"name": "model.synthetix.spot_order_settled_arbitrum_sepolia", "type": "model", "succ": [4228, 4229, 4230, 4231, 4232, 4233, 4234, 4235, 4236, 4237, 4238, 4239, 4240, 4241, 4242, 4243, 4244]}, "1776": {"name": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "type": "model", "succ": [4245, 4246, 4247, 4248, 4249, 4250, 4251, 4252, 4253, 4254, 4255]}, "1777": {"name": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "type": "model", "succ": [4452, 4453, 4454, 4455, 4456, 4457, 4458, 4459, 4460, 4461, 4462, 4463]}, "1778": {"name": "model.synthetix.core_market_registered_arbitrum_sepolia", "type": "model", "succ": [4555, 4556, 4557, 4558, 4559, 4560, 4561, 4562, 4563, 4564, 4565, 4566]}, "1779": {"name": "model.synthetix.core_liquidation_arbitrum_sepolia", "type": "model", "succ": [4521, 4522, 4523, 4524, 4525, 4526, 4527, 4528, 4529, 4530, 4531, 4532, 4533, 4534, 4535, 4536]}, "1780": {"name": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "type": "model", "succ": [4643, 4644, 4645, 4646, 4647, 4648, 4649, 4650, 4651, 4652, 4653, 4654, 4655, 4656, 4657]}, "1781": {"name": "model.synthetix.core_account_created_arbitrum_sepolia", "type": "model", "succ": [4464, 4465, 4466, 4467, 4468, 4469, 4470, 4471, 4472, 4473, 4474]}, "1782": {"name": "model.synthetix.blocks_arbitrum_mainnet", "type": "model", "succ": [4675, 4676, 4677]}, "1783": {"name": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "type": "model", "succ": [4710, 4711, 4712, 4713, 4714, 4715, 4716, 4717, 4718, 4719, 4720]}, "1784": {"name": "model.synthetix.spot_order_committed_arbitrum_mainnet", "type": "model", "succ": [4678, 4679, 4680, 4681, 4682, 4683, 4684, 4685, 4686, 4687, 4688, 4689, 4690, 4691, 4692]}, "1785": {"name": "model.synthetix.spot_order_settled_arbitrum_mainnet", "type": "model", "succ": [4693, 4694, 4695, 4696, 4697, 4698, 4699, 4700, 4701, 4702, 4703, 4704, 4705, 4706, 4707, 4708, 4709]}, "1786": {"name": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "type": "model", "succ": [4917, 4918, 4919, 4920, 4921, 4922, 4923, 4924, 4925, 4926, 4927, 4928]}, "1787": {"name": "model.synthetix.core_liquidation_arbitrum_mainnet", "type": "model", "succ": [4986, 4987, 4988, 4989, 4990, 4991, 4992, 4993, 4994, 4995, 4996, 4997, 4998, 4999, 5000, 5001]}, "1788": {"name": "model.synthetix.core_market_registered_arbitrum_mainnet", "type": "model", "succ": [5020, 5021, 5022, 5023, 5024, 5025, 5026, 5027, 5028, 5029, 5030, 5031]}, "1789": {"name": "model.synthetix.core_account_created_arbitrum_mainnet", "type": "model", "succ": [4929, 4930, 4931, 4932, 4933, 4934, 4935, 4936, 4937, 4938, 4939]}, "1790": {"name": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "type": "model", "succ": [5108, 5109, 5110, 5111, 5112, 5113, 5114, 5115, 5116, 5117, 5118, 5119, 5120, 5121, 5122]}, "1791": {"name": "model.synthetix.spartan_vote_recorded_snax_mainnet", "type": "model", "succ": [5142, 5143, 5144, 5145, 5146, 5147, 5148, 5149, 5150, 5151, 5152, 5153, 5154, 5155]}, "1792": {"name": "model.synthetix.blocks_snax_mainnet", "type": "model", "succ": [5140, 5141]}, "1793": {"name": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "type": "model", "succ": [5210, 5211, 5212, 5213, 5214, 5215, 5216, 5217, 5218, 5219, 5220, 5221, 5222]}, "1794": {"name": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "type": "model", "succ": [5196, 5197, 5198, 5199, 5200, 5201, 5202, 5203, 5204, 5205, 5206, 5207, 5208, 5209]}, "1795": {"name": "model.synthetix.treasury_vote_recorded_snax_mainnet", "type": "model", "succ": [5169, 5170, 5171, 5172, 5173, 5174, 5175, 5176, 5177, 5178, 5179, 5180, 5181, 5182]}, "1796": {"name": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "type": "model", "succ": [5183, 5184, 5185, 5186, 5187, 5188, 5189, 5190, 5191, 5192, 5193, 5194, 5195]}, "1797": {"name": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "type": "model", "succ": [5156, 5157, 5158, 5159, 5160, 5161, 5162, 5163, 5164, 5165, 5166, 5167, 5168]}, "1798": {"name": "model.synthetix.gov_vote_recorded_snax_testnet", "type": "model", "succ": [5225, 5226, 5227, 5228, 5229, 5230, 5231, 5232, 5233, 5234, 5235, 5236, 5237, 5238]}, "1799": {"name": "model.synthetix.blocks_snax_testnet", "type": "model", "succ": [5223, 5224]}, "1800": {"name": "model.synthetix.gov_vote_withdrawn_snax_testnet", "type": "model", "succ": [5239, 5240, 5241, 5242, 5243, 5244, 5245, 5246, 5247, 5248, 5249, 5250]}, "1801": {"name": "model.synthetix.blocks_eth_mainnet", "type": "model", "succ": [5251, 5252, 5253]}, "1802": {"name": "model.synthetix.core_vault_liquidation_eth_mainnet", "type": "model", "succ": [5447, 5448, 5449, 5450, 5451, 5452, 5453, 5454, 5455, 5456, 5457, 5458, 5459, 5460, 5461]}, "1803": {"name": "model.synthetix.core_account_created_eth_mainnet", "type": "model", "succ": [5254, 5255, 5256, 5257, 5258, 5259, 5260, 5261, 5262, 5263, 5264]}, "1804": {"name": "model.synthetix.core_liquidation_eth_mainnet", "type": "model", "succ": [5325, 5326, 5327, 5328, 5329, 5330, 5331, 5332, 5333, 5334, 5335, 5336, 5337, 5338, 5339, 5340]}, "1805": {"name": "model.synthetix.core_market_registered_eth_mainnet", "type": "model", "succ": [5359, 5360, 5361, 5362, 5363, 5364, 5365, 5366, 5367, 5368, 5369, 5370]}, "1806": {"name": "seed.synthetix.eth_mainnet_synths", "type": "seed"}, "1807": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2", "type": "test"}, "1808": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8", "type": "test"}, "1809": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8", "type": "test"}, "1810": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721", "type": "test"}, "1811": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375", "type": "test"}, "1812": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4", "type": "test"}, "1813": {"name": "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a", "type": "test"}, "1814": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc", "type": "test"}, "1815": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323", "type": "test"}, "1816": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6", "type": "test"}, "1817": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14", "type": "test"}, "1818": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2", "type": "test"}, "1819": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce", "type": "test"}, "1820": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d", "type": "test"}, "1821": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b", "type": "test"}, "1822": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f", "type": "test"}, "1823": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3", "type": "test"}, "1824": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb", "type": "test"}, "1825": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0", "type": "test"}, "1826": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2", "type": "test"}, "1827": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796", "type": "test"}, "1828": {"name": "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86", "type": "test"}, "1829": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31", "type": "test"}, "1830": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391", "type": "test"}, "1831": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d", "type": "test"}, "1832": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa", "type": "test"}, "1833": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f", "type": "test"}, "1834": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4", "type": "test"}, "1835": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397", "type": "test"}, "1836": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091", "type": "test"}, "1837": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf", "type": "test"}, "1838": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a", "type": "test"}, "1839": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb", "type": "test"}, "1840": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd", "type": "test"}, "1841": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224", "type": "test"}, "1842": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd", "type": "test"}, "1843": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c", "type": "test"}, "1844": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a", "type": "test"}, "1845": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6", "type": "test"}, "1846": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b", "type": "test"}, "1847": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e", "type": "test"}, "1848": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87", "type": "test"}, "1849": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09", "type": "test"}, "1850": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be", "type": "test"}, "1851": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3", "type": "test"}, "1852": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4", "type": "test"}, "1853": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9", "type": "test"}, "1854": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88", "type": "test"}, "1855": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7", "type": "test"}, "1856": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d", "type": "test"}, "1857": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6", "type": "test"}, "1858": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421", "type": "test"}, "1859": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e", "type": "test"}, "1860": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1", "type": "test"}, "1861": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04", "type": "test"}, "1862": {"name": "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649", "type": "test"}, "1863": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709", "type": "test"}, "1864": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108", "type": "test"}, "1865": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2", "type": "test"}, "1866": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738", "type": "test"}, "1867": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1", "type": "test"}, "1868": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a", "type": "test"}, "1869": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3", "type": "test"}, "1870": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2", "type": "test"}, "1871": {"name": "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_ts.11c7283b87", "type": "test"}, "1872": {"name": "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_dau.c87efa2ebe", "type": "test"}, "1873": {"name": "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_mau.482322aa86", "type": "test"}, "1874": {"name": "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_new_accounts_daily.44600d3a64", "type": "test"}, "1875": {"name": "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_new_accounts_monthly.4d411e3958", "type": "test"}, "1876": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506", "type": "test"}, "1877": {"name": "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5", "type": "test"}, "1878": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9", "type": "test"}, "1879": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f", "type": "test"}, "1880": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb", "type": "test"}, "1881": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07", "type": "test"}, "1882": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041", "type": "test"}, "1883": {"name": "test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4", "type": "test"}, "1884": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66", "type": "test"}, "1885": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6", "type": "test"}, "1886": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262", "type": "test"}, "1887": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc", "type": "test"}, "1888": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd", "type": "test"}, "1889": {"name": "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a", "type": "test"}, "1890": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464", "type": "test"}, "1891": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3", "type": "test"}, "1892": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f", "type": "test"}, "1893": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1", "type": "test"}, "1894": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99", "type": "test"}, "1895": {"name": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee", "type": "test"}, "1896": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36", "type": "test"}, "1897": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630", "type": "test"}, "1898": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913", "type": "test"}, "1899": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b", "type": "test"}, "1900": {"name": "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d", "type": "test"}, "1901": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13", "type": "test"}, "1902": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c", "type": "test"}, "1903": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3", "type": "test"}, "1904": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf", "type": "test"}, "1905": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa", "type": "test"}, "1906": {"name": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8", "type": "test"}, "1907": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1", "type": "test"}, "1908": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b", "type": "test"}, "1909": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189", "type": "test"}, "1910": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd", "type": "test"}, "1911": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4", "type": "test"}, "1912": {"name": "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634", "type": "test"}, "1913": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f", "type": "test"}, "1914": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b", "type": "test"}, "1915": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d", "type": "test"}, "1916": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f", "type": "test"}, "1917": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac", "type": "test"}, "1918": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900", "type": "test"}, "1919": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703", "type": "test"}, "1920": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c", "type": "test"}, "1921": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721", "type": "test"}, "1922": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac", "type": "test"}, "1923": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535", "type": "test"}, "1924": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff", "type": "test"}, "1925": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64", "type": "test"}, "1926": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35", "type": "test"}, "1927": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b", "type": "test"}, "1928": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb", "type": "test"}, "1929": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd", "type": "test"}, "1930": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f", "type": "test"}, "1931": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098", "type": "test"}, "1932": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34", "type": "test"}, "1933": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f", "type": "test"}, "1934": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824", "type": "test"}, "1935": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b", "type": "test"}, "1936": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09", "type": "test"}, "1937": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b", "type": "test"}, "1938": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6", "type": "test"}, "1939": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672", "type": "test"}, "1940": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da", "type": "test"}, "1941": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3", "type": "test"}, "1942": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8", "type": "test"}, "1943": {"name": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437", "type": "test"}, "1944": {"name": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28", "type": "test"}, "1945": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255", "type": "test"}, "1946": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe", "type": "test"}, "1947": {"name": "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba", "type": "test"}, "1948": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7", "type": "test"}, "1949": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316", "type": "test"}, "1950": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367", "type": "test"}, "1951": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2", "type": "test"}, "1952": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce", "type": "test"}, "1953": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61", "type": "test"}, "1954": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32", "type": "test"}, "1955": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527", "type": "test"}, "1956": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766", "type": "test"}, "1957": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda", "type": "test"}, "1958": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3", "type": "test"}, "1959": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4", "type": "test"}, "1960": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae", "type": "test"}, "1961": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2", "type": "test"}, "1962": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783", "type": "test"}, "1963": {"name": "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b", "type": "test"}, "1964": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70", "type": "test"}, "1965": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672", "type": "test"}, "1966": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d", "type": "test"}, "1967": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1", "type": "test"}, "1968": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48", "type": "test"}, "1969": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc", "type": "test"}, "1970": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6", "type": "test"}, "1971": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce", "type": "test"}, "1972": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97", "type": "test"}, "1973": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669", "type": "test"}, "1974": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33", "type": "test"}, "1975": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab", "type": "test"}, "1976": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302", "type": "test"}, "1977": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f", "type": "test"}, "1978": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d", "type": "test"}, "1979": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404", "type": "test"}, "1980": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_prev_size.7412e3b81a", "type": "test"}, "1981": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_prev_size__True__0.94719eaa70", "type": "test"}, "1982": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_oi_usd.4f34c2eb05", "type": "test"}, "1983": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_oi_usd__True__0.f845c8d179", "type": "test"}, "1984": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_total_oi_usd.d633cebd30", "type": "test"}, "1985": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_total_oi_usd__True__0.70aa1121cf", "type": "test"}, "1986": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_oi.0f82ebafce", "type": "test"}, "1987": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_long_oi__True__0.e6b5ed98ab", "type": "test"}, "1988": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_oi.dfbca5e945", "type": "test"}, "1989": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_short_oi__True__0.01eeacdf05", "type": "test"}, "1990": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1", "type": "test"}, "1991": {"name": "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec", "type": "test"}, "1992": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312", "type": "test"}, "1993": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546", "type": "test"}, "1994": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc", "type": "test"}, "1995": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7", "type": "test"}, "1996": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8", "type": "test"}, "1997": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452", "type": "test"}, "1998": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220", "type": "test"}, "1999": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4", "type": "test"}, "2000": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011", "type": "test"}, "2001": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0", "type": "test"}, "2002": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695", "type": "test"}, "2003": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194", "type": "test"}, "2004": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f", "type": "test"}, "2005": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864", "type": "test"}, "2006": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae", "type": "test"}, "2007": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1", "type": "test"}, "2008": {"name": "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec", "type": "test"}, "2009": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106", "type": "test"}, "2010": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a", "type": "test"}, "2011": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_ts.71ad0dbc51", "type": "test"}, "2012": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_transaction_hash.91f74feda4", "type": "test"}, "2013": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_collateral_id.aecff52f67", "type": "test"}, "2014": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_synth_token_address.a79650fc4b", "type": "test"}, "2015": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_synth_symbol.2c78f613ac", "type": "test"}, "2016": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_event_type.a711fcead6", "type": "test"}, "2017": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_amount_delta.36e38848f2", "type": "test"}, "2018": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_account_balance.57eaade64d", "type": "test"}, "2019": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_sepolia_account_balance__True__0.ba878826df", "type": "test"}, "2020": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_total_balance.d18382e843", "type": "test"}, "2021": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_sepolia_total_balance__True__0.285571ff56", "type": "test"}, "2022": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_amount_delta_usd.cecfa33867", "type": "test"}, "2023": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_account_balance_usd.42b7f430e9", "type": "test"}, "2024": {"name": "test.synthetix.not_null_fct_core_account_activity_base_sepolia_block_timestamp.7e113000a1", "type": "test"}, "2025": {"name": "test.synthetix.not_null_fct_core_account_activity_base_sepolia_account_action.35ccccb136", "type": "test"}, "2026": {"name": "test.synthetix.accepted_values_fct_core_account_activity_base_sepolia_account_action__Delegated__Withdrawn__Claimed.3cf2f9cfe5", "type": "test"}, "2027": {"name": "test.synthetix.not_null_fct_core_account_activity_base_sepolia_account_id.a01fed41fc", "type": "test"}, "2028": {"name": "test.synthetix.not_null_fct_core_active_stakers_daily_base_sepolia_block_date.d4bff9ac64", "type": "test"}, "2029": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42", "type": "test"}, "2030": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7", "type": "test"}, "2031": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e", "type": "test"}, "2032": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4", "type": "test"}, "2033": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1", "type": "test"}, "2034": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a", "type": "test"}, "2035": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5", "type": "test"}, "2036": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671", "type": "test"}, "2037": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1", "type": "test"}, "2038": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac", "type": "test"}, "2039": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4", "type": "test"}, "2040": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d", "type": "test"}, "2041": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88", "type": "test"}, "2042": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4", "type": "test"}, "2043": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98", "type": "test"}, "2044": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326", "type": "test"}, "2045": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601", "type": "test"}, "2046": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591", "type": "test"}, "2047": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90", "type": "test"}, "2048": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f", "type": "test"}, "2049": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46", "type": "test"}, "2050": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a", "type": "test"}, "2051": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1", "type": "test"}, "2052": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189", "type": "test"}, "2053": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606", "type": "test"}, "2054": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1", "type": "test"}, "2055": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19", "type": "test"}, "2056": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d", "type": "test"}, "2057": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f", "type": "test"}, "2058": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337", "type": "test"}, "2059": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20", "type": "test"}, "2060": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918", "type": "test"}, "2061": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4", "type": "test"}, "2062": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3", "type": "test"}, "2063": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9", "type": "test"}, "2064": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a", "type": "test"}, "2065": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0", "type": "test"}, "2066": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84", "type": "test"}, "2067": {"name": "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f", "type": "test"}, "2068": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd", "type": "test"}, "2069": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d", "type": "test"}, "2070": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d", "type": "test"}, "2071": {"name": "test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10", "type": "test"}, "2072": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f", "type": "test"}, "2073": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a", "type": "test"}, "2074": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124", "type": "test"}, "2075": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18", "type": "test"}, "2076": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e", "type": "test"}, "2077": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e", "type": "test"}, "2078": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b", "type": "test"}, "2079": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e", "type": "test"}, "2080": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1", "type": "test"}, "2081": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e", "type": "test"}, "2082": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2", "type": "test"}, "2083": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8", "type": "test"}, "2084": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0", "type": "test"}, "2085": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b", "type": "test"}, "2086": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d", "type": "test"}, "2087": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279", "type": "test"}, "2088": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c", "type": "test"}, "2089": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6", "type": "test"}, "2090": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6", "type": "test"}, "2091": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232", "type": "test"}, "2092": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624", "type": "test"}, "2093": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff", "type": "test"}, "2094": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138", "type": "test"}, "2095": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17", "type": "test"}, "2096": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554", "type": "test"}, "2097": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68", "type": "test"}, "2098": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662", "type": "test"}, "2099": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4", "type": "test"}, "2100": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0", "type": "test"}, "2101": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed", "type": "test"}, "2102": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103", "type": "test"}, "2103": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa", "type": "test"}, "2104": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0", "type": "test"}, "2105": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0", "type": "test"}, "2106": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350", "type": "test"}, "2107": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb", "type": "test"}, "2108": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996", "type": "test"}, "2109": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f", "type": "test"}, "2110": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694", "type": "test"}, "2111": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f", "type": "test"}, "2112": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f", "type": "test"}, "2113": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570", "type": "test"}, "2114": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b", "type": "test"}, "2115": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd", "type": "test"}, "2116": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093", "type": "test"}, "2117": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b", "type": "test"}, "2118": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d", "type": "test"}, "2119": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5", "type": "test"}, "2120": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7", "type": "test"}, "2121": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72", "type": "test"}, "2122": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52", "type": "test"}, "2123": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358", "type": "test"}, "2124": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a", "type": "test"}, "2125": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855", "type": "test"}, "2126": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2", "type": "test"}, "2127": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20", "type": "test"}, "2128": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589", "type": "test"}, "2129": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f", "type": "test"}, "2130": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de", "type": "test"}, "2131": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec", "type": "test"}, "2132": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342", "type": "test"}, "2133": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d", "type": "test"}, "2134": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283", "type": "test"}, "2135": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b", "type": "test"}, "2136": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount.f5bf39a8d8", "type": "test"}, "2137": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount__True__0.8db4f3d98c", "type": "test"}, "2138": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac", "type": "test"}, "2139": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d", "type": "test"}, "2140": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d", "type": "test"}, "2141": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf", "type": "test"}, "2142": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2", "type": "test"}, "2143": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32", "type": "test"}, "2144": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9", "type": "test"}, "2145": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f", "type": "test"}, "2146": {"name": "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878", "type": "test"}, "2147": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15", "type": "test"}, "2148": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305", "type": "test"}, "2149": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403", "type": "test"}, "2150": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421", "type": "test"}, "2151": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a", "type": "test"}, "2152": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf", "type": "test"}, "2153": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8", "type": "test"}, "2154": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd", "type": "test"}, "2155": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41", "type": "test"}, "2156": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8", "type": "test"}, "2157": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce", "type": "test"}, "2158": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6", "type": "test"}, "2159": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a", "type": "test"}, "2160": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2", "type": "test"}, "2161": {"name": "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d", "type": "test"}, "2162": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9", "type": "test"}, "2163": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356", "type": "test"}, "2164": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59", "type": "test"}, "2165": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da", "type": "test"}, "2166": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846", "type": "test"}, "2167": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3", "type": "test"}, "2168": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8", "type": "test"}, "2169": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c", "type": "test"}, "2170": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1", "type": "test"}, "2171": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6", "type": "test"}, "2172": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d", "type": "test"}, "2173": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f", "type": "test"}, "2174": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b", "type": "test"}, "2175": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2", "type": "test"}, "2176": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b", "type": "test"}, "2177": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d", "type": "test"}, "2178": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815", "type": "test"}, "2179": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2", "type": "test"}, "2180": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e", "type": "test"}, "2181": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370", "type": "test"}, "2182": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439", "type": "test"}, "2183": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec", "type": "test"}, "2184": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4", "type": "test"}, "2185": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106", "type": "test"}, "2186": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895", "type": "test"}, "2187": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42", "type": "test"}, "2188": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa", "type": "test"}, "2189": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5", "type": "test"}, "2190": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309", "type": "test"}, "2191": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1", "type": "test"}, "2192": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302", "type": "test"}, "2193": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27", "type": "test"}, "2194": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48", "type": "test"}, "2195": {"name": "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329", "type": "test"}, "2196": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800", "type": "test"}, "2197": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05", "type": "test"}, "2198": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f", "type": "test"}, "2199": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f", "type": "test"}, "2200": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30", "type": "test"}, "2201": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7", "type": "test"}, "2202": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78", "type": "test"}, "2203": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346", "type": "test"}, "2204": {"name": "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_ts.4e1523873c", "type": "test"}, "2205": {"name": "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_dau.a786475217", "type": "test"}, "2206": {"name": "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_mau.f4b29c398e", "type": "test"}, "2207": {"name": "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_new_accounts_daily.59f0fcd49f", "type": "test"}, "2208": {"name": "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_new_accounts_monthly.a064412063", "type": "test"}, "2209": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8", "type": "test"}, "2210": {"name": "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f", "type": "test"}, "2211": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1", "type": "test"}, "2212": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4", "type": "test"}, "2213": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f", "type": "test"}, "2214": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef", "type": "test"}, "2215": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3", "type": "test"}, "2216": {"name": "test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d", "type": "test"}, "2217": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93", "type": "test"}, "2218": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8", "type": "test"}, "2219": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712", "type": "test"}, "2220": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50", "type": "test"}, "2221": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9", "type": "test"}, "2222": {"name": "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027", "type": "test"}, "2223": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c", "type": "test"}, "2224": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575", "type": "test"}, "2225": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504", "type": "test"}, "2226": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840", "type": "test"}, "2227": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1", "type": "test"}, "2228": {"name": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782", "type": "test"}, "2229": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920", "type": "test"}, "2230": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d", "type": "test"}, "2231": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc", "type": "test"}, "2232": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63", "type": "test"}, "2233": {"name": "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a", "type": "test"}, "2234": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840", "type": "test"}, "2235": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2", "type": "test"}, "2236": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5", "type": "test"}, "2237": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f", "type": "test"}, "2238": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d", "type": "test"}, "2239": {"name": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769", "type": "test"}, "2240": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e", "type": "test"}, "2241": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004", "type": "test"}, "2242": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2", "type": "test"}, "2243": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c", "type": "test"}, "2244": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491", "type": "test"}, "2245": {"name": "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb", "type": "test"}, "2246": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71", "type": "test"}, "2247": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0", "type": "test"}, "2248": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28", "type": "test"}, "2249": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e", "type": "test"}, "2250": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016", "type": "test"}, "2251": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862", "type": "test"}, "2252": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c", "type": "test"}, "2253": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9", "type": "test"}, "2254": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206", "type": "test"}, "2255": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae", "type": "test"}, "2256": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983", "type": "test"}, "2257": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b", "type": "test"}, "2258": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9", "type": "test"}, "2259": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4", "type": "test"}, "2260": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b", "type": "test"}, "2261": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a", "type": "test"}, "2262": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4", "type": "test"}, "2263": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6", "type": "test"}, "2264": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67", "type": "test"}, "2265": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b", "type": "test"}, "2266": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36", "type": "test"}, "2267": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc", "type": "test"}, "2268": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d", "type": "test"}, "2269": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad", "type": "test"}, "2270": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997", "type": "test"}, "2271": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b", "type": "test"}, "2272": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9", "type": "test"}, "2273": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a", "type": "test"}, "2274": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f", "type": "test"}, "2275": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334", "type": "test"}, "2276": {"name": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a", "type": "test"}, "2277": {"name": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40", "type": "test"}, "2278": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590", "type": "test"}, "2279": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb", "type": "test"}, "2280": {"name": "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5", "type": "test"}, "2281": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22", "type": "test"}, "2282": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718", "type": "test"}, "2283": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79", "type": "test"}, "2284": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92", "type": "test"}, "2285": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011", "type": "test"}, "2286": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc", "type": "test"}, "2287": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b", "type": "test"}, "2288": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0", "type": "test"}, "2289": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532", "type": "test"}, "2290": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180", "type": "test"}, "2291": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a", "type": "test"}, "2292": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1", "type": "test"}, "2293": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc", "type": "test"}, "2294": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19", "type": "test"}, "2295": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377", "type": "test"}, "2296": {"name": "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0", "type": "test"}, "2297": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6", "type": "test"}, "2298": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767", "type": "test"}, "2299": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0", "type": "test"}, "2300": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8", "type": "test"}, "2301": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa", "type": "test"}, "2302": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a", "type": "test"}, "2303": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31", "type": "test"}, "2304": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc", "type": "test"}, "2305": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92", "type": "test"}, "2306": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f", "type": "test"}, "2307": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd", "type": "test"}, "2308": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa", "type": "test"}, "2309": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef", "type": "test"}, "2310": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc", "type": "test"}, "2311": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07", "type": "test"}, "2312": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476", "type": "test"}, "2313": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_prev_size.9edab680c8", "type": "test"}, "2314": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_prev_size__True__0.10c23dc280", "type": "test"}, "2315": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_oi_usd.5931c83a6e", "type": "test"}, "2316": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_oi_usd__True__0.ba5189fe54", "type": "test"}, "2317": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_total_oi_usd.dacf6f4eea", "type": "test"}, "2318": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_total_oi_usd__True__0.8010bbacea", "type": "test"}, "2319": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_oi.4f30d69bd5", "type": "test"}, "2320": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_long_oi__True__0.d6805161d5", "type": "test"}, "2321": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_oi.987f3728f2", "type": "test"}, "2322": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_short_oi__True__0.cc21c1531b", "type": "test"}, "2323": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1", "type": "test"}, "2324": {"name": "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7", "type": "test"}, "2325": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976", "type": "test"}, "2326": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256", "type": "test"}, "2327": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c", "type": "test"}, "2328": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7", "type": "test"}, "2329": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed", "type": "test"}, "2330": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560", "type": "test"}, "2331": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f", "type": "test"}, "2332": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124", "type": "test"}, "2333": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f", "type": "test"}, "2334": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623", "type": "test"}, "2335": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4", "type": "test"}, "2336": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59", "type": "test"}, "2337": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7", "type": "test"}, "2338": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c", "type": "test"}, "2339": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633", "type": "test"}, "2340": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0", "type": "test"}, "2341": {"name": "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2", "type": "test"}, "2342": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93", "type": "test"}, "2343": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74", "type": "test"}, "2344": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_ts.1a99836525", "type": "test"}, "2345": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_transaction_hash.39c937a7b3", "type": "test"}, "2346": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_collateral_id.7f5bcd6ac4", "type": "test"}, "2347": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_synth_token_address.6aa8d47004", "type": "test"}, "2348": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_synth_symbol.6915a64c77", "type": "test"}, "2349": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_event_type.d0809405df", "type": "test"}, "2350": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_amount_delta.3b1e1ace8a", "type": "test"}, "2351": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_account_balance.4e0c87c2a8", "type": "test"}, "2352": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_mainnet_account_balance__True__0.d558974b62", "type": "test"}, "2353": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_total_balance.78218714a3", "type": "test"}, "2354": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_mainnet_total_balance__True__0.f700d43ea1", "type": "test"}, "2355": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_amount_delta_usd.3edc4b4ee4", "type": "test"}, "2356": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_account_balance_usd.57013177d2", "type": "test"}, "2357": {"name": "test.synthetix.not_null_fct_core_account_activity_base_mainnet_block_timestamp.76eeb87508", "type": "test"}, "2358": {"name": "test.synthetix.not_null_fct_core_account_activity_base_mainnet_account_action.9d7e27fe75", "type": "test"}, "2359": {"name": "test.synthetix.accepted_values_fct_core_account_activity_base_mainnet_account_action__Delegated__Withdrawn__Claimed.18332843a2", "type": "test"}, "2360": {"name": "test.synthetix.not_null_fct_core_account_activity_base_mainnet_account_id.b74fe5dfc2", "type": "test"}, "2361": {"name": "test.synthetix.not_null_fct_core_active_stakers_daily_base_mainnet_block_date.e8394550e7", "type": "test"}, "2362": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8", "type": "test"}, "2363": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc", "type": "test"}, "2364": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9", "type": "test"}, "2365": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17", "type": "test"}, "2366": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d", "type": "test"}, "2367": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d", "type": "test"}, "2368": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca", "type": "test"}, "2369": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818", "type": "test"}, "2370": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a", "type": "test"}, "2371": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571", "type": "test"}, "2372": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243", "type": "test"}, "2373": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0", "type": "test"}, "2374": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc", "type": "test"}, "2375": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0", "type": "test"}, "2376": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d", "type": "test"}, "2377": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65", "type": "test"}, "2378": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd", "type": "test"}, "2379": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e", "type": "test"}, "2380": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139", "type": "test"}, "2381": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45", "type": "test"}, "2382": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825", "type": "test"}, "2383": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f", "type": "test"}, "2384": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e", "type": "test"}, "2385": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11", "type": "test"}, "2386": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca", "type": "test"}, "2387": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124", "type": "test"}, "2388": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c", "type": "test"}, "2389": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2", "type": "test"}, "2390": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce", "type": "test"}, "2391": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9", "type": "test"}, "2392": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e", "type": "test"}, "2393": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9", "type": "test"}, "2394": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e", "type": "test"}, "2395": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92", "type": "test"}, "2396": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775", "type": "test"}, "2397": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994", "type": "test"}, "2398": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e", "type": "test"}, "2399": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d", "type": "test"}, "2400": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9", "type": "test"}, "2401": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035", "type": "test"}, "2402": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299", "type": "test"}, "2403": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa", "type": "test"}, "2404": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826", "type": "test"}, "2405": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f", "type": "test"}, "2406": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21", "type": "test"}, "2407": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f", "type": "test"}, "2408": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc", "type": "test"}, "2409": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385", "type": "test"}, "2410": {"name": "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17", "type": "test"}, "2411": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d", "type": "test"}, "2412": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26", "type": "test"}, "2413": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8", "type": "test"}, "2414": {"name": "test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03", "type": "test"}, "2415": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa", "type": "test"}, "2416": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792", "type": "test"}, "2417": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c", "type": "test"}, "2418": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986", "type": "test"}, "2419": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8", "type": "test"}, "2420": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90", "type": "test"}, "2421": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4", "type": "test"}, "2422": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c", "type": "test"}, "2423": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7", "type": "test"}, "2424": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777", "type": "test"}, "2425": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729", "type": "test"}, "2426": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0", "type": "test"}, "2427": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118", "type": "test"}, "2428": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095", "type": "test"}, "2429": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3", "type": "test"}, "2430": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe", "type": "test"}, "2431": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43", "type": "test"}, "2432": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87", "type": "test"}, "2433": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd", "type": "test"}, "2434": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6", "type": "test"}, "2435": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d", "type": "test"}, "2436": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b", "type": "test"}, "2437": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea", "type": "test"}, "2438": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505", "type": "test"}, "2439": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d", "type": "test"}, "2440": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767", "type": "test"}, "2441": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47", "type": "test"}, "2442": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56", "type": "test"}, "2443": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d", "type": "test"}, "2444": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103", "type": "test"}, "2445": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4", "type": "test"}, "2446": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614", "type": "test"}, "2447": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62", "type": "test"}, "2448": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49", "type": "test"}, "2449": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9", "type": "test"}, "2450": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81", "type": "test"}, "2451": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6", "type": "test"}, "2452": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22", "type": "test"}, "2453": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5", "type": "test"}, "2454": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca", "type": "test"}, "2455": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773", "type": "test"}, "2456": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb", "type": "test"}, "2457": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab", "type": "test"}, "2458": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52", "type": "test"}, "2459": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132", "type": "test"}, "2460": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648", "type": "test"}, "2461": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d", "type": "test"}, "2462": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033", "type": "test"}, "2463": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc", "type": "test"}, "2464": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5", "type": "test"}, "2465": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5", "type": "test"}, "2466": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c", "type": "test"}, "2467": {"name": "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_ts.f9b0c31f8e", "type": "test"}, "2468": {"name": "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_pool_id.7caa7784fe", "type": "test"}, "2469": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_pool_id__True__0.30606339f8", "type": "test"}, "2470": {"name": "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_token_symbol.deb64d0827", "type": "test"}, "2471": {"name": "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_amount.e61f0abae3", "type": "test"}, "2472": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_amount__True__0.b67eb2dc17", "type": "test"}, "2473": {"name": "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_rewards_usd.70250ab142", "type": "test"}, "2474": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_rewards_usd__True__0.adf9b2435e", "type": "test"}, "2475": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d", "type": "test"}, "2476": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4", "type": "test"}, "2477": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477", "type": "test"}, "2478": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f", "type": "test"}, "2479": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438", "type": "test"}, "2480": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount.ee0d98f0ab", "type": "test"}, "2481": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount__True__0.dbf212e433", "type": "test"}, "2482": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d", "type": "test"}, "2483": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de", "type": "test"}, "2484": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff", "type": "test"}, "2485": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688", "type": "test"}, "2486": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755", "type": "test"}, "2487": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c", "type": "test"}, "2488": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38", "type": "test"}, "2489": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de", "type": "test"}, "2490": {"name": "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198", "type": "test"}, "2491": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7", "type": "test"}, "2492": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a", "type": "test"}, "2493": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755", "type": "test"}, "2494": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705", "type": "test"}, "2495": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d", "type": "test"}, "2496": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35", "type": "test"}, "2497": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d", "type": "test"}, "2498": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc", "type": "test"}, "2499": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9", "type": "test"}, "2500": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620", "type": "test"}, "2501": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d", "type": "test"}, "2502": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc", "type": "test"}, "2503": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09", "type": "test"}, "2504": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01", "type": "test"}, "2505": {"name": "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab", "type": "test"}, "2506": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22", "type": "test"}, "2507": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180", "type": "test"}, "2508": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4", "type": "test"}, "2509": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a", "type": "test"}, "2510": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02", "type": "test"}, "2511": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc", "type": "test"}, "2512": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1", "type": "test"}, "2513": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7", "type": "test"}, "2514": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484", "type": "test"}, "2515": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63", "type": "test"}, "2516": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25", "type": "test"}, "2517": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094", "type": "test"}, "2518": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb", "type": "test"}, "2519": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73", "type": "test"}, "2520": {"name": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_ts.2b3425759c", "type": "test"}, "2521": {"name": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_dau.9ae6180ef4", "type": "test"}, "2522": {"name": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_mau.58d94fa36c", "type": "test"}, "2523": {"name": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_new_accounts_daily.18f4b9bc7f", "type": "test"}, "2524": {"name": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_new_accounts_monthly.6665a7f408", "type": "test"}, "2525": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_id.38605d52c9", "type": "test"}, "2526": {"name": "test.synthetix.unique_fct_perp_interest_charged_arbitrum_sepolia_id.418f459da1", "type": "test"}, "2527": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_block_timestamp.a258f49c6c", "type": "test"}, "2528": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_block_number.bcf0e9c27a", "type": "test"}, "2529": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_transaction_hash.a2955227b8", "type": "test"}, "2530": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_contract.d14beb1667", "type": "test"}, "2531": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_event_name.08086a65e0", "type": "test"}, "2532": {"name": "test.synthetix.accepted_values_fct_perp_interest_charged_arbitrum_sepolia_event_name__InterestCharged.51e1e7a8ae", "type": "test"}, "2533": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_account_id.90ca2a0ca7", "type": "test"}, "2534": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_sepolia_account_id__True__0.9112ebe432", "type": "test"}, "2535": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_interest.9aabfab72d", "type": "test"}, "2536": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_sepolia_interest__True__0.c64881a8aa", "type": "test"}, "2537": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_id.8f1c27919f", "type": "test"}, "2538": {"name": "test.synthetix.unique_fct_perp_collateral_modified_arbitrum_sepolia_id.7cb07d36dc", "type": "test"}, "2539": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_block_timestamp.3899d28cda", "type": "test"}, "2540": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_block_number.038db03a29", "type": "test"}, "2541": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_transaction_hash.bd038969b5", "type": "test"}, "2542": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_contract.b02eea7590", "type": "test"}, "2543": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_event_name.09d14b4d4b", "type": "test"}, "2544": {"name": "test.synthetix.accepted_values_fct_perp_collateral_modified_arbitrum_sepolia_event_name__CollateralModified.4bfeebcda9", "type": "test"}, "2545": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_synth_market_id.7b6c2e9ecd", "type": "test"}, "2546": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_arbitrum_sepolia_synth_market_id__True__0.8692b0954c", "type": "test"}, "2547": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_sender.490b67952f", "type": "test"}, "2548": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_id.8f347add74", "type": "test"}, "2549": {"name": "test.synthetix.unique_fct_perp_previous_order_expired_arbitrum_sepolia_id.c4a0a04380", "type": "test"}, "2550": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_block_timestamp.ce344ae972", "type": "test"}, "2551": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_block_number.fbd3fb89cd", "type": "test"}, "2552": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_transaction_hash.75fb5800ee", "type": "test"}, "2553": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_contract.9368b6d3c9", "type": "test"}, "2554": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_event_name.867c7e9c9e", "type": "test"}, "2555": {"name": "test.synthetix.accepted_values_fct_perp_previous_order_expired_arbitrum_sepolia_event_name__PreviousOrderExpired.48e00fa2d6", "type": "test"}, "2556": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_market_id.bf6ab6d240", "type": "test"}, "2557": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_sepolia_market_id__True__0.110e709d41", "type": "test"}, "2558": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_account_id.b3fe07a0f6", "type": "test"}, "2559": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_sepolia_account_id__True__0.923099e195", "type": "test"}, "2560": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_id.cc6815332b", "type": "test"}, "2561": {"name": "test.synthetix.unique_fct_perp_trades_arbitrum_sepolia_id.97727d3bc8", "type": "test"}, "2562": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_ts.7168a7dcb9", "type": "test"}, "2563": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_block_number.e05ab0ce3d", "type": "test"}, "2564": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_transaction_hash.cdee9e9027", "type": "test"}, "2565": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_contract.b7fc20d311", "type": "test"}, "2566": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_market_id.2c1fcea791", "type": "test"}, "2567": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_market_id__True__0.6123a5e0f8", "type": "test"}, "2568": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_market_symbol.c6a6aa478b", "type": "test"}, "2569": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_account_id.87c909f789", "type": "test"}, "2570": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_fill_price.e01f35e7e0", "type": "test"}, "2571": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_fill_price__True__0.84d6f40700", "type": "test"}, "2572": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_pnl.cd004b1f6c", "type": "test"}, "2573": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_accrued_funding.d1353dabad", "type": "test"}, "2574": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_trade_size.2d16719cfa", "type": "test"}, "2575": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_position_size.451b8cbb68", "type": "test"}, "2576": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_total_fees.76dcb57c24", "type": "test"}, "2577": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_total_fees__True__0.7a97931ad2", "type": "test"}, "2578": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_referral_fees.5aade6b5e5", "type": "test"}, "2579": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_referral_fees__True__0.f37cc98502", "type": "test"}, "2580": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_collected_fees.1a014bf126", "type": "test"}, "2581": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_collected_fees__True__0.f8c115c059", "type": "test"}, "2582": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_settlement_reward.aa985f0df2", "type": "test"}, "2583": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_settlement_reward__True__0.f9a75fbfd2", "type": "test"}, "2584": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_tracking_code.653ddd5967", "type": "test"}, "2585": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_settler.bc87147eb6", "type": "test"}, "2586": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_notional_trade_size.96d394476f", "type": "test"}, "2587": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_notional_position_size.718ab14890", "type": "test"}, "2588": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_lp_fees.e0ce3fdd00", "type": "test"}, "2589": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_lp_fees__True__0.4031a219b2", "type": "test"}, "2590": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_exchange_fees.daa870eeea", "type": "test"}, "2591": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_exchange_fees__True__0.8551cec8b5", "type": "test"}, "2592": {"name": "test.synthetix.not_null_fct_perp_pnl_arbitrum_sepolia_ts.9b3b9b4145", "type": "test"}, "2593": {"name": "test.synthetix.not_null_fct_perp_pnl_arbitrum_sepolia_market_id.e7e798c2a6", "type": "test"}, "2594": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_arbitrum_sepolia_market_id__True__0.78cda1ee25", "type": "test"}, "2595": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_id.0a35a6cefb", "type": "test"}, "2596": {"name": "test.synthetix.unique_fct_perp_orders_arbitrum_sepolia_id.e2567e2470", "type": "test"}, "2597": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_ts.ed27702e6b", "type": "test"}, "2598": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_block_number.9a237cda1b", "type": "test"}, "2599": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_transaction_hash.abdc2734c4", "type": "test"}, "2600": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_contract.f0c534a661", "type": "test"}, "2601": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_market_id.e4f932e2e7", "type": "test"}, "2602": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_arbitrum_sepolia_market_id__True__0.0950ca5dc6", "type": "test"}, "2603": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_market_symbol.2104bc133c", "type": "test"}, "2604": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_account_id.c9eae65168", "type": "test"}, "2605": {"name": "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_id.1aae92d10b", "type": "test"}, "2606": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_arbitrum_sepolia_id__True__0.809baf15c9", "type": "test"}, "2607": {"name": "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_created_ts.c925538049", "type": "test"}, "2608": {"name": "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_block_number.29c62666b5", "type": "test"}, "2609": {"name": "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_market_symbol.894efe853d", "type": "test"}, "2610": {"name": "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_market_name.2fb670f3c9", "type": "test"}, "2611": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_id.c07e81599c", "type": "test"}, "2612": {"name": "test.synthetix.unique_fct_perp_market_history_arbitrum_sepolia_id.5ebcf62272", "type": "test"}, "2613": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_ts.0a97082751", "type": "test"}, "2614": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_block_number.bf6af7baa5", "type": "test"}, "2615": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_transaction_hash.7c5d714791", "type": "test"}, "2616": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_market_id.319db3ddd3", "type": "test"}, "2617": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_market_id__True__0.4fa717e8b8", "type": "test"}, "2618": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_market_symbol.bf10fe08a1", "type": "test"}, "2619": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_price.fb63891fb4", "type": "test"}, "2620": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_skew.dcf5d90983", "type": "test"}, "2621": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_size.6a0b574e1a", "type": "test"}, "2622": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_size_delta.03007f03ad", "type": "test"}, "2623": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate.0c7c4681c3", "type": "test"}, "2624": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_funding_velocity.b534721653", "type": "test"}, "2625": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_interest_rate.fd928f3550", "type": "test"}, "2626": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate_apr.e818a3e5bf", "type": "test"}, "2627": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_long_rate_apr.079c76b379", "type": "test"}, "2628": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_short_rate_apr.387df474b7", "type": "test"}, "2629": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_prev_size.ba65490763", "type": "test"}, "2630": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_prev_size__True__0.22f4d04d76", "type": "test"}, "2631": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_market_oi_usd.1a801f1301", "type": "test"}, "2632": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_market_oi_usd__True__0.4471884e57", "type": "test"}, "2633": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_total_oi_usd.b03faabf97", "type": "test"}, "2634": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_total_oi_usd__True__0.4f341c2df9", "type": "test"}, "2635": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_long_oi.e7014159f1", "type": "test"}, "2636": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_long_oi__True__0.d3603acb30", "type": "test"}, "2637": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_short_oi.58448f0257", "type": "test"}, "2638": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_short_oi__True__0.8b32523c71", "type": "test"}, "2639": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_id.61aaec741e", "type": "test"}, "2640": {"name": "test.synthetix.unique_fct_perp_liq_position_arbitrum_sepolia_id.143a6e53ab", "type": "test"}, "2641": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_ts.86fe34cc45", "type": "test"}, "2642": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_block_number.e6e93f1ab3", "type": "test"}, "2643": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_transaction_hash.d7c137d375", "type": "test"}, "2644": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_account_id.cde4f3f191", "type": "test"}, "2645": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_market_id.a7c845cd48", "type": "test"}, "2646": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_market_id__True__0.4485c332d0", "type": "test"}, "2647": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_market_symbol.1097b1cf7e", "type": "test"}, "2648": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_amount_liquidated.a3cb633bfc", "type": "test"}, "2649": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_amount_liquidated__True__0.956e63f5ec", "type": "test"}, "2650": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_position_size.ac5bc63bdb", "type": "test"}, "2651": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_position_size__True__0.ffc90d2068", "type": "test"}, "2652": {"name": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_sepolia_account_id.43bf639764", "type": "test"}, "2653": {"name": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_sepolia_ts.17212bb7f0", "type": "test"}, "2654": {"name": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_sepolia_total_reward.7a99180d9d", "type": "test"}, "2655": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_arbitrum_sepolia_total_reward__True__0.2e9337311c", "type": "test"}, "2656": {"name": "test.synthetix.not_null_fct_perp_accounts_arbitrum_sepolia_id.b4e2371e87", "type": "test"}, "2657": {"name": "test.synthetix.unique_fct_perp_accounts_arbitrum_sepolia_id.30854048b9", "type": "test"}, "2658": {"name": "test.synthetix.not_null_fct_perp_accounts_arbitrum_sepolia_created_ts.881963b12b", "type": "test"}, "2659": {"name": "test.synthetix.not_null_fct_perp_accounts_arbitrum_sepolia_owner.ab695ba4ef", "type": "test"}, "2660": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_ts.fc2513a1e3", "type": "test"}, "2661": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_transaction_hash.49e734bc96", "type": "test"}, "2662": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_collateral_id.0e501ca686", "type": "test"}, "2663": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_synth_token_address.4de81c923a", "type": "test"}, "2664": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_synth_symbol.d08c2bc587", "type": "test"}, "2665": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_event_type.e48a7dddd6", "type": "test"}, "2666": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_amount_delta.a5e73a73e1", "type": "test"}, "2667": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_account_balance.95f87597e3", "type": "test"}, "2668": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_sepolia_account_balance__True__0.f24a0e3189", "type": "test"}, "2669": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_total_balance.f558ebc2c0", "type": "test"}, "2670": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_sepolia_total_balance__True__0.cb9ccb808a", "type": "test"}, "2671": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_amount_delta_usd.1cd0e8e566", "type": "test"}, "2672": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_account_balance_usd.2c0fcdaa2f", "type": "test"}, "2673": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_total_balance_usd.2c1e3f6b35", "type": "test"}, "2674": {"name": "test.synthetix.not_null_fct_core_account_activity_arbitrum_sepolia_block_timestamp.9ae638f161", "type": "test"}, "2675": {"name": "test.synthetix.not_null_fct_core_account_activity_arbitrum_sepolia_account_action.0cb71cc83d", "type": "test"}, "2676": {"name": "test.synthetix.accepted_values_fct_core_account_activity_arbitrum_sepolia_account_action__Delegated__Withdrawn__Claimed.d8230d3bc8", "type": "test"}, "2677": {"name": "test.synthetix.not_null_fct_core_account_activity_arbitrum_sepolia_account_id.b5f7bf7735", "type": "test"}, "2678": {"name": "test.synthetix.not_null_fct_core_active_stakers_daily_arbitrum_sepolia_block_date.7dd9b569bc", "type": "test"}, "2679": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051", "type": "test"}, "2680": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251", "type": "test"}, "2681": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d", "type": "test"}, "2682": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f", "type": "test"}, "2683": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09", "type": "test"}, "2684": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815", "type": "test"}, "2685": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384", "type": "test"}, "2686": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba", "type": "test"}, "2687": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88", "type": "test"}, "2688": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4", "type": "test"}, "2689": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c", "type": "test"}, "2690": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3", "type": "test"}, "2691": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62", "type": "test"}, "2692": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a", "type": "test"}, "2693": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790", "type": "test"}, "2694": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0", "type": "test"}, "2695": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89", "type": "test"}, "2696": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b", "type": "test"}, "2697": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26", "type": "test"}, "2698": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f", "type": "test"}, "2699": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3", "type": "test"}, "2700": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181", "type": "test"}, "2701": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177", "type": "test"}, "2702": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff", "type": "test"}, "2703": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f", "type": "test"}, "2704": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c", "type": "test"}, "2705": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de", "type": "test"}, "2706": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425", "type": "test"}, "2707": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d", "type": "test"}, "2708": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b", "type": "test"}, "2709": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425", "type": "test"}, "2710": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791", "type": "test"}, "2711": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524", "type": "test"}, "2712": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d", "type": "test"}, "2713": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133", "type": "test"}, "2714": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3", "type": "test"}, "2715": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47", "type": "test"}, "2716": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3", "type": "test"}, "2717": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74", "type": "test"}, "2718": {"name": "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84", "type": "test"}, "2719": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56", "type": "test"}, "2720": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52", "type": "test"}, "2721": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334", "type": "test"}, "2722": {"name": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130", "type": "test"}, "2723": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6", "type": "test"}, "2724": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94", "type": "test"}, "2725": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66", "type": "test"}, "2726": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee", "type": "test"}, "2727": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca", "type": "test"}, "2728": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21", "type": "test"}, "2729": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5", "type": "test"}, "2730": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474", "type": "test"}, "2731": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0", "type": "test"}, "2732": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b", "type": "test"}, "2733": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6", "type": "test"}, "2734": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62", "type": "test"}, "2735": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25", "type": "test"}, "2736": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493", "type": "test"}, "2737": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a", "type": "test"}, "2738": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b", "type": "test"}, "2739": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90", "type": "test"}, "2740": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b", "type": "test"}, "2741": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3", "type": "test"}, "2742": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd", "type": "test"}, "2743": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3", "type": "test"}, "2744": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029", "type": "test"}, "2745": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4", "type": "test"}, "2746": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf", "type": "test"}, "2747": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae", "type": "test"}, "2748": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38", "type": "test"}, "2749": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282", "type": "test"}, "2750": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f", "type": "test"}, "2751": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20", "type": "test"}, "2752": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9", "type": "test"}, "2753": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f", "type": "test"}, "2754": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61", "type": "test"}, "2755": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832", "type": "test"}, "2756": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399", "type": "test"}, "2757": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1", "type": "test"}, "2758": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb", "type": "test"}, "2759": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb", "type": "test"}, "2760": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c", "type": "test"}, "2761": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52", "type": "test"}, "2762": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9", "type": "test"}, "2763": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b", "type": "test"}, "2764": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e", "type": "test"}, "2765": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8", "type": "test"}, "2766": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0", "type": "test"}, "2767": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9", "type": "test"}, "2768": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d", "type": "test"}, "2769": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe", "type": "test"}, "2770": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1", "type": "test"}, "2771": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1", "type": "test"}, "2772": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318", "type": "test"}, "2773": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46", "type": "test"}, "2774": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096", "type": "test"}, "2775": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83", "type": "test"}, "2776": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b", "type": "test"}, "2777": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b", "type": "test"}, "2778": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff", "type": "test"}, "2779": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6", "type": "test"}, "2780": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf", "type": "test"}, "2781": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c", "type": "test"}, "2782": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9", "type": "test"}, "2783": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8", "type": "test"}, "2784": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9", "type": "test"}, "2785": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab", "type": "test"}, "2786": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e", "type": "test"}, "2787": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58", "type": "test"}, "2788": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount.53214f6b62", "type": "test"}, "2789": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount__True__0.c8e44e38be", "type": "test"}, "2790": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d", "type": "test"}, "2791": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf", "type": "test"}, "2792": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65", "type": "test"}, "2793": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f", "type": "test"}, "2794": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324", "type": "test"}, "2795": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f", "type": "test"}, "2796": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508", "type": "test"}, "2797": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b", "type": "test"}, "2798": {"name": "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee", "type": "test"}, "2799": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450", "type": "test"}, "2800": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930", "type": "test"}, "2801": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793", "type": "test"}, "2802": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0", "type": "test"}, "2803": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf", "type": "test"}, "2804": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b", "type": "test"}, "2805": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd", "type": "test"}, "2806": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8", "type": "test"}, "2807": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907", "type": "test"}, "2808": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7", "type": "test"}, "2809": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054", "type": "test"}, "2810": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4", "type": "test"}, "2811": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198", "type": "test"}, "2812": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3", "type": "test"}, "2813": {"name": "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636", "type": "test"}, "2814": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb", "type": "test"}, "2815": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89", "type": "test"}, "2816": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f", "type": "test"}, "2817": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f", "type": "test"}, "2818": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4", "type": "test"}, "2819": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8", "type": "test"}, "2820": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9", "type": "test"}, "2821": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969", "type": "test"}, "2822": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88", "type": "test"}, "2823": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36", "type": "test"}, "2824": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d", "type": "test"}, "2825": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205", "type": "test"}, "2826": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1", "type": "test"}, "2827": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce", "type": "test"}, "2828": {"name": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_ts.204b6da97a", "type": "test"}, "2829": {"name": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_dau.7598174ccf", "type": "test"}, "2830": {"name": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_mau.daaf95e7be", "type": "test"}, "2831": {"name": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_new_accounts_daily.5a6fc7acd6", "type": "test"}, "2832": {"name": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_new_accounts_monthly.124ca9de58", "type": "test"}, "2833": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_id.e65a5a6b7b", "type": "test"}, "2834": {"name": "test.synthetix.unique_fct_perp_interest_charged_arbitrum_mainnet_id.176ba58d24", "type": "test"}, "2835": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_block_timestamp.a02a2dca08", "type": "test"}, "2836": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_block_number.f9a6bea511", "type": "test"}, "2837": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_transaction_hash.a51ba7ae00", "type": "test"}, "2838": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_contract.2994a59949", "type": "test"}, "2839": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_event_name.2eb4ea378d", "type": "test"}, "2840": {"name": "test.synthetix.accepted_values_fct_perp_interest_charged_arbitrum_mainnet_event_name__InterestCharged.290d5610b6", "type": "test"}, "2841": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_account_id.f870459206", "type": "test"}, "2842": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_mainnet_account_id__True__0.8b99042cb7", "type": "test"}, "2843": {"name": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_interest.9af6483895", "type": "test"}, "2844": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_mainnet_interest__True__0.7cdf7632d5", "type": "test"}, "2845": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_id.1b5f600118", "type": "test"}, "2846": {"name": "test.synthetix.unique_fct_perp_collateral_modified_arbitrum_mainnet_id.bd707e28f4", "type": "test"}, "2847": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_block_timestamp.46d64b9bc1", "type": "test"}, "2848": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_block_number.1f44ed82ec", "type": "test"}, "2849": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_transaction_hash.918a7da077", "type": "test"}, "2850": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_contract.c3c6e86c96", "type": "test"}, "2851": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_event_name.45d8e8ebbb", "type": "test"}, "2852": {"name": "test.synthetix.accepted_values_fct_perp_collateral_modified_arbitrum_mainnet_event_name__CollateralModified.250d86c2ff", "type": "test"}, "2853": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_synth_market_id.b88231df26", "type": "test"}, "2854": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_arbitrum_mainnet_synth_market_id__True__0.574a94c14b", "type": "test"}, "2855": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_sender.66d35dd8ca", "type": "test"}, "2856": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_id.b67d812890", "type": "test"}, "2857": {"name": "test.synthetix.unique_fct_perp_previous_order_expired_arbitrum_mainnet_id.3d9ee42bda", "type": "test"}, "2858": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_block_timestamp.eda2a5583d", "type": "test"}, "2859": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_block_number.804dd95eda", "type": "test"}, "2860": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_transaction_hash.2023a1cf08", "type": "test"}, "2861": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_contract.f6af6435d2", "type": "test"}, "2862": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_event_name.459d1c304b", "type": "test"}, "2863": {"name": "test.synthetix.accepted_values_fct_perp_previous_order_expired_arbitrum_mainnet_event_name__PreviousOrderExpired.cc80b83dc0", "type": "test"}, "2864": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_market_id.50b3ee03b6", "type": "test"}, "2865": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_mainnet_market_id__True__0.50cedb6de2", "type": "test"}, "2866": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_account_id.df728b2bac", "type": "test"}, "2867": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_mainnet_account_id__True__0.a2d2b55a91", "type": "test"}, "2868": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_id.3bd0f3d2d9", "type": "test"}, "2869": {"name": "test.synthetix.unique_fct_perp_trades_arbitrum_mainnet_id.29f0434c59", "type": "test"}, "2870": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_ts.c39afc4c8d", "type": "test"}, "2871": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_block_number.807093ef77", "type": "test"}, "2872": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_transaction_hash.a7dc1c891e", "type": "test"}, "2873": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_contract.e863c3d409", "type": "test"}, "2874": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_market_id.275abd4f63", "type": "test"}, "2875": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_market_id__True__0.dd858e7f52", "type": "test"}, "2876": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_market_symbol.05579e6d46", "type": "test"}, "2877": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_account_id.274635cb66", "type": "test"}, "2878": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_fill_price.847633eed2", "type": "test"}, "2879": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_fill_price__True__0.b4690264a9", "type": "test"}, "2880": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_pnl.bb3e615b15", "type": "test"}, "2881": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_accrued_funding.e2b22e7a98", "type": "test"}, "2882": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_trade_size.efdcfaa24a", "type": "test"}, "2883": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_position_size.8743b9c748", "type": "test"}, "2884": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_total_fees.0e39e8937a", "type": "test"}, "2885": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_total_fees__True__0.bef50610ba", "type": "test"}, "2886": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_referral_fees.b455bc01d4", "type": "test"}, "2887": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_referral_fees__True__0.5946ca9ce5", "type": "test"}, "2888": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_collected_fees.fbad83d394", "type": "test"}, "2889": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_collected_fees__True__0.c8bdde7489", "type": "test"}, "2890": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_settlement_reward.ec16701449", "type": "test"}, "2891": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_settlement_reward__True__0.299618787f", "type": "test"}, "2892": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_tracking_code.6303cba6ee", "type": "test"}, "2893": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_settler.d03b352e12", "type": "test"}, "2894": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_notional_trade_size.49f8c11789", "type": "test"}, "2895": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_notional_position_size.c2b276cedf", "type": "test"}, "2896": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_lp_fees.3bd17eb55d", "type": "test"}, "2897": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_lp_fees__True__0.cfa7ced563", "type": "test"}, "2898": {"name": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_exchange_fees.e8aecd715b", "type": "test"}, "2899": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_exchange_fees__True__0.1168a18bba", "type": "test"}, "2900": {"name": "test.synthetix.not_null_fct_perp_pnl_arbitrum_mainnet_ts.8937da4ac3", "type": "test"}, "2901": {"name": "test.synthetix.not_null_fct_perp_pnl_arbitrum_mainnet_market_id.1e2f5a44a2", "type": "test"}, "2902": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_arbitrum_mainnet_market_id__True__0.15bda011aa", "type": "test"}, "2903": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_id.eb02f38d46", "type": "test"}, "2904": {"name": "test.synthetix.unique_fct_perp_orders_arbitrum_mainnet_id.3401408181", "type": "test"}, "2905": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_ts.d648991a22", "type": "test"}, "2906": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_block_number.05c57da469", "type": "test"}, "2907": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_transaction_hash.4c9cc1f193", "type": "test"}, "2908": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_contract.2596358bd7", "type": "test"}, "2909": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_market_id.75f215459c", "type": "test"}, "2910": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_arbitrum_mainnet_market_id__True__0.7169e0715a", "type": "test"}, "2911": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_market_symbol.342ec0cea2", "type": "test"}, "2912": {"name": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_account_id.a2871e6bfb", "type": "test"}, "2913": {"name": "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_id.8bc5d0147f", "type": "test"}, "2914": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_arbitrum_mainnet_id__True__0.1cff4e3aae", "type": "test"}, "2915": {"name": "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_created_ts.5210e0d803", "type": "test"}, "2916": {"name": "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_block_number.9856206ec2", "type": "test"}, "2917": {"name": "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_market_symbol.052367dc06", "type": "test"}, "2918": {"name": "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_market_name.6d1107f677", "type": "test"}, "2919": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_id.fdcfccc679", "type": "test"}, "2920": {"name": "test.synthetix.unique_fct_perp_market_history_arbitrum_mainnet_id.11e7761caf", "type": "test"}, "2921": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_ts.f6e4cf43c2", "type": "test"}, "2922": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_block_number.4407a64f68", "type": "test"}, "2923": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_transaction_hash.0042d0c047", "type": "test"}, "2924": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_market_id.4c307477e3", "type": "test"}, "2925": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_market_id__True__0.452a079160", "type": "test"}, "2926": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_market_symbol.3407a99980", "type": "test"}, "2927": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_price.635e086bf6", "type": "test"}, "2928": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_skew.94faa11b6a", "type": "test"}, "2929": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_size.4965a5f759", "type": "test"}, "2930": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_size_delta.5897f74730", "type": "test"}, "2931": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate.00d146aa60", "type": "test"}, "2932": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_funding_velocity.0034a07e10", "type": "test"}, "2933": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_interest_rate.b77ee8c1d7", "type": "test"}, "2934": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate_apr.dc965a3dac", "type": "test"}, "2935": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_long_rate_apr.191d4fa205", "type": "test"}, "2936": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_short_rate_apr.dd6356d7e2", "type": "test"}, "2937": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_prev_size.0805987de2", "type": "test"}, "2938": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_prev_size__True__0.657d61124b", "type": "test"}, "2939": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_market_oi_usd.1d8435e3b9", "type": "test"}, "2940": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_market_oi_usd__True__0.33391fd010", "type": "test"}, "2941": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_total_oi_usd.f4bb65156b", "type": "test"}, "2942": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_total_oi_usd__True__0.881c6264fb", "type": "test"}, "2943": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_long_oi.2a11207857", "type": "test"}, "2944": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_long_oi__True__0.c93200775a", "type": "test"}, "2945": {"name": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_short_oi.0ee3418a1f", "type": "test"}, "2946": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_short_oi__True__0.171377e6f1", "type": "test"}, "2947": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_id.6af85cf47e", "type": "test"}, "2948": {"name": "test.synthetix.unique_fct_perp_liq_position_arbitrum_mainnet_id.5f3f730218", "type": "test"}, "2949": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_ts.13c0b178ce", "type": "test"}, "2950": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_block_number.672be13921", "type": "test"}, "2951": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_transaction_hash.bf753f09f5", "type": "test"}, "2952": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_account_id.350ca71f93", "type": "test"}, "2953": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_market_id.4c0b30687e", "type": "test"}, "2954": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_market_id__True__0.09a7367d21", "type": "test"}, "2955": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_market_symbol.578192ed1c", "type": "test"}, "2956": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_amount_liquidated.0a4e2e6c10", "type": "test"}, "2957": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_amount_liquidated__True__0.e71d50fb97", "type": "test"}, "2958": {"name": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_position_size.83889235bc", "type": "test"}, "2959": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_position_size__True__0.838f737304", "type": "test"}, "2960": {"name": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_mainnet_account_id.68826803be", "type": "test"}, "2961": {"name": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_mainnet_ts.3e5e9ca92a", "type": "test"}, "2962": {"name": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_mainnet_total_reward.59cc57cac9", "type": "test"}, "2963": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_arbitrum_mainnet_total_reward__True__0.2126781091", "type": "test"}, "2964": {"name": "test.synthetix.not_null_fct_perp_accounts_arbitrum_mainnet_id.81f17d5942", "type": "test"}, "2965": {"name": "test.synthetix.unique_fct_perp_accounts_arbitrum_mainnet_id.b814c43956", "type": "test"}, "2966": {"name": "test.synthetix.not_null_fct_perp_accounts_arbitrum_mainnet_created_ts.093f33990b", "type": "test"}, "2967": {"name": "test.synthetix.not_null_fct_perp_accounts_arbitrum_mainnet_owner.d6529405d8", "type": "test"}, "2968": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_ts.766783dff7", "type": "test"}, "2969": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_transaction_hash.1444f820b5", "type": "test"}, "2970": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_collateral_id.9d63381e5b", "type": "test"}, "2971": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_synth_token_address.fc366d34b3", "type": "test"}, "2972": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_synth_symbol.61c7da825c", "type": "test"}, "2973": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_event_type.c4d454fad0", "type": "test"}, "2974": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_amount_delta.fd722dec08", "type": "test"}, "2975": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_account_balance.11024ee382", "type": "test"}, "2976": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_mainnet_account_balance__True__0.dbab39a9b8", "type": "test"}, "2977": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_total_balance.71649f4230", "type": "test"}, "2978": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_mainnet_total_balance__True__0.812107bf6c", "type": "test"}, "2979": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_amount_delta_usd.87a9fb1df3", "type": "test"}, "2980": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_account_balance_usd.0d4c84db1a", "type": "test"}, "2981": {"name": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_total_balance_usd.f1c3169523", "type": "test"}, "2982": {"name": "test.synthetix.not_null_fct_core_account_activity_arbitrum_mainnet_block_timestamp.4a8634e95d", "type": "test"}, "2983": {"name": "test.synthetix.not_null_fct_core_account_activity_arbitrum_mainnet_account_action.5ab3d262bc", "type": "test"}, "2984": {"name": "test.synthetix.accepted_values_fct_core_account_activity_arbitrum_mainnet_account_action__Delegated__Withdrawn__Claimed.94c04e5ebf", "type": "test"}, "2985": {"name": "test.synthetix.not_null_fct_core_account_activity_arbitrum_mainnet_account_id.2e7d753ec3", "type": "test"}, "2986": {"name": "test.synthetix.not_null_fct_core_active_stakers_daily_arbitrum_mainnet_block_date.02ea5ddba6", "type": "test"}, "2987": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad", "type": "test"}, "2988": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8", "type": "test"}, "2989": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c", "type": "test"}, "2990": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b", "type": "test"}, "2991": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668", "type": "test"}, "2992": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb", "type": "test"}, "2993": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4", "type": "test"}, "2994": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66", "type": "test"}, "2995": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f", "type": "test"}, "2996": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3", "type": "test"}, "2997": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7", "type": "test"}, "2998": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925", "type": "test"}, "2999": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb", "type": "test"}, "3000": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd", "type": "test"}, "3001": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae", "type": "test"}, "3002": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304", "type": "test"}, "3003": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11", "type": "test"}, "3004": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b", "type": "test"}, "3005": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b", "type": "test"}, "3006": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226", "type": "test"}, "3007": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a", "type": "test"}, "3008": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a", "type": "test"}, "3009": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3", "type": "test"}, "3010": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8", "type": "test"}, "3011": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820", "type": "test"}, "3012": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e", "type": "test"}, "3013": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb", "type": "test"}, "3014": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d", "type": "test"}, "3015": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde", "type": "test"}, "3016": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1", "type": "test"}, "3017": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99", "type": "test"}, "3018": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b", "type": "test"}, "3019": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838", "type": "test"}, "3020": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08", "type": "test"}, "3021": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1", "type": "test"}, "3022": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428", "type": "test"}, "3023": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e", "type": "test"}, "3024": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7", "type": "test"}, "3025": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a", "type": "test"}, "3026": {"name": "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c", "type": "test"}, "3027": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e", "type": "test"}, "3028": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290", "type": "test"}, "3029": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0", "type": "test"}, "3030": {"name": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba", "type": "test"}, "3031": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf", "type": "test"}, "3032": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe", "type": "test"}, "3033": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4", "type": "test"}, "3034": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75", "type": "test"}, "3035": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece", "type": "test"}, "3036": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d", "type": "test"}, "3037": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3", "type": "test"}, "3038": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d", "type": "test"}, "3039": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24", "type": "test"}, "3040": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438", "type": "test"}, "3041": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194", "type": "test"}, "3042": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b", "type": "test"}, "3043": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa", "type": "test"}, "3044": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3", "type": "test"}, "3045": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d", "type": "test"}, "3046": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233", "type": "test"}, "3047": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156", "type": "test"}, "3048": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96", "type": "test"}, "3049": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c", "type": "test"}, "3050": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd", "type": "test"}, "3051": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31", "type": "test"}, "3052": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00", "type": "test"}, "3053": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c", "type": "test"}, "3054": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c", "type": "test"}, "3055": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e", "type": "test"}, "3056": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f", "type": "test"}, "3057": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba", "type": "test"}, "3058": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d", "type": "test"}, "3059": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577", "type": "test"}, "3060": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c", "type": "test"}, "3061": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17", "type": "test"}, "3062": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252", "type": "test"}, "3063": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3", "type": "test"}, "3064": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602", "type": "test"}, "3065": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771", "type": "test"}, "3066": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c", "type": "test"}, "3067": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af", "type": "test"}, "3068": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc", "type": "test"}, "3069": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168", "type": "test"}, "3070": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a", "type": "test"}, "3071": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899", "type": "test"}, "3072": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90", "type": "test"}, "3073": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268", "type": "test"}, "3074": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c", "type": "test"}, "3075": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b", "type": "test"}, "3076": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5", "type": "test"}, "3077": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3", "type": "test"}, "3078": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f", "type": "test"}, "3079": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4", "type": "test"}, "3080": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97", "type": "test"}, "3081": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34", "type": "test"}, "3082": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a", "type": "test"}, "3083": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1", "type": "test"}, "3084": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938", "type": "test"}, "3085": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1", "type": "test"}, "3086": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287", "type": "test"}, "3087": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d", "type": "test"}, "3088": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3", "type": "test"}, "3089": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e", "type": "test"}, "3090": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0", "type": "test"}, "3091": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712", "type": "test"}, "3092": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92", "type": "test"}, "3093": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32", "type": "test"}, "3094": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8", "type": "test"}, "3095": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098", "type": "test"}, "3096": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount.5d52c05b74", "type": "test"}, "3097": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount__True__0.c3b84fc77c", "type": "test"}, "3098": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3", "type": "test"}, "3099": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73", "type": "test"}, "3100": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d", "type": "test"}, "3101": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a", "type": "test"}, "3102": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c", "type": "test"}, "3103": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd", "type": "test"}, "3104": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404", "type": "test"}, "3105": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c", "type": "test"}, "3106": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278", "type": "test"}, "3107": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d", "type": "test"}, "3108": {"name": "test.synthetix.not_null_fct_core_account_activity_eth_mainnet_block_timestamp.cf7cc4679f", "type": "test"}, "3109": {"name": "test.synthetix.not_null_fct_core_account_activity_eth_mainnet_account_action.63906622b3", "type": "test"}, "3110": {"name": "test.synthetix.accepted_values_fct_core_account_activity_eth_mainnet_account_action__Delegated__Withdrawn__Claimed.8433626c68", "type": "test"}, "3111": {"name": "test.synthetix.not_null_fct_core_account_activity_eth_mainnet_account_id.5ca5cffa07", "type": "test"}, "3112": {"name": "test.synthetix.not_null_fct_core_active_stakers_daily_eth_mainnet_block_date.0984cf179c", "type": "test"}, "3113": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a", "type": "test"}, "3114": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c", "type": "test"}, "3115": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09", "type": "test"}, "3116": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa", "type": "test"}, "3117": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09", "type": "test"}, "3118": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781", "type": "test"}, "3119": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117", "type": "test"}, "3120": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd", "type": "test"}, "3121": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd", "type": "test"}, "3122": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe", "type": "test"}, "3123": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b", "type": "test"}, "3124": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b", "type": "test"}, "3125": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993", "type": "test"}, "3126": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8", "type": "test"}, "3127": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778", "type": "test"}, "3128": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f", "type": "test"}, "3129": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d", "type": "test"}, "3130": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b", "type": "test"}, "3131": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e", "type": "test"}, "3132": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47", "type": "test"}, "3133": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f", "type": "test"}, "3134": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622", "type": "test"}, "3135": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b", "type": "test"}, "3136": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b", "type": "test"}, "3137": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2", "type": "test"}, "3138": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4", "type": "test"}, "3139": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889", "type": "test"}, "3140": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5", "type": "test"}, "3141": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4", "type": "test"}, "3142": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2", "type": "test"}, "3143": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab", "type": "test"}, "3144": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64", "type": "test"}, "3145": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737", "type": "test"}, "3146": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e", "type": "test"}, "3147": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842", "type": "test"}, "3148": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13", "type": "test"}, "3149": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6", "type": "test"}, "3150": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a", "type": "test"}, "3151": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01", "type": "test"}, "3152": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615", "type": "test"}, "3153": {"name": "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9", "type": "test"}, "3154": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067", "type": "test"}, "3155": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e", "type": "test"}, "3156": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5", "type": "test"}, "3157": {"name": "test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249", "type": "test"}, "3158": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc", "type": "test"}, "3159": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3", "type": "test"}, "3160": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13", "type": "test"}, "3161": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021", "type": "test"}, "3162": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e", "type": "test"}, "3163": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69", "type": "test"}, "3164": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04", "type": "test"}, "3165": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420", "type": "test"}, "3166": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6", "type": "test"}, "3167": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a", "type": "test"}, "3168": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f", "type": "test"}, "3169": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696", "type": "test"}, "3170": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a", "type": "test"}, "3171": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca", "type": "test"}, "3172": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91", "type": "test"}, "3173": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7", "type": "test"}, "3174": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469", "type": "test"}, "3175": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75", "type": "test"}, "3176": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28", "type": "test"}, "3177": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd", "type": "test"}, "3178": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77", "type": "test"}, "3179": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd", "type": "test"}, "3180": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963", "type": "test"}, "3181": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1", "type": "test"}, "3182": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266", "type": "test"}, "3183": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e", "type": "test"}, "3184": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6", "type": "test"}, "3185": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55", "type": "test"}, "3186": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3", "type": "test"}, "3187": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981", "type": "test"}, "3188": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79", "type": "test"}, "3189": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838", "type": "test"}, "3190": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe", "type": "test"}, "3191": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954", "type": "test"}, "3192": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551", "type": "test"}, "3193": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7", "type": "test"}, "3194": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af", "type": "test"}, "3195": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8", "type": "test"}, "3196": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36", "type": "test"}, "3197": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f", "type": "test"}, "3198": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e", "type": "test"}, "3199": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191", "type": "test"}, "3200": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa", "type": "test"}, "3201": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19", "type": "test"}, "3202": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f", "type": "test"}, "3203": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24", "type": "test"}, "3204": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711", "type": "test"}, "3205": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5", "type": "test"}, "3206": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490", "type": "test"}, "3207": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7", "type": "test"}, "3208": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625", "type": "test"}, "3209": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f", "type": "test"}, "3210": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52", "type": "test"}, "3211": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16", "type": "test"}, "3212": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f", "type": "test"}, "3213": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb", "type": "test"}, "3214": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02", "type": "test"}, "3215": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9", "type": "test"}, "3216": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515", "type": "test"}, "3217": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db", "type": "test"}, "3218": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6", "type": "test"}, "3219": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a", "type": "test"}, "3220": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12", "type": "test"}, "3221": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba", "type": "test"}, "3222": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf", "type": "test"}, "3223": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03", "type": "test"}, "3224": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c", "type": "test"}, "3225": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc", "type": "test"}, "3226": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f", "type": "test"}, "3227": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab", "type": "test"}, "3228": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846", "type": "test"}, "3229": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4", "type": "test"}, "3230": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230", "type": "test"}, "3231": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b", "type": "test"}, "3232": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac", "type": "test"}, "3233": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0", "type": "test"}, "3234": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4", "type": "test"}, "3235": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e", "type": "test"}, "3236": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606", "type": "test"}, "3237": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d", "type": "test"}, "3238": {"name": "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c", "type": "test"}, "3239": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35", "type": "test"}, "3240": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1", "type": "test"}, "3241": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8", "type": "test"}, "3242": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb", "type": "test"}, "3243": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2", "type": "test"}, "3244": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0", "type": "test"}, "3245": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95", "type": "test"}, "3246": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1", "type": "test"}, "3247": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a", "type": "test"}, "3248": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5", "type": "test"}, "3249": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c", "type": "test"}, "3250": {"name": "test.synthetix.not_null_lt_trades_optimism_mainnet_nominal_volume.1457e0bfa7", "type": "test"}, "3251": {"name": "test.synthetix.dbt_utils_accepted_range_lt_trades_optimism_mainnet_nominal_volume__True__0.252acc70e0", "type": "test"}, "3252": {"name": "test.synthetix.not_null_lt_trades_optimism_mainnet_notional_volume.e496cf1276", "type": "test"}, "3253": {"name": "test.synthetix.dbt_utils_accepted_range_lt_trades_optimism_mainnet_notional_volume__True__0.8f5624e879", "type": "test"}, "3254": {"name": "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5", "type": "test"}, "3255": {"name": "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b", "type": "test"}, "3256": {"name": "test.synthetix.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a", "type": "test"}, "3257": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff", "type": "test"}, "3258": {"name": "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084", "type": "test"}, "3259": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_event_name.438812a0d2", "type": "test"}, "3260": {"name": "test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c", "type": "test"}, "3261": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19", "type": "test"}, "3262": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4", "type": "test"}, "3263": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647", "type": "test"}, "3264": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779", "type": "test"}, "3265": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5", "type": "test"}, "3266": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700", "type": "test"}, "3267": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85", "type": "test"}, "3268": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855", "type": "test"}, "3269": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a", "type": "test"}, "3270": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19", "type": "test"}, "3271": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef", "type": "test"}, "3272": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2", "type": "test"}, "3273": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9", "type": "test"}, "3274": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda", "type": "test"}, "3275": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d", "type": "test"}, "3276": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49", "type": "test"}, "3277": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f", "type": "test"}, "3278": {"name": "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657", "type": "test"}, "3279": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_order_type.aba0efecf9", "type": "test"}, "3280": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745", "type": "test"}, "3281": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc", "type": "test"}, "3282": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042", "type": "test"}, "3283": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee", "type": "test"}, "3284": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a", "type": "test"}, "3285": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19", "type": "test"}, "3286": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b", "type": "test"}, "3287": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab", "type": "test"}, "3288": {"name": "test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4", "type": "test"}, "3289": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929", "type": "test"}, "3290": {"name": "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64", "type": "test"}, "3291": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_timestamp.fa9df55b40", "type": "test"}, "3292": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b", "type": "test"}, "3293": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e", "type": "test"}, "3294": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f", "type": "test"}, "3295": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098", "type": "test"}, "3296": {"name": "test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4", "type": "test"}, "3297": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008", "type": "test"}, "3298": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d", "type": "test"}, "3299": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c", "type": "test"}, "3300": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4", "type": "test"}, "3301": {"name": "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592", "type": "test"}, "3302": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_timestamp.79c2f95be5", "type": "test"}, "3303": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b", "type": "test"}, "3304": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b", "type": "test"}, "3305": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d", "type": "test"}, "3306": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624", "type": "test"}, "3307": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c", "type": "test"}, "3308": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566", "type": "test"}, "3309": {"name": "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92", "type": "test"}, "3310": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf", "type": "test"}, "3311": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609", "type": "test"}, "3312": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a", "type": "test"}, "3313": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e", "type": "test"}, "3314": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367", "type": "test"}, "3315": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3", "type": "test"}, "3316": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668", "type": "test"}, "3317": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718", "type": "test"}, "3318": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903", "type": "test"}, "3319": {"name": "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c", "type": "test"}, "3320": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_price.d27790b16d", "type": "test"}, "3321": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee", "type": "test"}, "3322": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c", "type": "test"}, "3323": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09", "type": "test"}, "3324": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344", "type": "test"}, "3325": {"name": "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413", "type": "test"}, "3326": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262", "type": "test"}, "3327": {"name": "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87", "type": "test"}, "3328": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1", "type": "test"}, "3329": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0", "type": "test"}, "3330": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2", "type": "test"}, "3331": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff", "type": "test"}, "3332": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16", "type": "test"}, "3333": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528", "type": "test"}, "3334": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40", "type": "test"}, "3335": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea", "type": "test"}, "3336": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778", "type": "test"}, "3337": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7", "type": "test"}, "3338": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205", "type": "test"}, "3339": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781", "type": "test"}, "3340": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070", "type": "test"}, "3341": {"name": "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f", "type": "test"}, "3342": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_contract.8d370e2248", "type": "test"}, "3343": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af", "type": "test"}, "3344": {"name": "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a", "type": "test"}, "3345": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_transaction_hash.7672de0496", "type": "test"}, "3346": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648", "type": "test"}, "3347": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58", "type": "test"}, "3348": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372", "type": "test"}, "3349": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da", "type": "test"}, "3350": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f", "type": "test"}, "3351": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8", "type": "test"}, "3352": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157", "type": "test"}, "3353": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85", "type": "test"}, "3354": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe", "type": "test"}, "3355": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2", "type": "test"}, "3356": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007", "type": "test"}, "3357": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9", "type": "test"}, "3358": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521", "type": "test"}, "3359": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6", "type": "test"}, "3360": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7", "type": "test"}, "3361": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e", "type": "test"}, "3362": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe", "type": "test"}, "3363": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc", "type": "test"}, "3364": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3", "type": "test"}, "3365": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5", "type": "test"}, "3366": {"name": "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5", "type": "test"}, "3367": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f", "type": "test"}, "3368": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab", "type": "test"}, "3369": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2", "type": "test"}, "3370": {"name": "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e", "type": "test"}, "3371": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7", "type": "test"}, "3372": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33", "type": "test"}, "3373": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b", "type": "test"}, "3374": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2", "type": "test"}, "3375": {"name": "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222", "type": "test"}, "3376": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734", "type": "test"}, "3377": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021", "type": "test"}, "3378": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7", "type": "test"}, "3379": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b", "type": "test"}, "3380": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed", "type": "test"}, "3381": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f", "type": "test"}, "3382": {"name": "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315", "type": "test"}, "3383": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642", "type": "test"}, "3384": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_event_name.d7deee96b5", "type": "test"}, "3385": {"name": "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c", "type": "test"}, "3386": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627", "type": "test"}, "3387": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc", "type": "test"}, "3388": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c", "type": "test"}, "3389": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab", "type": "test"}, "3390": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f", "type": "test"}, "3391": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb", "type": "test"}, "3392": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344", "type": "test"}, "3393": {"name": "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af", "type": "test"}, "3394": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258", "type": "test"}, "3395": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d", "type": "test"}, "3396": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c", "type": "test"}, "3397": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146", "type": "test"}, "3398": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df", "type": "test"}, "3399": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1", "type": "test"}, "3400": {"name": "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d", "type": "test"}, "3401": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec", "type": "test"}, "3402": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83", "type": "test"}, "3403": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0", "type": "test"}, "3404": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf", "type": "test"}, "3405": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd", "type": "test"}, "3406": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53", "type": "test"}, "3407": {"name": "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd", "type": "test"}, "3408": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484", "type": "test"}, "3409": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933", "type": "test"}, "3410": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b", "type": "test"}, "3411": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06", "type": "test"}, "3412": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6", "type": "test"}, "3413": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da", "type": "test"}, "3414": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103", "type": "test"}, "3415": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529", "type": "test"}, "3416": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf", "type": "test"}, "3417": {"name": "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1", "type": "test"}, "3418": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964", "type": "test"}, "3419": {"name": "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094", "type": "test"}, "3420": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3", "type": "test"}, "3421": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9", "type": "test"}, "3422": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1", "type": "test"}, "3423": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f", "type": "test"}, "3424": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958", "type": "test"}, "3425": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29", "type": "test"}, "3426": {"name": "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6", "type": "test"}, "3427": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c", "type": "test"}, "3428": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6", "type": "test"}, "3429": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3", "type": "test"}, "3430": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f", "type": "test"}, "3431": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a", "type": "test"}, "3432": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6", "type": "test"}, "3433": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b", "type": "test"}, "3434": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90", "type": "test"}, "3435": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5", "type": "test"}, "3436": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027", "type": "test"}, "3437": {"name": "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6", "type": "test"}, "3438": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114", "type": "test"}, "3439": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627", "type": "test"}, "3440": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb", "type": "test"}, "3441": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717", "type": "test"}, "3442": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50", "type": "test"}, "3443": {"name": "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2", "type": "test"}, "3444": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674", "type": "test"}, "3445": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1", "type": "test"}, "3446": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b", "type": "test"}, "3447": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700", "type": "test"}, "3448": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b", "type": "test"}, "3449": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b", "type": "test"}, "3450": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8", "type": "test"}, "3451": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474", "type": "test"}, "3452": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802", "type": "test"}, "3453": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028", "type": "test"}, "3454": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087", "type": "test"}, "3455": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182", "type": "test"}, "3456": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602", "type": "test"}, "3457": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d", "type": "test"}, "3458": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4", "type": "test"}, "3459": {"name": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd", "type": "test"}, "3460": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9", "type": "test"}, "3461": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926", "type": "test"}, "3462": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833", "type": "test"}, "3463": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90", "type": "test"}, "3464": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35", "type": "test"}, "3465": {"name": "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f", "type": "test"}, "3466": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783", "type": "test"}, "3467": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd", "type": "test"}, "3468": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec", "type": "test"}, "3469": {"name": "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926", "type": "test"}, "3470": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13", "type": "test"}, "3471": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794", "type": "test"}, "3472": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6", "type": "test"}, "3473": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e", "type": "test"}, "3474": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417", "type": "test"}, "3475": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796", "type": "test"}, "3476": {"name": "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7", "type": "test"}, "3477": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364", "type": "test"}, "3478": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b", "type": "test"}, "3479": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426", "type": "test"}, "3480": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98", "type": "test"}, "3481": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd", "type": "test"}, "3482": {"name": "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b", "type": "test"}, "3483": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc", "type": "test"}, "3484": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7", "type": "test"}, "3485": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601", "type": "test"}, "3486": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080", "type": "test"}, "3487": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c", "type": "test"}, "3488": {"name": "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3", "type": "test"}, "3489": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50", "type": "test"}, "3490": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19", "type": "test"}, "3491": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d", "type": "test"}, "3492": {"name": "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0", "type": "test"}, "3493": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f", "type": "test"}, "3494": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9", "type": "test"}, "3495": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca", "type": "test"}, "3496": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46", "type": "test"}, "3497": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5", "type": "test"}, "3498": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949", "type": "test"}, "3499": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38", "type": "test"}, "3500": {"name": "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72", "type": "test"}, "3501": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b", "type": "test"}, "3502": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93", "type": "test"}, "3503": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9", "type": "test"}, "3504": {"name": "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d", "type": "test"}, "3505": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503", "type": "test"}, "3506": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80", "type": "test"}, "3507": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af", "type": "test"}, "3508": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71", "type": "test"}, "3509": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb", "type": "test"}, "3510": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446", "type": "test"}, "3511": {"name": "test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3", "type": "test"}, "3512": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535", "type": "test"}, "3513": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd", "type": "test"}, "3514": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661", "type": "test"}, "3515": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a", "type": "test"}, "3516": {"name": "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a", "type": "test"}, "3517": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7", "type": "test"}, "3518": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c", "type": "test"}, "3519": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580", "type": "test"}, "3520": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17", "type": "test"}, "3521": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04", "type": "test"}, "3522": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793", "type": "test"}, "3523": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171", "type": "test"}, "3524": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8", "type": "test"}, "3525": {"name": "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87", "type": "test"}, "3526": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_transaction_hash.53f2200f19", "type": "test"}, "3527": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc", "type": "test"}, "3528": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427", "type": "test"}, "3529": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e", "type": "test"}, "3530": {"name": "test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4", "type": "test"}, "3531": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e", "type": "test"}, "3532": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb", "type": "test"}, "3533": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380", "type": "test"}, "3534": {"name": "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a", "type": "test"}, "3535": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_account_id.eeaa67ead3", "type": "test"}, "3536": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1", "type": "test"}, "3537": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54", "type": "test"}, "3538": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725", "type": "test"}, "3539": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3", "type": "test"}, "3540": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc", "type": "test"}, "3541": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d", "type": "test"}, "3542": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b", "type": "test"}, "3543": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da", "type": "test"}, "3544": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948", "type": "test"}, "3545": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0", "type": "test"}, "3546": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57", "type": "test"}, "3547": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb", "type": "test"}, "3548": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa", "type": "test"}, "3549": {"name": "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2", "type": "test"}, "3550": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb", "type": "test"}, "3551": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f", "type": "test"}, "3552": {"name": "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da", "type": "test"}, "3553": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_contract.8dbc5afa3f", "type": "test"}, "3554": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970", "type": "test"}, "3555": {"name": "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139", "type": "test"}, "3556": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84", "type": "test"}, "3557": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62", "type": "test"}, "3558": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60", "type": "test"}, "3559": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d", "type": "test"}, "3560": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e", "type": "test"}, "3561": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf", "type": "test"}, "3562": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896", "type": "test"}, "3563": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b", "type": "test"}, "3564": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645", "type": "test"}, "3565": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5", "type": "test"}, "3566": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3", "type": "test"}, "3567": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a", "type": "test"}, "3568": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95", "type": "test"}, "3569": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701", "type": "test"}, "3570": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245", "type": "test"}, "3571": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c", "type": "test"}, "3572": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b", "type": "test"}, "3573": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd", "type": "test"}, "3574": {"name": "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff", "type": "test"}, "3575": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_sender.935071b6a7", "type": "test"}, "3576": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de", "type": "test"}, "3577": {"name": "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6", "type": "test"}, "3578": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9", "type": "test"}, "3579": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd", "type": "test"}, "3580": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018", "type": "test"}, "3581": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58", "type": "test"}, "3582": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78", "type": "test"}, "3583": {"name": "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c", "type": "test"}, "3584": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_contract.2d1b4b38d4", "type": "test"}, "3585": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c", "type": "test"}, "3586": {"name": "test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1", "type": "test"}, "3587": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b", "type": "test"}, "3588": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d", "type": "test"}, "3589": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5", "type": "test"}, "3590": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8", "type": "test"}, "3591": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775", "type": "test"}, "3592": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6", "type": "test"}, "3593": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05", "type": "test"}, "3594": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862", "type": "test"}, "3595": {"name": "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77", "type": "test"}, "3596": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_block_timestamp.66be40faea", "type": "test"}, "3597": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c", "type": "test"}, "3598": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23", "type": "test"}, "3599": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed", "type": "test"}, "3600": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841", "type": "test"}, "3601": {"name": "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea", "type": "test"}, "3602": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24", "type": "test"}, "3603": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200", "type": "test"}, "3604": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059", "type": "test"}, "3605": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782", "type": "test"}, "3606": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64", "type": "test"}, "3607": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd", "type": "test"}, "3608": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284", "type": "test"}, "3609": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1", "type": "test"}, "3610": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772", "type": "test"}, "3611": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847", "type": "test"}, "3612": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8", "type": "test"}, "3613": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf", "type": "test"}, "3614": {"name": "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a", "type": "test"}, "3615": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520", "type": "test"}, "3616": {"name": "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec", "type": "test"}, "3617": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_block_timestamp.209ede7f48", "type": "test"}, "3618": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc", "type": "test"}, "3619": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d", "type": "test"}, "3620": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c", "type": "test"}, "3621": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf", "type": "test"}, "3622": {"name": "test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b", "type": "test"}, "3623": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301", "type": "test"}, "3624": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86", "type": "test"}, "3625": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd", "type": "test"}, "3626": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6", "type": "test"}, "3627": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808", "type": "test"}, "3628": {"name": "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3", "type": "test"}, "3629": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_block_number.094a784336", "type": "test"}, "3630": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49", "type": "test"}, "3631": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf", "type": "test"}, "3632": {"name": "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3", "type": "test"}, "3633": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a", "type": "test"}, "3634": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd", "type": "test"}, "3635": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d", "type": "test"}, "3636": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f", "type": "test"}, "3637": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750", "type": "test"}, "3638": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961", "type": "test"}, "3639": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622", "type": "test"}, "3640": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4", "type": "test"}, "3641": {"name": "test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab", "type": "test"}, "3642": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014", "type": "test"}, "3643": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c", "type": "test"}, "3644": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2", "type": "test"}, "3645": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd", "type": "test"}, "3646": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82", "type": "test"}, "3647": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4", "type": "test"}, "3648": {"name": "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb", "type": "test"}, "3649": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_pool_id.e61695fb4f", "type": "test"}, "3650": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0", "type": "test"}, "3651": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42", "type": "test"}, "3652": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a", "type": "test"}, "3653": {"name": "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9", "type": "test"}, "3654": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_event_name.e3a18ecd0c", "type": "test"}, "3655": {"name": "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762", "type": "test"}, "3656": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c", "type": "test"}, "3657": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8", "type": "test"}, "3658": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b", "type": "test"}, "3659": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac", "type": "test"}, "3660": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555", "type": "test"}, "3661": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463", "type": "test"}, "3662": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75", "type": "test"}, "3663": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383", "type": "test"}, "3664": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf", "type": "test"}, "3665": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144", "type": "test"}, "3666": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b", "type": "test"}, "3667": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907", "type": "test"}, "3668": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790", "type": "test"}, "3669": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6", "type": "test"}, "3670": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5", "type": "test"}, "3671": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629", "type": "test"}, "3672": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb", "type": "test"}, "3673": {"name": "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd", "type": "test"}, "3674": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2", "type": "test"}, "3675": {"name": "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835", "type": "test"}, "3676": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_number.9acf3a65f4", "type": "test"}, "3677": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212", "type": "test"}, "3678": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6", "type": "test"}, "3679": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2", "type": "test"}, "3680": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce", "type": "test"}, "3681": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92", "type": "test"}, "3682": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1", "type": "test"}, "3683": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43", "type": "test"}, "3684": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee", "type": "test"}, "3685": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695", "type": "test"}, "3686": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7", "type": "test"}, "3687": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7", "type": "test"}, "3688": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd", "type": "test"}, "3689": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711", "type": "test"}, "3690": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce", "type": "test"}, "3691": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc", "type": "test"}, "3692": {"name": "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e", "type": "test"}, "3693": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_sender.5053739593", "type": "test"}, "3694": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3", "type": "test"}, "3695": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2", "type": "test"}, "3696": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84", "type": "test"}, "3697": {"name": "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af", "type": "test"}, "3698": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572", "type": "test"}, "3699": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472", "type": "test"}, "3700": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd", "type": "test"}, "3701": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8", "type": "test"}, "3702": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735", "type": "test"}, "3703": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab", "type": "test"}, "3704": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6", "type": "test"}, "3705": {"name": "test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de", "type": "test"}, "3706": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5", "type": "test"}, "3707": {"name": "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5", "type": "test"}, "3708": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348", "type": "test"}, "3709": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3", "type": "test"}, "3710": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e", "type": "test"}, "3711": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337", "type": "test"}, "3712": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4", "type": "test"}, "3713": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c", "type": "test"}, "3714": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7", "type": "test"}, "3715": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2", "type": "test"}, "3716": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf", "type": "test"}, "3717": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2", "type": "test"}, "3718": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a", "type": "test"}, "3719": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99", "type": "test"}, "3720": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0", "type": "test"}, "3721": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3", "type": "test"}, "3722": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22", "type": "test"}, "3723": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f", "type": "test"}, "3724": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b", "type": "test"}, "3725": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5", "type": "test"}, "3726": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96", "type": "test"}, "3727": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c", "type": "test"}, "3728": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc", "type": "test"}, "3729": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3", "type": "test"}, "3730": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f", "type": "test"}, "3731": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d", "type": "test"}, "3732": {"name": "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "type": "test"}, "3733": {"name": "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40", "type": "test"}, "3734": {"name": "test.synthetix.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2", "type": "test"}, "3735": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12", "type": "test"}, "3736": {"name": "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1", "type": "test"}, "3737": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_event_name.dc08478d35", "type": "test"}, "3738": {"name": "test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b", "type": "test"}, "3739": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6", "type": "test"}, "3740": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e", "type": "test"}, "3741": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c", "type": "test"}, "3742": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6", "type": "test"}, "3743": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95", "type": "test"}, "3744": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d", "type": "test"}, "3745": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2", "type": "test"}, "3746": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce", "type": "test"}, "3747": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8", "type": "test"}, "3748": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782", "type": "test"}, "3749": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472", "type": "test"}, "3750": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad", "type": "test"}, "3751": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529", "type": "test"}, "3752": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c", "type": "test"}, "3753": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c", "type": "test"}, "3754": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2", "type": "test"}, "3755": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9", "type": "test"}, "3756": {"name": "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6", "type": "test"}, "3757": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_order_type.0e7f500a0a", "type": "test"}, "3758": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9", "type": "test"}, "3759": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1", "type": "test"}, "3760": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9", "type": "test"}, "3761": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200", "type": "test"}, "3762": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d", "type": "test"}, "3763": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401", "type": "test"}, "3764": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890", "type": "test"}, "3765": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6", "type": "test"}, "3766": {"name": "test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577", "type": "test"}, "3767": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2", "type": "test"}, "3768": {"name": "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c", "type": "test"}, "3769": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_timestamp.81016bb88f", "type": "test"}, "3770": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0", "type": "test"}, "3771": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1", "type": "test"}, "3772": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add", "type": "test"}, "3773": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef", "type": "test"}, "3774": {"name": "test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec", "type": "test"}, "3775": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5", "type": "test"}, "3776": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3", "type": "test"}, "3777": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87", "type": "test"}, "3778": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761", "type": "test"}, "3779": {"name": "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d", "type": "test"}, "3780": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_timestamp.9fcd6d9ec6", "type": "test"}, "3781": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33", "type": "test"}, "3782": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62", "type": "test"}, "3783": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb", "type": "test"}, "3784": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9", "type": "test"}, "3785": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a", "type": "test"}, "3786": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d", "type": "test"}, "3787": {"name": "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2", "type": "test"}, "3788": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0", "type": "test"}, "3789": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7", "type": "test"}, "3790": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a", "type": "test"}, "3791": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09", "type": "test"}, "3792": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4", "type": "test"}, "3793": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf", "type": "test"}, "3794": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef", "type": "test"}, "3795": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413", "type": "test"}, "3796": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962", "type": "test"}, "3797": {"name": "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae", "type": "test"}, "3798": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_price.f59f9c339a", "type": "test"}, "3799": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240", "type": "test"}, "3800": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160", "type": "test"}, "3801": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c", "type": "test"}, "3802": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d", "type": "test"}, "3803": {"name": "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0", "type": "test"}, "3804": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc", "type": "test"}, "3805": {"name": "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed", "type": "test"}, "3806": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c", "type": "test"}, "3807": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea", "type": "test"}, "3808": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854", "type": "test"}, "3809": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130", "type": "test"}, "3810": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be", "type": "test"}, "3811": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52", "type": "test"}, "3812": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb", "type": "test"}, "3813": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd", "type": "test"}, "3814": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2", "type": "test"}, "3815": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1", "type": "test"}, "3816": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d", "type": "test"}, "3817": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c", "type": "test"}, "3818": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62", "type": "test"}, "3819": {"name": "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a", "type": "test"}, "3820": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_contract.46ddd59981", "type": "test"}, "3821": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d", "type": "test"}, "3822": {"name": "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae", "type": "test"}, "3823": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_transaction_hash.9cbd57629d", "type": "test"}, "3824": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f", "type": "test"}, "3825": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf", "type": "test"}, "3826": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b", "type": "test"}, "3827": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b", "type": "test"}, "3828": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb", "type": "test"}, "3829": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0", "type": "test"}, "3830": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1", "type": "test"}, "3831": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9", "type": "test"}, "3832": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd", "type": "test"}, "3833": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c", "type": "test"}, "3834": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b", "type": "test"}, "3835": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2", "type": "test"}, "3836": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369", "type": "test"}, "3837": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389", "type": "test"}, "3838": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471", "type": "test"}, "3839": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e", "type": "test"}, "3840": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea", "type": "test"}, "3841": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d", "type": "test"}, "3842": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa", "type": "test"}, "3843": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96", "type": "test"}, "3844": {"name": "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b", "type": "test"}, "3845": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b", "type": "test"}, "3846": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38", "type": "test"}, "3847": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13", "type": "test"}, "3848": {"name": "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8", "type": "test"}, "3849": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70", "type": "test"}, "3850": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e", "type": "test"}, "3851": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159", "type": "test"}, "3852": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0", "type": "test"}, "3853": {"name": "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df", "type": "test"}, "3854": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3", "type": "test"}, "3855": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3", "type": "test"}, "3856": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea", "type": "test"}, "3857": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419", "type": "test"}, "3858": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9", "type": "test"}, "3859": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4", "type": "test"}, "3860": {"name": "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023", "type": "test"}, "3861": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e", "type": "test"}, "3862": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_event_name.0ab1553ed8", "type": "test"}, "3863": {"name": "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d", "type": "test"}, "3864": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3", "type": "test"}, "3865": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a", "type": "test"}, "3866": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221", "type": "test"}, "3867": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3", "type": "test"}, "3868": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de", "type": "test"}, "3869": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381", "type": "test"}, "3870": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c", "type": "test"}, "3871": {"name": "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f", "type": "test"}, "3872": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9", "type": "test"}, "3873": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16", "type": "test"}, "3874": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc", "type": "test"}, "3875": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20", "type": "test"}, "3876": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9", "type": "test"}, "3877": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749", "type": "test"}, "3878": {"name": "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3", "type": "test"}, "3879": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e", "type": "test"}, "3880": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003", "type": "test"}, "3881": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4", "type": "test"}, "3882": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012", "type": "test"}, "3883": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971", "type": "test"}, "3884": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6", "type": "test"}, "3885": {"name": "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624", "type": "test"}, "3886": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23", "type": "test"}, "3887": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0", "type": "test"}, "3888": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570", "type": "test"}, "3889": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87", "type": "test"}, "3890": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde", "type": "test"}, "3891": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41", "type": "test"}, "3892": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0", "type": "test"}, "3893": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40", "type": "test"}, "3894": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635", "type": "test"}, "3895": {"name": "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b", "type": "test"}, "3896": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece", "type": "test"}, "3897": {"name": "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f", "type": "test"}, "3898": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12", "type": "test"}, "3899": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_number.3088915c67", "type": "test"}, "3900": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6", "type": "test"}, "3901": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5", "type": "test"}, "3902": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3", "type": "test"}, "3903": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef", "type": "test"}, "3904": {"name": "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c", "type": "test"}, "3905": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b", "type": "test"}, "3906": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b", "type": "test"}, "3907": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5", "type": "test"}, "3908": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736", "type": "test"}, "3909": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389", "type": "test"}, "3910": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2", "type": "test"}, "3911": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370", "type": "test"}, "3912": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd", "type": "test"}, "3913": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e", "type": "test"}, "3914": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f", "type": "test"}, "3915": {"name": "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143", "type": "test"}, "3916": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62", "type": "test"}, "3917": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db", "type": "test"}, "3918": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b", "type": "test"}, "3919": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311", "type": "test"}, "3920": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34", "type": "test"}, "3921": {"name": "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb", "type": "test"}, "3922": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d", "type": "test"}, "3923": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103", "type": "test"}, "3924": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d", "type": "test"}, "3925": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca", "type": "test"}, "3926": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7", "type": "test"}, "3927": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246", "type": "test"}, "3928": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b", "type": "test"}, "3929": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259", "type": "test"}, "3930": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e", "type": "test"}, "3931": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f", "type": "test"}, "3932": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96", "type": "test"}, "3933": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec", "type": "test"}, "3934": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf", "type": "test"}, "3935": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83", "type": "test"}, "3936": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793", "type": "test"}, "3937": {"name": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c", "type": "test"}, "3938": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6", "type": "test"}, "3939": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881", "type": "test"}, "3940": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26", "type": "test"}, "3941": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863", "type": "test"}, "3942": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe", "type": "test"}, "3943": {"name": "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75", "type": "test"}, "3944": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231", "type": "test"}, "3945": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af", "type": "test"}, "3946": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d", "type": "test"}, "3947": {"name": "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794", "type": "test"}, "3948": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b", "type": "test"}, "3949": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee", "type": "test"}, "3950": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af", "type": "test"}, "3951": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd", "type": "test"}, "3952": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b", "type": "test"}, "3953": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93", "type": "test"}, "3954": {"name": "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f", "type": "test"}, "3955": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda", "type": "test"}, "3956": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9", "type": "test"}, "3957": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251", "type": "test"}, "3958": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de", "type": "test"}, "3959": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c", "type": "test"}, "3960": {"name": "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038", "type": "test"}, "3961": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c", "type": "test"}, "3962": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435", "type": "test"}, "3963": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09", "type": "test"}, "3964": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76", "type": "test"}, "3965": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996", "type": "test"}, "3966": {"name": "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46", "type": "test"}, "3967": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821", "type": "test"}, "3968": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544", "type": "test"}, "3969": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404", "type": "test"}, "3970": {"name": "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f", "type": "test"}, "3971": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec", "type": "test"}, "3972": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f", "type": "test"}, "3973": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012", "type": "test"}, "3974": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66", "type": "test"}, "3975": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2", "type": "test"}, "3976": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981", "type": "test"}, "3977": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c", "type": "test"}, "3978": {"name": "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b", "type": "test"}, "3979": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5", "type": "test"}, "3980": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b", "type": "test"}, "3981": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0", "type": "test"}, "3982": {"name": "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38", "type": "test"}, "3983": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3", "type": "test"}, "3984": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3", "type": "test"}, "3985": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9", "type": "test"}, "3986": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479", "type": "test"}, "3987": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669", "type": "test"}, "3988": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd", "type": "test"}, "3989": {"name": "test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e", "type": "test"}, "3990": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856", "type": "test"}, "3991": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356", "type": "test"}, "3992": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36", "type": "test"}, "3993": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694", "type": "test"}, "3994": {"name": "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671", "type": "test"}, "3995": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f", "type": "test"}, "3996": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad", "type": "test"}, "3997": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024", "type": "test"}, "3998": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece", "type": "test"}, "3999": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f", "type": "test"}, "4000": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab", "type": "test"}, "4001": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1", "type": "test"}, "4002": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb", "type": "test"}, "4003": {"name": "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1", "type": "test"}, "4004": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_transaction_hash.21cf6568c1", "type": "test"}, "4005": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14", "type": "test"}, "4006": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809", "type": "test"}, "4007": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917", "type": "test"}, "4008": {"name": "test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241", "type": "test"}, "4009": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf", "type": "test"}, "4010": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056", "type": "test"}, "4011": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef", "type": "test"}, "4012": {"name": "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2", "type": "test"}, "4013": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_account_id.d54eaa7e33", "type": "test"}, "4014": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3", "type": "test"}, "4015": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c", "type": "test"}, "4016": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf", "type": "test"}, "4017": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214", "type": "test"}, "4018": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed", "type": "test"}, "4019": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475", "type": "test"}, "4020": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578", "type": "test"}, "4021": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617", "type": "test"}, "4022": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc", "type": "test"}, "4023": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646", "type": "test"}, "4024": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a", "type": "test"}, "4025": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f", "type": "test"}, "4026": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b", "type": "test"}, "4027": {"name": "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b", "type": "test"}, "4028": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685", "type": "test"}, "4029": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51", "type": "test"}, "4030": {"name": "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337", "type": "test"}, "4031": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_contract.6e9ec1150a", "type": "test"}, "4032": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55", "type": "test"}, "4033": {"name": "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032", "type": "test"}, "4034": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d", "type": "test"}, "4035": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0", "type": "test"}, "4036": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124", "type": "test"}, "4037": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456", "type": "test"}, "4038": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc", "type": "test"}, "4039": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26", "type": "test"}, "4040": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d", "type": "test"}, "4041": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55", "type": "test"}, "4042": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210", "type": "test"}, "4043": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92", "type": "test"}, "4044": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3", "type": "test"}, "4045": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a", "type": "test"}, "4046": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba", "type": "test"}, "4047": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82", "type": "test"}, "4048": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738", "type": "test"}, "4049": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c", "type": "test"}, "4050": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841", "type": "test"}, "4051": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d", "type": "test"}, "4052": {"name": "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786", "type": "test"}, "4053": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_sender.2f5cf91bdf", "type": "test"}, "4054": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b", "type": "test"}, "4055": {"name": "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297", "type": "test"}, "4056": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7", "type": "test"}, "4057": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964", "type": "test"}, "4058": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8", "type": "test"}, "4059": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af", "type": "test"}, "4060": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70", "type": "test"}, "4061": {"name": "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff", "type": "test"}, "4062": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_contract.cb2b40daff", "type": "test"}, "4063": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4", "type": "test"}, "4064": {"name": "test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa", "type": "test"}, "4065": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846", "type": "test"}, "4066": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76", "type": "test"}, "4067": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47", "type": "test"}, "4068": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04", "type": "test"}, "4069": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81", "type": "test"}, "4070": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162", "type": "test"}, "4071": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9", "type": "test"}, "4072": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54", "type": "test"}, "4073": {"name": "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48", "type": "test"}, "4074": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_block_timestamp.648a5f6e8c", "type": "test"}, "4075": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7", "type": "test"}, "4076": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d", "type": "test"}, "4077": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f", "type": "test"}, "4078": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967", "type": "test"}, "4079": {"name": "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5", "type": "test"}, "4080": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356", "type": "test"}, "4081": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7", "type": "test"}, "4082": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568", "type": "test"}, "4083": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb", "type": "test"}, "4084": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1", "type": "test"}, "4085": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208", "type": "test"}, "4086": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4", "type": "test"}, "4087": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd", "type": "test"}, "4088": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d", "type": "test"}, "4089": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68", "type": "test"}, "4090": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7", "type": "test"}, "4091": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc", "type": "test"}, "4092": {"name": "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671", "type": "test"}, "4093": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad", "type": "test"}, "4094": {"name": "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb", "type": "test"}, "4095": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_block_timestamp.41726ce377", "type": "test"}, "4096": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b", "type": "test"}, "4097": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9", "type": "test"}, "4098": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58", "type": "test"}, "4099": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf", "type": "test"}, "4100": {"name": "test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7", "type": "test"}, "4101": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6", "type": "test"}, "4102": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8", "type": "test"}, "4103": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7", "type": "test"}, "4104": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912", "type": "test"}, "4105": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee", "type": "test"}, "4106": {"name": "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629", "type": "test"}, "4107": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_block_number.8ef3c64233", "type": "test"}, "4108": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff", "type": "test"}, "4109": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455", "type": "test"}, "4110": {"name": "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964", "type": "test"}, "4111": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e", "type": "test"}, "4112": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661", "type": "test"}, "4113": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc", "type": "test"}, "4114": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5", "type": "test"}, "4115": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9", "type": "test"}, "4116": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec", "type": "test"}, "4117": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20", "type": "test"}, "4118": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22", "type": "test"}, "4119": {"name": "test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd", "type": "test"}, "4120": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac", "type": "test"}, "4121": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737", "type": "test"}, "4122": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c", "type": "test"}, "4123": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6", "type": "test"}, "4124": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d", "type": "test"}, "4125": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae", "type": "test"}, "4126": {"name": "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7", "type": "test"}, "4127": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_pool_id.28e40cfefe", "type": "test"}, "4128": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1", "type": "test"}, "4129": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293", "type": "test"}, "4130": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043", "type": "test"}, "4131": {"name": "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f", "type": "test"}, "4132": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_event_name.16811bbe2c", "type": "test"}, "4133": {"name": "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed", "type": "test"}, "4134": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a", "type": "test"}, "4135": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110", "type": "test"}, "4136": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a", "type": "test"}, "4137": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013", "type": "test"}, "4138": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3", "type": "test"}, "4139": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec", "type": "test"}, "4140": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6", "type": "test"}, "4141": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436", "type": "test"}, "4142": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3", "type": "test"}, "4143": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b", "type": "test"}, "4144": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc", "type": "test"}, "4145": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26", "type": "test"}, "4146": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35", "type": "test"}, "4147": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9", "type": "test"}, "4148": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6", "type": "test"}, "4149": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a", "type": "test"}, "4150": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc", "type": "test"}, "4151": {"name": "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616", "type": "test"}, "4152": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f", "type": "test"}, "4153": {"name": "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682", "type": "test"}, "4154": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_number.6f683bcb34", "type": "test"}, "4155": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613", "type": "test"}, "4156": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133", "type": "test"}, "4157": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc", "type": "test"}, "4158": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5", "type": "test"}, "4159": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5", "type": "test"}, "4160": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e", "type": "test"}, "4161": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95", "type": "test"}, "4162": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465", "type": "test"}, "4163": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9", "type": "test"}, "4164": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd", "type": "test"}, "4165": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe", "type": "test"}, "4166": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca", "type": "test"}, "4167": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e", "type": "test"}, "4168": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc", "type": "test"}, "4169": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c", "type": "test"}, "4170": {"name": "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45", "type": "test"}, "4171": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_sender.363a1c6bc9", "type": "test"}, "4172": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64", "type": "test"}, "4173": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1", "type": "test"}, "4174": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a", "type": "test"}, "4175": {"name": "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8", "type": "test"}, "4176": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24", "type": "test"}, "4177": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17", "type": "test"}, "4178": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6", "type": "test"}, "4179": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5", "type": "test"}, "4180": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad", "type": "test"}, "4181": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6", "type": "test"}, "4182": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02", "type": "test"}, "4183": {"name": "test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925", "type": "test"}, "4184": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f", "type": "test"}, "4185": {"name": "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076", "type": "test"}, "4186": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589", "type": "test"}, "4187": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396", "type": "test"}, "4188": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186", "type": "test"}, "4189": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245", "type": "test"}, "4190": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762", "type": "test"}, "4191": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c", "type": "test"}, "4192": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a", "type": "test"}, "4193": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d", "type": "test"}, "4194": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095", "type": "test"}, "4195": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2", "type": "test"}, "4196": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114", "type": "test"}, "4197": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef", "type": "test"}, "4198": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9", "type": "test"}, "4199": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5", "type": "test"}, "4200": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59", "type": "test"}, "4201": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7", "type": "test"}, "4202": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d", "type": "test"}, "4203": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3", "type": "test"}, "4204": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322", "type": "test"}, "4205": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56", "type": "test"}, "4206": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f", "type": "test"}, "4207": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478", "type": "test"}, "4208": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4", "type": "test"}, "4209": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4", "type": "test"}, "4210": {"name": "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893", "type": "test"}, "4211": {"name": "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5", "type": "test"}, "4212": {"name": "test.synthetix.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874", "type": "test"}, "4213": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585", "type": "test"}, "4214": {"name": "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21", "type": "test"}, "4215": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_event_name.10fb9fe2fd", "type": "test"}, "4216": {"name": "test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2", "type": "test"}, "4217": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9", "type": "test"}, "4218": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14", "type": "test"}, "4219": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9", "type": "test"}, "4220": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60", "type": "test"}, "4221": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69", "type": "test"}, "4222": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f", "type": "test"}, "4223": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95", "type": "test"}, "4224": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce", "type": "test"}, "4225": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84", "type": "test"}, "4226": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638", "type": "test"}, "4227": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2", "type": "test"}, "4228": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5", "type": "test"}, "4229": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a", "type": "test"}, "4230": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6", "type": "test"}, "4231": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f", "type": "test"}, "4232": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8", "type": "test"}, "4233": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef", "type": "test"}, "4234": {"name": "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0", "type": "test"}, "4235": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_order_type.ce3ce512a2", "type": "test"}, "4236": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a", "type": "test"}, "4237": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106", "type": "test"}, "4238": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752", "type": "test"}, "4239": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d", "type": "test"}, "4240": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a", "type": "test"}, "4241": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8", "type": "test"}, "4242": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2", "type": "test"}, "4243": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12", "type": "test"}, "4244": {"name": "test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881", "type": "test"}, "4245": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154", "type": "test"}, "4246": {"name": "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854", "type": "test"}, "4247": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f", "type": "test"}, "4248": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e", "type": "test"}, "4249": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77", "type": "test"}, "4250": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1", "type": "test"}, "4251": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758", "type": "test"}, "4252": {"name": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292", "type": "test"}, "4253": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3", "type": "test"}, "4254": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a", "type": "test"}, "4255": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4", "type": "test"}, "4256": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918", "type": "test"}, "4257": {"name": "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92", "type": "test"}, "4258": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.8ad856419d", "type": "test"}, "4259": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a", "type": "test"}, "4260": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63", "type": "test"}, "4261": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf", "type": "test"}, "4262": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f", "type": "test"}, "4263": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48", "type": "test"}, "4264": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585", "type": "test"}, "4265": {"name": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2", "type": "test"}, "4266": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913", "type": "test"}, "4267": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf", "type": "test"}, "4268": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e", "type": "test"}, "4269": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476", "type": "test"}, "4270": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f", "type": "test"}, "4271": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1", "type": "test"}, "4272": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0", "type": "test"}, "4273": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258", "type": "test"}, "4274": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417", "type": "test"}, "4275": {"name": "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59", "type": "test"}, "4276": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_price.9dde4ea814", "type": "test"}, "4277": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7", "type": "test"}, "4278": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9", "type": "test"}, "4279": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686", "type": "test"}, "4280": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd", "type": "test"}, "4281": {"name": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd", "type": "test"}, "4282": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e", "type": "test"}, "4283": {"name": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237", "type": "test"}, "4284": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649", "type": "test"}, "4285": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc", "type": "test"}, "4286": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1", "type": "test"}, "4287": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78", "type": "test"}, "4288": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3", "type": "test"}, "4289": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f", "type": "test"}, "4290": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024", "type": "test"}, "4291": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c", "type": "test"}, "4292": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854", "type": "test"}, "4293": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785", "type": "test"}, "4294": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49", "type": "test"}, "4295": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e", "type": "test"}, "4296": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126", "type": "test"}, "4297": {"name": "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64", "type": "test"}, "4298": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_contract.d5f31e0816", "type": "test"}, "4299": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4", "type": "test"}, "4300": {"name": "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8", "type": "test"}, "4301": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a", "type": "test"}, "4302": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91", "type": "test"}, "4303": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78", "type": "test"}, "4304": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b", "type": "test"}, "4305": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c", "type": "test"}, "4306": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f", "type": "test"}, "4307": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857", "type": "test"}, "4308": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58", "type": "test"}, "4309": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20", "type": "test"}, "4310": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770", "type": "test"}, "4311": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1", "type": "test"}, "4312": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da", "type": "test"}, "4313": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854", "type": "test"}, "4314": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba", "type": "test"}, "4315": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27", "type": "test"}, "4316": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a", "type": "test"}, "4317": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd", "type": "test"}, "4318": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea", "type": "test"}, "4319": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737", "type": "test"}, "4320": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba", "type": "test"}, "4321": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78", "type": "test"}, "4322": {"name": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de", "type": "test"}, "4323": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893", "type": "test"}, "4324": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704", "type": "test"}, "4325": {"name": "test.synthetix.unique_perp_account_created_arbitrum_sepolia_id.335484a5c5", "type": "test"}, "4326": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_id.45c30d0895", "type": "test"}, "4327": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_event_name.7cdc353a34", "type": "test"}, "4328": {"name": "test.synthetix.accepted_values_perp_account_created_arbitrum_sepolia_event_name__AccountCreated.b75a805866", "type": "test"}, "4329": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_block_number.a0bf9a3f0f", "type": "test"}, "4330": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_block_timestamp.7330d8d33c", "type": "test"}, "4331": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_owner.0774b6c4c3", "type": "test"}, "4332": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_account_id.6a6774d721", "type": "test"}, "4333": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_created_arbitrum_sepolia_account_id__True__0.0141d8699d", "type": "test"}, "4334": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_transaction_hash.f4dba09d54", "type": "test"}, "4335": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_contract.fde67ea53e", "type": "test"}, "4336": {"name": "test.synthetix.unique_perp_order_committed_arbitrum_sepolia_id.11b844d761", "type": "test"}, "4337": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_id.af12508db9", "type": "test"}, "4338": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_block_number.a115d197bb", "type": "test"}, "4339": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_block_timestamp.e2dce83de3", "type": "test"}, "4340": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_transaction_hash.2672ca73bf", "type": "test"}, "4341": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_contract.f7f4678e01", "type": "test"}, "4342": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_event_name.8c94a5144a", "type": "test"}, "4343": {"name": "test.synthetix.accepted_values_perp_order_committed_arbitrum_sepolia_event_name__OrderCommitted.9ba89086fc", "type": "test"}, "4344": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_market_id.76f09344d3", "type": "test"}, "4345": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_sepolia_market_id__True__0.51034c57fd", "type": "test"}, "4346": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_account_id.539cca2995", "type": "test"}, "4347": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_sepolia_account_id__True__0.374a09c8bb", "type": "test"}, "4348": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_contract.f9fbebc768", "type": "test"}, "4349": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_event_name.c9e5a717f5", "type": "test"}, "4350": {"name": "test.synthetix.accepted_values_perp_order_settled_arbitrum_sepolia_event_name__OrderSettled.08d7370d84", "type": "test"}, "4351": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_account_id.e604936b3a", "type": "test"}, "4352": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_account_id__True__0.b532485142", "type": "test"}, "4353": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_market_id.456fcb9a8d", "type": "test"}, "4354": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_market_id__True__0.bfedab225b", "type": "test"}, "4355": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_collected_fees.c1a9ca82df", "type": "test"}, "4356": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_collected_fees__True__0.8c8446ac0e", "type": "test"}, "4357": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_transaction_hash.60c06595e6", "type": "test"}, "4358": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_block_timestamp.8460ed1771", "type": "test"}, "4359": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_block_number.7ab4260eae", "type": "test"}, "4360": {"name": "test.synthetix.unique_perp_order_settled_arbitrum_sepolia_id.a95bcce825", "type": "test"}, "4361": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_id.bbaf076398", "type": "test"}, "4362": {"name": "test.synthetix.unique_perp_market_updated_arbitrum_sepolia_id.66008e7961", "type": "test"}, "4363": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_id.3b2c812312", "type": "test"}, "4364": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_block_number.b556a7789f", "type": "test"}, "4365": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_block_timestamp.09877a4d82", "type": "test"}, "4366": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_transaction_hash.1c205dac4b", "type": "test"}, "4367": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_contract.0cf0f68ca0", "type": "test"}, "4368": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_event_name.ffc855a652", "type": "test"}, "4369": {"name": "test.synthetix.accepted_values_perp_market_updated_arbitrum_sepolia_event_name__MarketUpdated.44006a072f", "type": "test"}, "4370": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_market_id.9835cafd8a", "type": "test"}, "4371": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_market_id__True__0.0852877223", "type": "test"}, "4372": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_price.e62a84d2a0", "type": "test"}, "4373": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_price__True__0.e44ad44456", "type": "test"}, "4374": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_interest_rate.f378e28263", "type": "test"}, "4375": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_interest_rate__True__0.cf75ef25fe", "type": "test"}, "4376": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_account_id.8c9a3c7cb5", "type": "test"}, "4377": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_account_id__True__0.dd5e38b371", "type": "test"}, "4378": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_market_id.3c1a2d74dc", "type": "test"}, "4379": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_market_id__True__0.c1cfe90353", "type": "test"}, "4380": {"name": "test.synthetix.unique_perp_position_liquidated_arbitrum_sepolia_id.efb42ae977", "type": "test"}, "4381": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_id.2b7f1d2fcf", "type": "test"}, "4382": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_transaction_hash.ad296550e8", "type": "test"}, "4383": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_current_position_size.48d8db66c7", "type": "test"}, "4384": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_current_position_size__True__0.f5183b3ff9", "type": "test"}, "4385": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_event_name.b8b10783cf", "type": "test"}, "4386": {"name": "test.synthetix.accepted_values_perp_position_liquidated_arbitrum_sepolia_event_name__PositionLiquidated.8a0af4d18c", "type": "test"}, "4387": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_block_number.13ef61c2cc", "type": "test"}, "4388": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_amount_liquidated.2b3c4071f6", "type": "test"}, "4389": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_amount_liquidated__True__0.f820c88c54", "type": "test"}, "4390": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_contract.f6b0610ff4", "type": "test"}, "4391": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_block_timestamp.9c42b4a7ff", "type": "test"}, "4392": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_arbitrum_sepolia_id.2e20bbf35e", "type": "test"}, "4393": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_id.16e1d1d778", "type": "test"}, "4394": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_account_id.d617ede5c8", "type": "test"}, "4395": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_sepolia_account_id__True__0.911c056a18", "type": "test"}, "4396": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_block_number.14f09936e9", "type": "test"}, "4397": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_reward.22a482d5b4", "type": "test"}, "4398": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_sepolia_reward__True__0.70c89658c8", "type": "test"}, "4399": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_block_timestamp.070792744c", "type": "test"}, "4400": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_contract.4fee3320ac", "type": "test"}, "4401": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_event_name.531495d577", "type": "test"}, "4402": {"name": "test.synthetix.accepted_values_perp_account_liquidation_attempt_arbitrum_sepolia_event_name__AccountLiquidationAttempt.a9fed061a2", "type": "test"}, "4403": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_transaction_hash.e3f511ad1c", "type": "test"}, "4404": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_full_liquidation.06f23e5311", "type": "test"}, "4405": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_block_timestamp.04b9f9b01a", "type": "test"}, "4406": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_contract.ee416b6a9d", "type": "test"}, "4407": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_event_name.ce95828591", "type": "test"}, "4408": {"name": "test.synthetix.accepted_values_perp_collateral_modified_arbitrum_sepolia_event_name__CollateralModified.323c4011f3", "type": "test"}, "4409": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_block_number.c21551e453", "type": "test"}, "4410": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_collateral_id.49ab2aa3b1", "type": "test"}, "4411": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_sepolia_collateral_id__True__0.186c371865", "type": "test"}, "4412": {"name": "test.synthetix.unique_perp_collateral_modified_arbitrum_sepolia_id.21db106d40", "type": "test"}, "4413": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_id.f31b903360", "type": "test"}, "4414": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_sender.a1f5df03f5", "type": "test"}, "4415": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_account_id.c371b3cb29", "type": "test"}, "4416": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_sepolia_account_id__True__0.57dea412fc", "type": "test"}, "4417": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_transaction_hash.bdc432f4e3", "type": "test"}, "4418": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_block_timestamp.3d7306e577", "type": "test"}, "4419": {"name": "test.synthetix.unique_perp_previous_order_expired_arbitrum_sepolia_id.a6e03f8ffa", "type": "test"}, "4420": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_id.0d3172a155", "type": "test"}, "4421": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_block_number.1bfe765de5", "type": "test"}, "4422": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_market_id.7e2a2424c3", "type": "test"}, "4423": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_sepolia_market_id__True__0.32d6a1d4a7", "type": "test"}, "4424": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_event_name.c814e3bcf9", "type": "test"}, "4425": {"name": "test.synthetix.accepted_values_perp_previous_order_expired_arbitrum_sepolia_event_name__PreviousOrderExpired.2b0854c0bd", "type": "test"}, "4426": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_transaction_hash.5f4b3fa383", "type": "test"}, "4427": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_account_id.3387518ced", "type": "test"}, "4428": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_sepolia_account_id__True__0.a0e11cc082", "type": "test"}, "4429": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_contract.9dc88c3682", "type": "test"}, "4430": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_market_name.c93aa611fd", "type": "test"}, "4431": {"name": "test.synthetix.unique_perp_market_created_arbitrum_sepolia_id.bff5e22d8a", "type": "test"}, "4432": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_id.fad8f3147a", "type": "test"}, "4433": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_market_symbol.9afbd894dd", "type": "test"}, "4434": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_event_name.d7dd655280", "type": "test"}, "4435": {"name": "test.synthetix.accepted_values_perp_market_created_arbitrum_sepolia_event_name__MarketCreated.ef5c6685e4", "type": "test"}, "4436": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_block_number.8b50cb58ff", "type": "test"}, "4437": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_block_timestamp.22256d5ced", "type": "test"}, "4438": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_contract.dd490d10f1", "type": "test"}, "4439": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_perps_market_id.6c72e612a4", "type": "test"}, "4440": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_created_arbitrum_sepolia_perps_market_id__True__0.257f31ec2b", "type": "test"}, "4441": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_transaction_hash.0466ce137d", "type": "test"}, "4442": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_event_name.47398c58cd", "type": "test"}, "4443": {"name": "test.synthetix.accepted_values_perp_interest_charged_arbitrum_sepolia_event_name__InterestCharged.bec7912ee9", "type": "test"}, "4444": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_contract.7ba1d62fc1", "type": "test"}, "4445": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_transaction_hash.b7c3eef8f3", "type": "test"}, "4446": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_block_timestamp.9b89e6d1ae", "type": "test"}, "4447": {"name": "test.synthetix.unique_perp_interest_charged_arbitrum_sepolia_id.cba3f293a0", "type": "test"}, "4448": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_id.1c700fc86b", "type": "test"}, "4449": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_block_number.78e1c8865d", "type": "test"}, "4450": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_account_id.a1ec08f106", "type": "test"}, "4451": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_arbitrum_sepolia_account_id__True__0.cc700c2056", "type": "test"}, "4452": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_block_timestamp.b58ae2ae86", "type": "test"}, "4453": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_event_name.c050b16b14", "type": "test"}, "4454": {"name": "test.synthetix.accepted_values_perp_interest_rate_updated_arbitrum_sepolia_event_name__InterestRateUpdated.80b23fe264", "type": "test"}, "4455": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_transaction_hash.2ffe4c98dd", "type": "test"}, "4456": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_interest_rate.2aa5f0de8e", "type": "test"}, "4457": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_sepolia_interest_rate__True__0.4bdf5b571d", "type": "test"}, "4458": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_block_number.e587994ace", "type": "test"}, "4459": {"name": "test.synthetix.unique_perp_interest_rate_updated_arbitrum_sepolia_id.e47b087fd4", "type": "test"}, "4460": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_id.4c2bfc9fe7", "type": "test"}, "4461": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_contract.42f86c5d97", "type": "test"}, "4462": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_super_market_id.3b90bcba60", "type": "test"}, "4463": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_sepolia_super_market_id__True__0.04014a3a13", "type": "test"}, "4464": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481", "type": "test"}, "4465": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d", "type": "test"}, "4466": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f", "type": "test"}, "4467": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea", "type": "test"}, "4468": {"name": "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee", "type": "test"}, "4469": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_transaction_hash.59070c07aa", "type": "test"}, "4470": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb", "type": "test"}, "4471": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed", "type": "test"}, "4472": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc", "type": "test"}, "4473": {"name": "test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3", "type": "test"}, "4474": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf", "type": "test"}, "4475": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da", "type": "test"}, "4476": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85", "type": "test"}, "4477": {"name": "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010", "type": "test"}, "4478": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_account_id.689f7da996", "type": "test"}, "4479": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29", "type": "test"}, "4480": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80", "type": "test"}, "4481": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242", "type": "test"}, "4482": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a", "type": "test"}, "4483": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b", "type": "test"}, "4484": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433", "type": "test"}, "4485": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb", "type": "test"}, "4486": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e", "type": "test"}, "4487": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507", "type": "test"}, "4488": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155", "type": "test"}, "4489": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f", "type": "test"}, "4490": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f", "type": "test"}, "4491": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4", "type": "test"}, "4492": {"name": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476", "type": "test"}, "4493": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca", "type": "test"}, "4494": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3", "type": "test"}, "4495": {"name": "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e", "type": "test"}, "4496": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_contract.98776e9523", "type": "test"}, "4497": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b", "type": "test"}, "4498": {"name": "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890", "type": "test"}, "4499": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8", "type": "test"}, "4500": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2", "type": "test"}, "4501": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c", "type": "test"}, "4502": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1", "type": "test"}, "4503": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55", "type": "test"}, "4504": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e", "type": "test"}, "4505": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e", "type": "test"}, "4506": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236", "type": "test"}, "4507": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4", "type": "test"}, "4508": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5", "type": "test"}, "4509": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9", "type": "test"}, "4510": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0", "type": "test"}, "4511": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8", "type": "test"}, "4512": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6", "type": "test"}, "4513": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a", "type": "test"}, "4514": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0", "type": "test"}, "4515": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67", "type": "test"}, "4516": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b", "type": "test"}, "4517": {"name": "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510", "type": "test"}, "4518": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_sender.b2d53e6596", "type": "test"}, "4519": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d", "type": "test"}, "4520": {"name": "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2", "type": "test"}, "4521": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6", "type": "test"}, "4522": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579", "type": "test"}, "4523": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144", "type": "test"}, "4524": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c", "type": "test"}, "4525": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1", "type": "test"}, "4526": {"name": "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022", "type": "test"}, "4527": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_contract.b3848813ec", "type": "test"}, "4528": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5", "type": "test"}, "4529": {"name": "test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8", "type": "test"}, "4530": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69", "type": "test"}, "4531": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59", "type": "test"}, "4532": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a", "type": "test"}, "4533": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5", "type": "test"}, "4534": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f", "type": "test"}, "4535": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59", "type": "test"}, "4536": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe", "type": "test"}, "4537": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4", "type": "test"}, "4538": {"name": "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d", "type": "test"}, "4539": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a", "type": "test"}, "4540": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4", "type": "test"}, "4541": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319", "type": "test"}, "4542": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624", "type": "test"}, "4543": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491", "type": "test"}, "4544": {"name": "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344", "type": "test"}, "4545": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4", "type": "test"}, "4546": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861", "type": "test"}, "4547": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f", "type": "test"}, "4548": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205", "type": "test"}, "4549": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc", "type": "test"}, "4550": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2", "type": "test"}, "4551": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2", "type": "test"}, "4552": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21", "type": "test"}, "4553": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e", "type": "test"}, "4554": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4", "type": "test"}, "4555": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60", "type": "test"}, "4556": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0", "type": "test"}, "4557": {"name": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f", "type": "test"}, "4558": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2", "type": "test"}, "4559": {"name": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3", "type": "test"}, "4560": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23", "type": "test"}, "4561": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d", "type": "test"}, "4562": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035", "type": "test"}, "4563": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13", "type": "test"}, "4564": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82", "type": "test"}, "4565": {"name": "test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789", "type": "test"}, "4566": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a", "type": "test"}, "4567": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc", "type": "test"}, "4568": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5", "type": "test"}, "4569": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266", "type": "test"}, "4570": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861", "type": "test"}, "4571": {"name": "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0", "type": "test"}, "4572": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_number.28a66d0e74", "type": "test"}, "4573": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340", "type": "test"}, "4574": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626", "type": "test"}, "4575": {"name": "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685", "type": "test"}, "4576": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630", "type": "test"}, "4577": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94", "type": "test"}, "4578": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935", "type": "test"}, "4579": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c", "type": "test"}, "4580": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c", "type": "test"}, "4581": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd", "type": "test"}, "4582": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15", "type": "test"}, "4583": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61", "type": "test"}, "4584": {"name": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a", "type": "test"}, "4585": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac", "type": "test"}, "4586": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1", "type": "test"}, "4587": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e", "type": "test"}, "4588": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55", "type": "test"}, "4589": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33", "type": "test"}, "4590": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b", "type": "test"}, "4591": {"name": "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553", "type": "test"}, "4592": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.a883be69bc", "type": "test"}, "4593": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6", "type": "test"}, "4594": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806", "type": "test"}, "4595": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a", "type": "test"}, "4596": {"name": "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb", "type": "test"}, "4597": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_event_name.1803af1787", "type": "test"}, "4598": {"name": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6", "type": "test"}, "4599": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae", "type": "test"}, "4600": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7", "type": "test"}, "4601": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4", "type": "test"}, "4602": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf", "type": "test"}, "4603": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450", "type": "test"}, "4604": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e", "type": "test"}, "4605": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b", "type": "test"}, "4606": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996", "type": "test"}, "4607": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0", "type": "test"}, "4608": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4", "type": "test"}, "4609": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec", "type": "test"}, "4610": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c", "type": "test"}, "4611": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c", "type": "test"}, "4612": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429", "type": "test"}, "4613": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882", "type": "test"}, "4614": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9", "type": "test"}, "4615": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293", "type": "test"}, "4616": {"name": "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839", "type": "test"}, "4617": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478", "type": "test"}, "4618": {"name": "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4", "type": "test"}, "4619": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_number.a36a988eb1", "type": "test"}, "4620": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52", "type": "test"}, "4621": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9", "type": "test"}, "4622": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915", "type": "test"}, "4623": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b", "type": "test"}, "4624": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346", "type": "test"}, "4625": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5", "type": "test"}, "4626": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d", "type": "test"}, "4627": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06", "type": "test"}, "4628": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3", "type": "test"}, "4629": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288", "type": "test"}, "4630": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41", "type": "test"}, "4631": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59", "type": "test"}, "4632": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5", "type": "test"}, "4633": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432", "type": "test"}, "4634": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b", "type": "test"}, "4635": {"name": "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363", "type": "test"}, "4636": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_sender.b183e1c56f", "type": "test"}, "4637": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390", "type": "test"}, "4638": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936", "type": "test"}, "4639": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389", "type": "test"}, "4640": {"name": "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553", "type": "test"}, "4641": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd", "type": "test"}, "4642": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153", "type": "test"}, "4643": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a", "type": "test"}, "4644": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09", "type": "test"}, "4645": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4", "type": "test"}, "4646": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23", "type": "test"}, "4647": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec", "type": "test"}, "4648": {"name": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c", "type": "test"}, "4649": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0", "type": "test"}, "4650": {"name": "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad", "type": "test"}, "4651": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee", "type": "test"}, "4652": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f", "type": "test"}, "4653": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533", "type": "test"}, "4654": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6", "type": "test"}, "4655": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78", "type": "test"}, "4656": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28", "type": "test"}, "4657": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915", "type": "test"}, "4658": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f", "type": "test"}, "4659": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d", "type": "test"}, "4660": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701", "type": "test"}, "4661": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658", "type": "test"}, "4662": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f", "type": "test"}, "4663": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b", "type": "test"}, "4664": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b", "type": "test"}, "4665": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22", "type": "test"}, "4666": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616", "type": "test"}, "4667": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47", "type": "test"}, "4668": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83", "type": "test"}, "4669": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0", "type": "test"}, "4670": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067", "type": "test"}, "4671": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc", "type": "test"}, "4672": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7", "type": "test"}, "4673": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8", "type": "test"}, "4674": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad", "type": "test"}, "4675": {"name": "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d", "type": "test"}, "4676": {"name": "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923", "type": "test"}, "4677": {"name": "test.synthetix.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a", "type": "test"}, "4678": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c", "type": "test"}, "4679": {"name": "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f", "type": "test"}, "4680": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_event_name.364a2ed7fd", "type": "test"}, "4681": {"name": "test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3", "type": "test"}, "4682": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05", "type": "test"}, "4683": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66", "type": "test"}, "4684": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929", "type": "test"}, "4685": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652", "type": "test"}, "4686": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24", "type": "test"}, "4687": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75", "type": "test"}, "4688": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2", "type": "test"}, "4689": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6", "type": "test"}, "4690": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c", "type": "test"}, "4691": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd", "type": "test"}, "4692": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc", "type": "test"}, "4693": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819", "type": "test"}, "4694": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062", "type": "test"}, "4695": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282", "type": "test"}, "4696": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5", "type": "test"}, "4697": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21", "type": "test"}, "4698": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990", "type": "test"}, "4699": {"name": "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f", "type": "test"}, "4700": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_order_type.cc9846cfde", "type": "test"}, "4701": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249", "type": "test"}, "4702": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c", "type": "test"}, "4703": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68", "type": "test"}, "4704": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3", "type": "test"}, "4705": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e", "type": "test"}, "4706": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386", "type": "test"}, "4707": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77", "type": "test"}, "4708": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398", "type": "test"}, "4709": {"name": "test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e", "type": "test"}, "4710": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c", "type": "test"}, "4711": {"name": "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46", "type": "test"}, "4712": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b", "type": "test"}, "4713": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5", "type": "test"}, "4714": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3", "type": "test"}, "4715": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e", "type": "test"}, "4716": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180", "type": "test"}, "4717": {"name": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741", "type": "test"}, "4718": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158", "type": "test"}, "4719": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d", "type": "test"}, "4720": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00", "type": "test"}, "4721": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984", "type": "test"}, "4722": {"name": "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba", "type": "test"}, "4723": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.155e02a96a", "type": "test"}, "4724": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f", "type": "test"}, "4725": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4", "type": "test"}, "4726": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b", "type": "test"}, "4727": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6", "type": "test"}, "4728": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4", "type": "test"}, "4729": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336", "type": "test"}, "4730": {"name": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60", "type": "test"}, "4731": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291", "type": "test"}, "4732": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444", "type": "test"}, "4733": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6", "type": "test"}, "4734": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65", "type": "test"}, "4735": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586", "type": "test"}, "4736": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a", "type": "test"}, "4737": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2", "type": "test"}, "4738": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9", "type": "test"}, "4739": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e", "type": "test"}, "4740": {"name": "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e", "type": "test"}, "4741": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_price.b7069dc105", "type": "test"}, "4742": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a", "type": "test"}, "4743": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b", "type": "test"}, "4744": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5", "type": "test"}, "4745": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f", "type": "test"}, "4746": {"name": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e", "type": "test"}, "4747": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8", "type": "test"}, "4748": {"name": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3", "type": "test"}, "4749": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10", "type": "test"}, "4750": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2", "type": "test"}, "4751": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6", "type": "test"}, "4752": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff", "type": "test"}, "4753": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01", "type": "test"}, "4754": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca", "type": "test"}, "4755": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427", "type": "test"}, "4756": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f", "type": "test"}, "4757": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b", "type": "test"}, "4758": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d", "type": "test"}, "4759": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe", "type": "test"}, "4760": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae", "type": "test"}, "4761": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066", "type": "test"}, "4762": {"name": "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f", "type": "test"}, "4763": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_contract.7e747f7197", "type": "test"}, "4764": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab", "type": "test"}, "4765": {"name": "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed", "type": "test"}, "4766": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.470b375862", "type": "test"}, "4767": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf", "type": "test"}, "4768": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d", "type": "test"}, "4769": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63", "type": "test"}, "4770": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9", "type": "test"}, "4771": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f", "type": "test"}, "4772": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c", "type": "test"}, "4773": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586", "type": "test"}, "4774": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e", "type": "test"}, "4775": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042", "type": "test"}, "4776": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e", "type": "test"}, "4777": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461", "type": "test"}, "4778": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e", "type": "test"}, "4779": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c", "type": "test"}, "4780": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069", "type": "test"}, "4781": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e", "type": "test"}, "4782": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083", "type": "test"}, "4783": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b", "type": "test"}, "4784": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277", "type": "test"}, "4785": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9", "type": "test"}, "4786": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f", "type": "test"}, "4787": {"name": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1", "type": "test"}, "4788": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266", "type": "test"}, "4789": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e", "type": "test"}, "4790": {"name": "test.synthetix.unique_perp_account_created_arbitrum_mainnet_id.c50800d3e3", "type": "test"}, "4791": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_id.6ebc461a9f", "type": "test"}, "4792": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_event_name.9b0f514dfe", "type": "test"}, "4793": {"name": "test.synthetix.accepted_values_perp_account_created_arbitrum_mainnet_event_name__AccountCreated.e3b8716bf0", "type": "test"}, "4794": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_block_number.9d9960063c", "type": "test"}, "4795": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_block_timestamp.aa150ec309", "type": "test"}, "4796": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_owner.d496ae59c0", "type": "test"}, "4797": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_account_id.6064e6e85b", "type": "test"}, "4798": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_created_arbitrum_mainnet_account_id__True__0.976edf0951", "type": "test"}, "4799": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_transaction_hash.4458887a25", "type": "test"}, "4800": {"name": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_contract.afb3ec2b69", "type": "test"}, "4801": {"name": "test.synthetix.unique_perp_order_committed_arbitrum_mainnet_id.3373ae33a2", "type": "test"}, "4802": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_id.3d80312645", "type": "test"}, "4803": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_block_number.d86120fbb2", "type": "test"}, "4804": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_block_timestamp.9450bd7715", "type": "test"}, "4805": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_transaction_hash.4876108100", "type": "test"}, "4806": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_contract.4d5fe85c13", "type": "test"}, "4807": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_event_name.d96a04bc5b", "type": "test"}, "4808": {"name": "test.synthetix.accepted_values_perp_order_committed_arbitrum_mainnet_event_name__OrderCommitted.80f5b2af2f", "type": "test"}, "4809": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_market_id.c88a9b80a9", "type": "test"}, "4810": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_mainnet_market_id__True__0.d1559e05f3", "type": "test"}, "4811": {"name": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_account_id.51a7bcf136", "type": "test"}, "4812": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_mainnet_account_id__True__0.83d9cf1359", "type": "test"}, "4813": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_contract.deb2106eaa", "type": "test"}, "4814": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_event_name.606b4d8510", "type": "test"}, "4815": {"name": "test.synthetix.accepted_values_perp_order_settled_arbitrum_mainnet_event_name__OrderSettled.5e1793594f", "type": "test"}, "4816": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_account_id.5f60dea264", "type": "test"}, "4817": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_account_id__True__0.fcdc188551", "type": "test"}, "4818": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_market_id.793bf9835c", "type": "test"}, "4819": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_market_id__True__0.c52a7e4ed8", "type": "test"}, "4820": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_collected_fees.7370e63505", "type": "test"}, "4821": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_collected_fees__True__0.356b57ba59", "type": "test"}, "4822": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_transaction_hash.1344347ee5", "type": "test"}, "4823": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_block_timestamp.ae7ec6c8ef", "type": "test"}, "4824": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_block_number.6bb5256b7b", "type": "test"}, "4825": {"name": "test.synthetix.unique_perp_order_settled_arbitrum_mainnet_id.b9d03afd65", "type": "test"}, "4826": {"name": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_id.8d20cf26c1", "type": "test"}, "4827": {"name": "test.synthetix.unique_perp_market_updated_arbitrum_mainnet_id.ca2bc0e1a1", "type": "test"}, "4828": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_id.c3a83ad1d0", "type": "test"}, "4829": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_block_number.22032f5e3f", "type": "test"}, "4830": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_block_timestamp.c82304cd0d", "type": "test"}, "4831": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_transaction_hash.35ad1a325b", "type": "test"}, "4832": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_contract.ae7ff19df0", "type": "test"}, "4833": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_event_name.bbd9a88ac4", "type": "test"}, "4834": {"name": "test.synthetix.accepted_values_perp_market_updated_arbitrum_mainnet_event_name__MarketUpdated.8146a5947b", "type": "test"}, "4835": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_market_id.7a1df365b6", "type": "test"}, "4836": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_market_id__True__0.49bfd0ea1e", "type": "test"}, "4837": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_price.c754965f12", "type": "test"}, "4838": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_price__True__0.08ca8e4202", "type": "test"}, "4839": {"name": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_interest_rate.2f297e2d1a", "type": "test"}, "4840": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_interest_rate__True__0.6f303fc104", "type": "test"}, "4841": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_account_id.c6ae3fbdf6", "type": "test"}, "4842": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_account_id__True__0.913cfd25f2", "type": "test"}, "4843": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_market_id.f123e58c83", "type": "test"}, "4844": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_market_id__True__0.5138d00a1a", "type": "test"}, "4845": {"name": "test.synthetix.unique_perp_position_liquidated_arbitrum_mainnet_id.f231e459dd", "type": "test"}, "4846": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_id.1013d30960", "type": "test"}, "4847": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_transaction_hash.bc9ed917d3", "type": "test"}, "4848": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_current_position_size.2f7c9b0c99", "type": "test"}, "4849": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_current_position_size__True__0.1f4c66d819", "type": "test"}, "4850": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_event_name.badd34253b", "type": "test"}, "4851": {"name": "test.synthetix.accepted_values_perp_position_liquidated_arbitrum_mainnet_event_name__PositionLiquidated.0ec93e93c0", "type": "test"}, "4852": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_block_number.5467c2494c", "type": "test"}, "4853": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_amount_liquidated.85c1ba4ec8", "type": "test"}, "4854": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_amount_liquidated__True__0.284e66108e", "type": "test"}, "4855": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_contract.bde78fd4de", "type": "test"}, "4856": {"name": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_block_timestamp.2e92e4c30d", "type": "test"}, "4857": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_arbitrum_mainnet_id.36625245e5", "type": "test"}, "4858": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_id.3b273ee7cd", "type": "test"}, "4859": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_account_id.e5775f05d6", "type": "test"}, "4860": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_mainnet_account_id__True__0.69e5c1f239", "type": "test"}, "4861": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_block_number.cce38fccf5", "type": "test"}, "4862": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_reward.db84ec60c0", "type": "test"}, "4863": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_mainnet_reward__True__0.0687f26a19", "type": "test"}, "4864": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_block_timestamp.384d202b30", "type": "test"}, "4865": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_contract.34132d3a0f", "type": "test"}, "4866": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_event_name.03d3da6f51", "type": "test"}, "4867": {"name": "test.synthetix.accepted_values_perp_account_liquidation_attempt_arbitrum_mainnet_event_name__AccountLiquidationAttempt.d77be155b7", "type": "test"}, "4868": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_transaction_hash.8082a939fd", "type": "test"}, "4869": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_full_liquidation.bca773a7d2", "type": "test"}, "4870": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_block_timestamp.3959a198d9", "type": "test"}, "4871": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_contract.4c9655d0d7", "type": "test"}, "4872": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_event_name.e165b98af5", "type": "test"}, "4873": {"name": "test.synthetix.accepted_values_perp_collateral_modified_arbitrum_mainnet_event_name__CollateralModified.ce058b817d", "type": "test"}, "4874": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_block_number.553bfecd04", "type": "test"}, "4875": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_collateral_id.b111831174", "type": "test"}, "4876": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_mainnet_collateral_id__True__0.d504bf8da4", "type": "test"}, "4877": {"name": "test.synthetix.unique_perp_collateral_modified_arbitrum_mainnet_id.52f69df109", "type": "test"}, "4878": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_id.b7548d2e89", "type": "test"}, "4879": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_sender.8b5f369cc9", "type": "test"}, "4880": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_account_id.8fb1349af5", "type": "test"}, "4881": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_mainnet_account_id__True__0.f432eac521", "type": "test"}, "4882": {"name": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_transaction_hash.db6cc05c85", "type": "test"}, "4883": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_block_timestamp.62addf704c", "type": "test"}, "4884": {"name": "test.synthetix.unique_perp_previous_order_expired_arbitrum_mainnet_id.cd7a82db0e", "type": "test"}, "4885": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_id.ced9ec6a1d", "type": "test"}, "4886": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_block_number.c6957a09df", "type": "test"}, "4887": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_market_id.3161a33570", "type": "test"}, "4888": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_mainnet_market_id__True__0.148ea7d706", "type": "test"}, "4889": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_event_name.08acd6a68f", "type": "test"}, "4890": {"name": "test.synthetix.accepted_values_perp_previous_order_expired_arbitrum_mainnet_event_name__PreviousOrderExpired.d975ca95c5", "type": "test"}, "4891": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_transaction_hash.ccc5cbafcd", "type": "test"}, "4892": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_account_id.edc81bcacb", "type": "test"}, "4893": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_mainnet_account_id__True__0.865d3fe2e6", "type": "test"}, "4894": {"name": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_contract.f99120143b", "type": "test"}, "4895": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_market_name.b6c0825a0f", "type": "test"}, "4896": {"name": "test.synthetix.unique_perp_market_created_arbitrum_mainnet_id.ccdc9b7755", "type": "test"}, "4897": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_id.51befad80c", "type": "test"}, "4898": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_market_symbol.cac52e1baa", "type": "test"}, "4899": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_event_name.7c033fc995", "type": "test"}, "4900": {"name": "test.synthetix.accepted_values_perp_market_created_arbitrum_mainnet_event_name__MarketCreated.95d2e513a2", "type": "test"}, "4901": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_block_number.398ad31e3c", "type": "test"}, "4902": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_block_timestamp.30d302d69e", "type": "test"}, "4903": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_contract.21d3d73e97", "type": "test"}, "4904": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_perps_market_id.adbc877d76", "type": "test"}, "4905": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_created_arbitrum_mainnet_perps_market_id__True__0.48f88f8963", "type": "test"}, "4906": {"name": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_transaction_hash.486a46d989", "type": "test"}, "4907": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_event_name.a2ddfe6aab", "type": "test"}, "4908": {"name": "test.synthetix.accepted_values_perp_interest_charged_arbitrum_mainnet_event_name__InterestCharged.5bdeefd72e", "type": "test"}, "4909": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_contract.0558bb2329", "type": "test"}, "4910": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_transaction_hash.c6a422f072", "type": "test"}, "4911": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_block_timestamp.c72b9e433c", "type": "test"}, "4912": {"name": "test.synthetix.unique_perp_interest_charged_arbitrum_mainnet_id.25564fae9f", "type": "test"}, "4913": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_id.0336fb1845", "type": "test"}, "4914": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_block_number.0461f85304", "type": "test"}, "4915": {"name": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_account_id.0fea13802b", "type": "test"}, "4916": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_arbitrum_mainnet_account_id__True__0.7c883f5e3f", "type": "test"}, "4917": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_block_timestamp.b38866df62", "type": "test"}, "4918": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_event_name.527da57e0a", "type": "test"}, "4919": {"name": "test.synthetix.accepted_values_perp_interest_rate_updated_arbitrum_mainnet_event_name__InterestRateUpdated.e279adef88", "type": "test"}, "4920": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_transaction_hash.881fd09199", "type": "test"}, "4921": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_interest_rate.4a70cee831", "type": "test"}, "4922": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_mainnet_interest_rate__True__0.85f9532793", "type": "test"}, "4923": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_block_number.f1b7f275c8", "type": "test"}, "4924": {"name": "test.synthetix.unique_perp_interest_rate_updated_arbitrum_mainnet_id.c21a36f767", "type": "test"}, "4925": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_id.4d8f77e23f", "type": "test"}, "4926": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_contract.53bd3e715f", "type": "test"}, "4927": {"name": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_super_market_id.0209c885e1", "type": "test"}, "4928": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_mainnet_super_market_id__True__0.345c2bacf1", "type": "test"}, "4929": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e", "type": "test"}, "4930": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3", "type": "test"}, "4931": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13", "type": "test"}, "4932": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1", "type": "test"}, "4933": {"name": "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85", "type": "test"}, "4934": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_transaction_hash.ca429d274c", "type": "test"}, "4935": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6", "type": "test"}, "4936": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b", "type": "test"}, "4937": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8", "type": "test"}, "4938": {"name": "test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c", "type": "test"}, "4939": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59", "type": "test"}, "4940": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27", "type": "test"}, "4941": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1", "type": "test"}, "4942": {"name": "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917", "type": "test"}, "4943": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d", "type": "test"}, "4944": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871", "type": "test"}, "4945": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e", "type": "test"}, "4946": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c", "type": "test"}, "4947": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a", "type": "test"}, "4948": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07", "type": "test"}, "4949": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50", "type": "test"}, "4950": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919", "type": "test"}, "4951": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e", "type": "test"}, "4952": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7", "type": "test"}, "4953": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada", "type": "test"}, "4954": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca", "type": "test"}, "4955": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67", "type": "test"}, "4956": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9", "type": "test"}, "4957": {"name": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc", "type": "test"}, "4958": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97", "type": "test"}, "4959": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009", "type": "test"}, "4960": {"name": "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d", "type": "test"}, "4961": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_contract.a2cd7b2bb5", "type": "test"}, "4962": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40", "type": "test"}, "4963": {"name": "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c", "type": "test"}, "4964": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd", "type": "test"}, "4965": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5", "type": "test"}, "4966": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c", "type": "test"}, "4967": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7", "type": "test"}, "4968": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361", "type": "test"}, "4969": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b", "type": "test"}, "4970": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6", "type": "test"}, "4971": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474", "type": "test"}, "4972": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e", "type": "test"}, "4973": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3", "type": "test"}, "4974": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b", "type": "test"}, "4975": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608", "type": "test"}, "4976": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148", "type": "test"}, "4977": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09", "type": "test"}, "4978": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013", "type": "test"}, "4979": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875", "type": "test"}, "4980": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c", "type": "test"}, "4981": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073", "type": "test"}, "4982": {"name": "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d", "type": "test"}, "4983": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_sender.665f4ade6b", "type": "test"}, "4984": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880", "type": "test"}, "4985": {"name": "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14", "type": "test"}, "4986": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f", "type": "test"}, "4987": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f", "type": "test"}, "4988": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb", "type": "test"}, "4989": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404", "type": "test"}, "4990": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968", "type": "test"}, "4991": {"name": "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33", "type": "test"}, "4992": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_contract.b02df4336b", "type": "test"}, "4993": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99", "type": "test"}, "4994": {"name": "test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384", "type": "test"}, "4995": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d", "type": "test"}, "4996": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2", "type": "test"}, "4997": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003", "type": "test"}, "4998": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd", "type": "test"}, "4999": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db", "type": "test"}, "5000": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d", "type": "test"}, "5001": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899", "type": "test"}, "5002": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97", "type": "test"}, "5003": {"name": "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622", "type": "test"}, "5004": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_timestamp.2bd177f07f", "type": "test"}, "5005": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b", "type": "test"}, "5006": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b", "type": "test"}, "5007": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699", "type": "test"}, "5008": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560", "type": "test"}, "5009": {"name": "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129", "type": "test"}, "5010": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c", "type": "test"}, "5011": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147", "type": "test"}, "5012": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c", "type": "test"}, "5013": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f", "type": "test"}, "5014": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5", "type": "test"}, "5015": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275", "type": "test"}, "5016": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00", "type": "test"}, "5017": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d", "type": "test"}, "5018": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a", "type": "test"}, "5019": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b", "type": "test"}, "5020": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b", "type": "test"}, "5021": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010", "type": "test"}, "5022": {"name": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f", "type": "test"}, "5023": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a", "type": "test"}, "5024": {"name": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5", "type": "test"}, "5025": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17", "type": "test"}, "5026": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579", "type": "test"}, "5027": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571", "type": "test"}, "5028": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d", "type": "test"}, "5029": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631", "type": "test"}, "5030": {"name": "test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46", "type": "test"}, "5031": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9", "type": "test"}, "5032": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e", "type": "test"}, "5033": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404", "type": "test"}, "5034": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318", "type": "test"}, "5035": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d", "type": "test"}, "5036": {"name": "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902", "type": "test"}, "5037": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_number.184c04858e", "type": "test"}, "5038": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b", "type": "test"}, "5039": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae", "type": "test"}, "5040": {"name": "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd", "type": "test"}, "5041": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46", "type": "test"}, "5042": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570", "type": "test"}, "5043": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce", "type": "test"}, "5044": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4", "type": "test"}, "5045": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c", "type": "test"}, "5046": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db", "type": "test"}, "5047": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c", "type": "test"}, "5048": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f", "type": "test"}, "5049": {"name": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1", "type": "test"}, "5050": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0", "type": "test"}, "5051": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd", "type": "test"}, "5052": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7", "type": "test"}, "5053": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061", "type": "test"}, "5054": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac", "type": "test"}, "5055": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd", "type": "test"}, "5056": {"name": "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9", "type": "test"}, "5057": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.bd58480578", "type": "test"}, "5058": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b", "type": "test"}, "5059": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709", "type": "test"}, "5060": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff", "type": "test"}, "5061": {"name": "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd", "type": "test"}, "5062": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd", "type": "test"}, "5063": {"name": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359", "type": "test"}, "5064": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7", "type": "test"}, "5065": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6", "type": "test"}, "5066": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49", "type": "test"}, "5067": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde", "type": "test"}, "5068": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876", "type": "test"}, "5069": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114", "type": "test"}, "5070": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237", "type": "test"}, "5071": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51", "type": "test"}, "5072": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134", "type": "test"}, "5073": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5", "type": "test"}, "5074": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b", "type": "test"}, "5075": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9", "type": "test"}, "5076": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6", "type": "test"}, "5077": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6", "type": "test"}, "5078": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8", "type": "test"}, "5079": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6", "type": "test"}, "5080": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229", "type": "test"}, "5081": {"name": "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459", "type": "test"}, "5082": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d", "type": "test"}, "5083": {"name": "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf", "type": "test"}, "5084": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_number.9d57cfa9ee", "type": "test"}, "5085": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669", "type": "test"}, "5086": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd", "type": "test"}, "5087": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38", "type": "test"}, "5088": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90", "type": "test"}, "5089": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd", "type": "test"}, "5090": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9", "type": "test"}, "5091": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d", "type": "test"}, "5092": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd", "type": "test"}, "5093": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b", "type": "test"}, "5094": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc", "type": "test"}, "5095": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea", "type": "test"}, "5096": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70", "type": "test"}, "5097": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1", "type": "test"}, "5098": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5", "type": "test"}, "5099": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c", "type": "test"}, "5100": {"name": "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9", "type": "test"}, "5101": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_sender.829a4593b0", "type": "test"}, "5102": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0", "type": "test"}, "5103": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a", "type": "test"}, "5104": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80", "type": "test"}, "5105": {"name": "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7", "type": "test"}, "5106": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e", "type": "test"}, "5107": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1", "type": "test"}, "5108": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f", "type": "test"}, "5109": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed", "type": "test"}, "5110": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1", "type": "test"}, "5111": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb", "type": "test"}, "5112": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9", "type": "test"}, "5113": {"name": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118", "type": "test"}, "5114": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3", "type": "test"}, "5115": {"name": "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375", "type": "test"}, "5116": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa", "type": "test"}, "5117": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7", "type": "test"}, "5118": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd", "type": "test"}, "5119": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad", "type": "test"}, "5120": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f", "type": "test"}, "5121": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67", "type": "test"}, "5122": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2", "type": "test"}, "5123": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb", "type": "test"}, "5124": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2", "type": "test"}, "5125": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374", "type": "test"}, "5126": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3", "type": "test"}, "5127": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d", "type": "test"}, "5128": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31", "type": "test"}, "5129": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014", "type": "test"}, "5130": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a", "type": "test"}, "5131": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71", "type": "test"}, "5132": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc", "type": "test"}, "5133": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d", "type": "test"}, "5134": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45", "type": "test"}, "5135": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342", "type": "test"}, "5136": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9", "type": "test"}, "5137": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7", "type": "test"}, "5138": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43", "type": "test"}, "5139": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d", "type": "test"}, "5140": {"name": "test.synthetix.not_null_blocks_snax_mainnet_block_number.af5006826a", "type": "test"}, "5141": {"name": "test.synthetix.unique_blocks_snax_mainnet_block_number.305396795f", "type": "test"}, "5142": {"name": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_id.c54eaad82a", "type": "test"}, "5143": {"name": "test.synthetix.unique_spartan_vote_recorded_snax_mainnet_id.3a579d9ca6", "type": "test"}, "5144": {"name": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_event_name.f0e8e4e02b", "type": "test"}, "5145": {"name": "test.synthetix.accepted_values_spartan_vote_recorded_snax_mainnet_event_name__VoteRecorded.ca880b79ec", "type": "test"}, "5146": {"name": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_chain_id.838e4c7a7b", "type": "test"}, "5147": {"name": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_block_timestamp.bf4010dd91", "type": "test"}, "5148": {"name": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_voter.8b917cfb88", "type": "test"}, "5149": {"name": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_epoch_id.421abaf123", "type": "test"}, "5150": {"name": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_transaction_hash.f8b7b79d0d", "type": "test"}, "5151": {"name": "test.synthetix.unique_spartan_vote_recorded_snax_mainnet_transaction_hash.49632d745f", "type": "test"}, "5152": {"name": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_candidates.a620a4a121", "type": "test"}, "5153": {"name": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_block_number.74de43fe96", "type": "test"}, "5154": {"name": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_voting_power.289d3b2c0a", "type": "test"}, "5155": {"name": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_contract.2f2ea67860", "type": "test"}, "5156": {"name": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_id.c3b897a816", "type": "test"}, "5157": {"name": "test.synthetix.unique_spartan_vote_withdrawn_snax_mainnet_id.cd6cb96b4a", "type": "test"}, "5158": {"name": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_event_name.269927edcc", "type": "test"}, "5159": {"name": "test.synthetix.accepted_values_spartan_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn.108485caef", "type": "test"}, "5160": {"name": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_chain_id.d9d9b4234a", "type": "test"}, "5161": {"name": "test.synthetix.accepted_values_spartan_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161.8c40a37fe3", "type": "test"}, "5162": {"name": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_block_timestamp.ed575d0da2", "type": "test"}, "5163": {"name": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_voter.5532367fa9", "type": "test"}, "5164": {"name": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_epoch_id.d4f6724aef", "type": "test"}, "5165": {"name": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_transaction_hash.3da8fc32ef", "type": "test"}, "5166": {"name": "test.synthetix.unique_spartan_vote_withdrawn_snax_mainnet_transaction_hash.c04b524f41", "type": "test"}, "5167": {"name": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_block_number.8781742caa", "type": "test"}, "5168": {"name": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_contract.8eb7f37781", "type": "test"}, "5169": {"name": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_id.1f48bf1a21", "type": "test"}, "5170": {"name": "test.synthetix.unique_treasury_vote_recorded_snax_mainnet_id.d13b536538", "type": "test"}, "5171": {"name": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_event_name.2430cbaa6f", "type": "test"}, "5172": {"name": "test.synthetix.accepted_values_treasury_vote_recorded_snax_mainnet_event_name__VoteRecorded.e4a7517ef5", "type": "test"}, "5173": {"name": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_chain_id.8223f78907", "type": "test"}, "5174": {"name": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_block_timestamp.1db4ce563e", "type": "test"}, "5175": {"name": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_voter.7b36a4fa86", "type": "test"}, "5176": {"name": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_epoch_id.a59e309b31", "type": "test"}, "5177": {"name": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_transaction_hash.5851258e66", "type": "test"}, "5178": {"name": "test.synthetix.unique_treasury_vote_recorded_snax_mainnet_transaction_hash.9768cf1aa6", "type": "test"}, "5179": {"name": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_candidates.dee538820e", "type": "test"}, "5180": {"name": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_block_number.ece9a809a9", "type": "test"}, "5181": {"name": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_voting_power.fc033faf22", "type": "test"}, "5182": {"name": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_contract.c25d469610", "type": "test"}, "5183": {"name": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_id.ffce1d7680", "type": "test"}, "5184": {"name": "test.synthetix.unique_treasury_vote_withdrawn_snax_mainnet_id.cefaabe32f", "type": "test"}, "5185": {"name": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_event_name.3a8d12a41e", "type": "test"}, "5186": {"name": "test.synthetix.accepted_values_treasury_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn.d758312593", "type": "test"}, "5187": {"name": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_chain_id.1991832eba", "type": "test"}, "5188": {"name": "test.synthetix.accepted_values_treasury_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161.37c0ffb3f6", "type": "test"}, "5189": {"name": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_block_timestamp.dbe2a9ba3e", "type": "test"}, "5190": {"name": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_voter.b972eb7f34", "type": "test"}, "5191": {"name": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_epoch_id.6543be91bd", "type": "test"}, "5192": {"name": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_transaction_hash.12490c3827", "type": "test"}, "5193": {"name": "test.synthetix.unique_treasury_vote_withdrawn_snax_mainnet_transaction_hash.771718d1e2", "type": "test"}, "5194": {"name": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_block_number.271b1a17ba", "type": "test"}, "5195": {"name": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_contract.3e76561d2e", "type": "test"}, "5196": {"name": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_id.d4148bfa57", "type": "test"}, "5197": {"name": "test.synthetix.unique_ambassador_vote_recorded_snax_mainnet_id.2ee777df0a", "type": "test"}, "5198": {"name": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_event_name.8b77ef45f7", "type": "test"}, "5199": {"name": "test.synthetix.accepted_values_ambassador_vote_recorded_snax_mainnet_event_name__VoteRecorded.54d007d547", "type": "test"}, "5200": {"name": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_chain_id.15e179b253", "type": "test"}, "5201": {"name": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_block_timestamp.22fdffe044", "type": "test"}, "5202": {"name": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_voter.ab2df49992", "type": "test"}, "5203": {"name": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_epoch_id.85e943f65f", "type": "test"}, "5204": {"name": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_transaction_hash.d7fa881495", "type": "test"}, "5205": {"name": "test.synthetix.unique_ambassador_vote_recorded_snax_mainnet_transaction_hash.66af7027de", "type": "test"}, "5206": {"name": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_candidates.39a8d5dca6", "type": "test"}, "5207": {"name": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_block_number.463911c810", "type": "test"}, "5208": {"name": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_voting_power.94944f5709", "type": "test"}, "5209": {"name": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_contract.bcb9549b94", "type": "test"}, "5210": {"name": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_id.95a539d2e0", "type": "test"}, "5211": {"name": "test.synthetix.unique_ambassador_vote_withdrawn_snax_mainnet_id.3aa78e2ed2", "type": "test"}, "5212": {"name": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_event_name.5660482f61", "type": "test"}, "5213": {"name": "test.synthetix.accepted_values_ambassador_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn.60823368eb", "type": "test"}, "5214": {"name": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_chain_id.08c20376e0", "type": "test"}, "5215": {"name": "test.synthetix.accepted_values_ambassador_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161.0c8eff9ef3", "type": "test"}, "5216": {"name": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_block_timestamp.fb999cf588", "type": "test"}, "5217": {"name": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_voter.489834d56e", "type": "test"}, "5218": {"name": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_epoch_id.e141cb577b", "type": "test"}, "5219": {"name": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_transaction_hash.fa826d3f14", "type": "test"}, "5220": {"name": "test.synthetix.unique_ambassador_vote_withdrawn_snax_mainnet_transaction_hash.4355134051", "type": "test"}, "5221": {"name": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_block_number.afd1b2b6f4", "type": "test"}, "5222": {"name": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_contract.ce63bcf894", "type": "test"}, "5223": {"name": "test.synthetix.not_null_blocks_snax_testnet_block_number.cbe563226c", "type": "test"}, "5224": {"name": "test.synthetix.unique_blocks_snax_testnet_block_number.2af7f40583", "type": "test"}, "5225": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_id.94c183a836", "type": "test"}, "5226": {"name": "test.synthetix.unique_gov_vote_recorded_snax_testnet_id.077b70d622", "type": "test"}, "5227": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_event_name.76babc2551", "type": "test"}, "5228": {"name": "test.synthetix.accepted_values_gov_vote_recorded_snax_testnet_event_name__VoteRecorded.3107ed0913", "type": "test"}, "5229": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_chain_id.af02247585", "type": "test"}, "5230": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_block_timestamp.8bff125b42", "type": "test"}, "5231": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_voter.32ab553729", "type": "test"}, "5232": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_epoch_id.a4ace8d141", "type": "test"}, "5233": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_transaction_hash.32e2b72fab", "type": "test"}, "5234": {"name": "test.synthetix.unique_gov_vote_recorded_snax_testnet_transaction_hash.2d1aaa8c7a", "type": "test"}, "5235": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_candidates.39ec698f83", "type": "test"}, "5236": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_block_number.bf5384239a", "type": "test"}, "5237": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_voting_power.b8ee341c96", "type": "test"}, "5238": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_contract.d372e887ba", "type": "test"}, "5239": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_id.ab7d5eed00", "type": "test"}, "5240": {"name": "test.synthetix.unique_gov_vote_withdrawn_snax_testnet_id.014a1febf6", "type": "test"}, "5241": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_event_name.07b79bcefd", "type": "test"}, "5242": {"name": "test.synthetix.accepted_values_gov_vote_withdrawn_snax_testnet_event_name__VoteWithdrawn.f8bcefc8de", "type": "test"}, "5243": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_chain_id.cd86db7422", "type": "test"}, "5244": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_block_timestamp.68f3ce7c19", "type": "test"}, "5245": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_voter.486c8024f6", "type": "test"}, "5246": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_epoch_id.3f22d60c1a", "type": "test"}, "5247": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_transaction_hash.4d14f7c906", "type": "test"}, "5248": {"name": "test.synthetix.unique_gov_vote_withdrawn_snax_testnet_transaction_hash.2cda794480", "type": "test"}, "5249": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_block_number.c805901c73", "type": "test"}, "5250": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_contract.4b45185581", "type": "test"}, "5251": {"name": "test.synthetix.not_null_blocks_eth_mainnet_block_number.aba38b4904", "type": "test"}, "5252": {"name": "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09", "type": "test"}, "5253": {"name": "test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db", "type": "test"}, "5254": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512", "type": "test"}, "5255": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae", "type": "test"}, "5256": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc", "type": "test"}, "5257": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99", "type": "test"}, "5258": {"name": "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820", "type": "test"}, "5259": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024", "type": "test"}, "5260": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644", "type": "test"}, "5261": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde", "type": "test"}, "5262": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f", "type": "test"}, "5263": {"name": "test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3", "type": "test"}, "5264": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9", "type": "test"}, "5265": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b", "type": "test"}, "5266": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792", "type": "test"}, "5267": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8", "type": "test"}, "5268": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf", "type": "test"}, "5269": {"name": "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7", "type": "test"}, "5270": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259", "type": "test"}, "5271": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5", "type": "test"}, "5272": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97", "type": "test"}, "5273": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241", "type": "test"}, "5274": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40", "type": "test"}, "5275": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a", "type": "test"}, "5276": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d", "type": "test"}, "5277": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60", "type": "test"}, "5278": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2", "type": "test"}, "5279": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4", "type": "test"}, "5280": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239", "type": "test"}, "5281": {"name": "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec", "type": "test"}, "5282": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466", "type": "test"}, "5283": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475", "type": "test"}, "5284": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4", "type": "test"}, "5285": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12", "type": "test"}, "5286": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca", "type": "test"}, "5287": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a", "type": "test"}, "5288": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff", "type": "test"}, "5289": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08", "type": "test"}, "5290": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e", "type": "test"}, "5291": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128", "type": "test"}, "5292": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68", "type": "test"}, "5293": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c", "type": "test"}, "5294": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270", "type": "test"}, "5295": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5", "type": "test"}, "5296": {"name": "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2", "type": "test"}, "5297": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6", "type": "test"}, "5298": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527", "type": "test"}, "5299": {"name": "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5", "type": "test"}, "5300": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5", "type": "test"}, "5301": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1", "type": "test"}, "5302": {"name": "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0", "type": "test"}, "5303": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e", "type": "test"}, "5304": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3", "type": "test"}, "5305": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a", "type": "test"}, "5306": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da", "type": "test"}, "5307": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03", "type": "test"}, "5308": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777", "type": "test"}, "5309": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011", "type": "test"}, "5310": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b", "type": "test"}, "5311": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438", "type": "test"}, "5312": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7", "type": "test"}, "5313": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5", "type": "test"}, "5314": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b", "type": "test"}, "5315": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837", "type": "test"}, "5316": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c", "type": "test"}, "5317": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de", "type": "test"}, "5318": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26", "type": "test"}, "5319": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428", "type": "test"}, "5320": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5", "type": "test"}, "5321": {"name": "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c", "type": "test"}, "5322": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc", "type": "test"}, "5323": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6", "type": "test"}, "5324": {"name": "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80", "type": "test"}, "5325": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339", "type": "test"}, "5326": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400", "type": "test"}, "5327": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a", "type": "test"}, "5328": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38", "type": "test"}, "5329": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc", "type": "test"}, "5330": {"name": "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1", "type": "test"}, "5331": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13", "type": "test"}, "5332": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd", "type": "test"}, "5333": {"name": "test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f", "type": "test"}, "5334": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40", "type": "test"}, "5335": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9", "type": "test"}, "5336": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02", "type": "test"}, "5337": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d", "type": "test"}, "5338": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6", "type": "test"}, "5339": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632", "type": "test"}, "5340": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a", "type": "test"}, "5341": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb", "type": "test"}, "5342": {"name": "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1", "type": "test"}, "5343": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4", "type": "test"}, "5344": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe", "type": "test"}, "5345": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3", "type": "test"}, "5346": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a", "type": "test"}, "5347": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842", "type": "test"}, "5348": {"name": "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0", "type": "test"}, "5349": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529", "type": "test"}, "5350": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4", "type": "test"}, "5351": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a", "type": "test"}, "5352": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02", "type": "test"}, "5353": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba", "type": "test"}, "5354": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef", "type": "test"}, "5355": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f", "type": "test"}, "5356": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a", "type": "test"}, "5357": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588", "type": "test"}, "5358": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7", "type": "test"}, "5359": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8", "type": "test"}, "5360": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67", "type": "test"}, "5361": {"name": "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395", "type": "test"}, "5362": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3", "type": "test"}, "5363": {"name": "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b", "type": "test"}, "5364": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c", "type": "test"}, "5365": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53", "type": "test"}, "5366": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e", "type": "test"}, "5367": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c", "type": "test"}, "5368": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa", "type": "test"}, "5369": {"name": "test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2", "type": "test"}, "5370": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc", "type": "test"}, "5371": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da", "type": "test"}, "5372": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e", "type": "test"}, "5373": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6", "type": "test"}, "5374": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4", "type": "test"}, "5375": {"name": "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185", "type": "test"}, "5376": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050", "type": "test"}, "5377": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e", "type": "test"}, "5378": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6", "type": "test"}, "5379": {"name": "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698", "type": "test"}, "5380": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7", "type": "test"}, "5381": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418", "type": "test"}, "5382": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df", "type": "test"}, "5383": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db", "type": "test"}, "5384": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40", "type": "test"}, "5385": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0", "type": "test"}, "5386": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c", "type": "test"}, "5387": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d", "type": "test"}, "5388": {"name": "test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144", "type": "test"}, "5389": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05", "type": "test"}, "5390": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c", "type": "test"}, "5391": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3", "type": "test"}, "5392": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c", "type": "test"}, "5393": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c", "type": "test"}, "5394": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8", "type": "test"}, "5395": {"name": "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c", "type": "test"}, "5396": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85", "type": "test"}, "5397": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0", "type": "test"}, "5398": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5", "type": "test"}, "5399": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934", "type": "test"}, "5400": {"name": "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1", "type": "test"}, "5401": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3", "type": "test"}, "5402": {"name": "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b", "type": "test"}, "5403": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6", "type": "test"}, "5404": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120", "type": "test"}, "5405": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595", "type": "test"}, "5406": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d", "type": "test"}, "5407": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405", "type": "test"}, "5408": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d", "type": "test"}, "5409": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969", "type": "test"}, "5410": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c", "type": "test"}, "5411": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572", "type": "test"}, "5412": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146", "type": "test"}, "5413": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd", "type": "test"}, "5414": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96", "type": "test"}, "5415": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8", "type": "test"}, "5416": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593", "type": "test"}, "5417": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63", "type": "test"}, "5418": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8", "type": "test"}, "5419": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5", "type": "test"}, "5420": {"name": "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972", "type": "test"}, "5421": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f", "type": "test"}, "5422": {"name": "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c", "type": "test"}, "5423": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc", "type": "test"}, "5424": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5", "type": "test"}, "5425": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85", "type": "test"}, "5426": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28", "type": "test"}, "5427": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6", "type": "test"}, "5428": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423", "type": "test"}, "5429": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac", "type": "test"}, "5430": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f", "type": "test"}, "5431": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3", "type": "test"}, "5432": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842", "type": "test"}, "5433": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df", "type": "test"}, "5434": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621", "type": "test"}, "5435": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d", "type": "test"}, "5436": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9", "type": "test"}, "5437": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994", "type": "test"}, "5438": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c", "type": "test"}, "5439": {"name": "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec", "type": "test"}, "5440": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349", "type": "test"}, "5441": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5", "type": "test"}, "5442": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5", "type": "test"}, "5443": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a", "type": "test"}, "5444": {"name": "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa", "type": "test"}, "5445": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2", "type": "test"}, "5446": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612", "type": "test"}, "5447": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded", "type": "test"}, "5448": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4", "type": "test"}, "5449": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3", "type": "test"}, "5450": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca", "type": "test"}, "5451": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e", "type": "test"}, "5452": {"name": "test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf", "type": "test"}, "5453": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff", "type": "test"}, "5454": {"name": "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9", "type": "test"}, "5455": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960", "type": "test"}, "5456": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9", "type": "test"}, "5457": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a", "type": "test"}, "5458": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5", "type": "test"}, "5459": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b", "type": "test"}, "5460": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213", "type": "test"}, "5461": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b", "type": "test"}, "5462": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225", "type": "test"}, "5463": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925", "type": "test"}, "5464": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6", "type": "test"}, "5465": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489", "type": "test"}, "5466": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f", "type": "test"}, "5467": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36", "type": "test"}, "5468": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d", "type": "test"}, "5469": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a", "type": "test"}, "5470": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc", "type": "test"}, "5471": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2", "type": "test"}, "5472": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175", "type": "test"}, "5473": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329", "type": "test"}, "5474": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f", "type": "test"}, "5475": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287", "type": "test"}, "5476": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b", "type": "test"}, "5477": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe", "type": "test"}, "5478": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614", "type": "test"}, "5479": {"name": "test.synthetix.not_null_tlx_lt_minted_optimism_mainnet_token.163a410c16", "type": "test"}, "5480": {"name": "test.synthetix.not_null_tlx_lt_redeemed_optimism_mainnet_token.41e64b0156", "type": "test"}, "5481": {"name": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "type": "test"}, "5482": {"name": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e", "type": "test"}, "5483": {"name": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6", "type": "test"}, "5484": {"name": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178", "type": "test"}, "5485": {"name": "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0", "type": "test"}, "5486": {"name": "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc", "type": "test"}, "5487": {"name": "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c", "type": "test"}, "5488": {"name": "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c", "type": "test"}, "5489": {"name": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2", "type": "test"}, "5490": {"name": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e", "type": "test"}, "5491": {"name": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1", "type": "test"}, "5492": {"name": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8", "type": "test"}, "5493": {"name": "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2", "type": "test"}, "5494": {"name": "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576", "type": "test"}, "5495": {"name": "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef", "type": "test"}, "5496": {"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..9be6f0f2
--- /dev/null
+++ b/index.html
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+ dbt Docs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/manifest.json b/manifest.json
new file mode 100644
index 00000000..e82321d8
--- /dev/null
+++ b/manifest.json
@@ -0,0 +1 @@
+{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/manifest/v12.json", "dbt_version": "1.9.0", "generated_at": "2024-12-13T17:12:01.037533Z", "invocation_id": "3419d27d-1e1c-45e9-a24b-149996fe33f4", "env": {}, "project_name": "synthetix", "project_id": "432a2fb49dc9be7695a9ebc3519d54bf", "user_id": "2858d4d7-316c-43f3-9d31-578ef3c523b2", "send_anonymous_usage_stats": true, "adapter_type": "postgres"}, "nodes": {"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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "supply": {"name": "supply", "description": "Supply", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.0229845, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.026858, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_address": {"name": "token_address", "description": "Token address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.0284708, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.0299816, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.219951, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.220829, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "buyer": {"name": "buyer", "description": "Address of buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "usd": {"name": "usd", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "snx_price": {"name": "snx_price", "description": "SNX Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.245769, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.2419338, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.2431126, "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, "primary_key": [], "time_spine": 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": "7e932926126c58b58ab093123a713853d956e3312e329b14ee17686ac8ace4bd"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.3296616, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"", "raw_code": "select\n cm.id,\n cm.block_timestamp,\n cm.account_id,\n cm.block_number,\n cm.transaction_hash,\n cm.contract,\n cm.event_name,\n synths.synth_symbol,\n cm.synth_market_id,\n synths.synth_token_address,\n cm.sender,\n {{ convert_wei(\"cm.amount_delta\") }} as amount_delta\nfrom\n {{ ref(\"perp_collateral_modified_base_sepolia\") }}\n as cm\ninner join {{ ref('base_sepolia_synths') }} as synths\n on cm.synth_market_id = synths.synth_market_id", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}, {"name": "base_sepolia_synths", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia", "seed.synthetix.base_sepolia_synths"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql", "compiled": true, "compiled_code": "select\n cm.id,\n cm.block_timestamp,\n cm.account_id,\n cm.block_number,\n cm.transaction_hash,\n cm.contract,\n cm.event_name,\n synths.synth_symbol,\n cm.synth_market_id,\n synths.synth_token_address,\n cm.sender,\n \n cm.amount_delta / 1e18\n as amount_delta\nfrom\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\n as cm\ninner join \"analytics\".\"prod_seeds\".\"base_sepolia_synths\" as synths\n on cm.synth_market_id = synths.synth_market_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_collateral_balances_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_collateral_balances_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_collateral_balances_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_collateral_balances_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_collateral_balances_base_sepolia"], "alias": "fct_perp_collateral_balances_base_sepolia", "checksum": {"name": "sha256", "checksum": "3f212709c7aa222ef2a1f6f61e2c8fd8879156ea5bbe40669df5ce65ba087ad8"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_id": {"name": "collateral_id", "description": "Market ID of the collateral, from the spot market", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_symbol": {"name": "synth_symbol", "description": "Symbol of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_type": {"name": "event_type", "description": "Description of the event, e.g. 'transfer' or 'liquidation'", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "Amount of the collateral token that was transferred", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_balance": {"name": "account_balance", "description": "Balance of the collateral token in the account after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_balance": {"name": "total_balance", "description": "Total balance of the collateral token in the perps system after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta_usd": {"name": "amount_delta_usd", "description": "USD value of the collateral token that was transferred", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_balance_usd": {"name": "account_balance_usd", "description": "USD value of the collateral token in the account after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_balance_usd": {"name": "total_balance_usd", "description": "Total USD value of the collateral token in the perps system after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.3629313, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_base_sepolia\"", "raw_code": "with synths as (\n select\n synth_market_id as collateral_id,\n synth_token_address\n from\n {{ ref('spot_synth_registered_base_sepolia') }}\n),\n\ntransfers as (\n select\n cm.block_number,\n cm.block_timestamp as ts,\n cm.transaction_hash,\n cm.synth_market_id as collateral_id,\n synths.synth_token_address,\n CAST(\n cm.account_id as text\n ) as account_id,\n {{ convert_wei('cm.amount_delta') }} as amount_delta\n from\n {{ ref('perp_collateral_modified_base_sepolia') }} as cm\n inner join synths\n on cm.synth_market_id = synths.collateral_id\n),\n\nliq_tx as (\n select distinct\n transaction_hash,\n CAST(\n account_id as text\n ) as account_id\n from\n {{ ref('perp_account_liquidation_attempt_base_sepolia') }}\n),\n\ndistributors as (\n select\n CAST(\n rd.distributor_address as text\n ) as distributor_address,\n CAST(\n rd.token_symbol as text\n ) as token_symbol,\n rd.synth_token_address,\n synths.collateral_id\n from\n {{ ref('base_sepolia_reward_distributors') }} as rd\n inner join synths\n on rd.synth_token_address = synths.synth_token_address\n),\n\nliquidations as (\n select\n rd.block_number,\n rd.block_timestamp as ts,\n -rd.amount / 1e18 as amount_delta,\n liq_tx.transaction_hash,\n rd.collateral_type,\n distributors.token_symbol,\n distributors.synth_token_address,\n CAST(\n liq_tx.account_id as text\n ) as account_id,\n distributors.collateral_id\n from\n {{ ref('core_rewards_distributed_base_sepolia') }} as rd\n inner join liq_tx\n on rd.transaction_hash = liq_tx.transaction_hash\n inner join distributors\n on rd.distributor = distributors.distributor_address\n),\n\nnet_transfers as (\n select\n events.ts,\n events.transaction_hash,\n events.event_type,\n events.collateral_id,\n events.synth_token_address,\n synths.synth_symbol,\n events.account_id,\n prices.price,\n events.amount_delta,\n SUM(\n events.amount_delta\n ) over (\n partition by\n events.account_id,\n events.collateral_id\n order by\n events.ts\n ) as account_balance,\n SUM(\n events.amount_delta\n ) over (\n partition by events.collateral_id\n order by\n events.ts\n ) as total_balance\n from\n (\n select\n transfers.ts,\n transfers.transaction_hash,\n transfers.collateral_id,\n transfers.synth_token_address,\n transfers.account_id,\n transfers.amount_delta,\n 'transfer' as event_type\n from\n transfers\n union all\n select\n liquidations.ts,\n liquidations.transaction_hash,\n liquidations.collateral_id,\n liquidations.synth_token_address,\n liquidations.account_id,\n liquidations.amount_delta,\n 'liquidation' as event_type\n from\n liquidations\n ) as events\n inner join {{ ref('base_sepolia_synths') }} as synths\n on events.collateral_id = synths.synth_market_id\n left join {{ ref('fct_prices_hourly_base_sepolia') }} as prices\n on\n synths.token_symbol = prices.market_symbol\n and DATE_TRUNC(\n 'hour',\n events.ts\n ) = prices.ts\n)\n\nselect\n net_transfers.ts,\n net_transfers.transaction_hash,\n net_transfers.event_type,\n net_transfers.collateral_id,\n net_transfers.synth_token_address,\n net_transfers.synth_symbol,\n net_transfers.account_id,\n net_transfers.price,\n net_transfers.amount_delta,\n net_transfers.amount_delta * net_transfers.price as amount_delta_usd,\n net_transfers.account_balance,\n net_transfers.account_balance * net_transfers.price as account_balance_usd,\n net_transfers.total_balance,\n net_transfers.total_balance * net_transfers.price as total_balance_usd\nfrom\n net_transfers", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}, {"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}, {"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}, {"name": "base_sepolia_reward_distributors", "package": null, "version": null}, {"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}, {"name": "base_sepolia_synths", "package": null, "version": null}, {"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia", "model.synthetix.perp_collateral_modified_base_sepolia", "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "seed.synthetix.base_sepolia_reward_distributors", "model.synthetix.core_rewards_distributed_base_sepolia", "seed.synthetix.base_sepolia_synths", "model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_balances_base_sepolia.sql", "compiled": true, "compiled_code": "with synths as (\n select\n synth_market_id as collateral_id,\n synth_token_address\n from\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\n),\n\ntransfers as (\n select\n cm.block_number,\n cm.block_timestamp as ts,\n cm.transaction_hash,\n cm.synth_market_id as collateral_id,\n synths.synth_token_address,\n CAST(\n cm.account_id as text\n ) as account_id,\n \n cm.amount_delta / 1e18\n as amount_delta\n from\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\" as cm\n inner join synths\n on cm.synth_market_id = synths.collateral_id\n),\n\nliq_tx as (\n select distinct\n transaction_hash,\n CAST(\n account_id as text\n ) as account_id\n from\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\n),\n\ndistributors as (\n select\n CAST(\n rd.distributor_address as text\n ) as distributor_address,\n CAST(\n rd.token_symbol as text\n ) as token_symbol,\n rd.synth_token_address,\n synths.collateral_id\n from\n \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\" as rd\n inner join synths\n on rd.synth_token_address = synths.synth_token_address\n),\n\nliquidations as (\n select\n rd.block_number,\n rd.block_timestamp as ts,\n -rd.amount / 1e18 as amount_delta,\n liq_tx.transaction_hash,\n rd.collateral_type,\n distributors.token_symbol,\n distributors.synth_token_address,\n CAST(\n liq_tx.account_id as text\n ) as account_id,\n distributors.collateral_id\n from\n \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\" as rd\n inner join liq_tx\n on rd.transaction_hash = liq_tx.transaction_hash\n inner join distributors\n on rd.distributor = distributors.distributor_address\n),\n\nnet_transfers as (\n select\n events.ts,\n events.transaction_hash,\n events.event_type,\n events.collateral_id,\n events.synth_token_address,\n synths.synth_symbol,\n events.account_id,\n prices.price,\n events.amount_delta,\n SUM(\n events.amount_delta\n ) over (\n partition by\n events.account_id,\n events.collateral_id\n order by\n events.ts\n ) as account_balance,\n SUM(\n events.amount_delta\n ) over (\n partition by events.collateral_id\n order by\n events.ts\n ) as total_balance\n from\n (\n select\n transfers.ts,\n transfers.transaction_hash,\n transfers.collateral_id,\n transfers.synth_token_address,\n transfers.account_id,\n transfers.amount_delta,\n 'transfer' as event_type\n from\n transfers\n union all\n select\n liquidations.ts,\n liquidations.transaction_hash,\n liquidations.collateral_id,\n liquidations.synth_token_address,\n liquidations.account_id,\n liquidations.amount_delta,\n 'liquidation' as event_type\n from\n liquidations\n ) as events\n inner join \"analytics\".\"prod_seeds\".\"base_sepolia_synths\" as synths\n on events.collateral_id = synths.synth_market_id\n left join \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\" as prices\n on\n synths.token_symbol = prices.market_symbol\n and DATE_TRUNC(\n 'hour',\n events.ts\n ) = prices.ts\n)\n\nselect\n net_transfers.ts,\n net_transfers.transaction_hash,\n net_transfers.event_type,\n net_transfers.collateral_id,\n net_transfers.synth_token_address,\n net_transfers.synth_symbol,\n net_transfers.account_id,\n net_transfers.price,\n net_transfers.amount_delta,\n net_transfers.amount_delta * net_transfers.price as amount_delta_usd,\n net_transfers.account_balance,\n net_transfers.account_balance * net_transfers.price as account_balance_usd,\n net_transfers.total_balance,\n net_transfers.total_balance * net_transfers.price as total_balance_usd\nfrom\n net_transfers", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Market creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_name": {"name": "market_name", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.3465443, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest": {"name": "interest", "description": "Interest amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.3275743, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Account creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.3583472, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fill_price": {"name": "fill_price", "description": "Fill price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pnl": {"name": "pnl", "description": "PnL (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accrued_funding": {"name": "accrued_funding", "description": "Accrued funding (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trade_size": {"name": "trade_size", "description": "Trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "position_size": {"name": "position_size", "description": "Position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_fees": {"name": "total_fees", "description": "Total fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "Referral fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Collected fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_reward": {"name": "settlement_reward", "description": "Settlement reward (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "Account tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "notional_trade_size": {"name": "notional_trade_size", "description": "Notional trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "notional_position_size": {"name": "notional_position_size", "description": "Notional position size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "lp_fees": {"name": "lp_fees", "description": "LP fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "Exchange fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.340756, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "position_size": {"name": "position_size", "description": "Liquidated position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.3558664, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.3330421, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_pnl": {"name": "market_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.3419027, "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, "primary_key": [], "time_spine": 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": "33dc490bf57e9d8f52efd711b952b7b9e1f0aff714d679b1539fcf9ade9c0880"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "skew": {"name": "skew", "description": "Skew (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "Size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "Size delta (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_rate": {"name": "funding_rate", "description": "Funding rate (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_velocity": {"name": "funding_velocity", "description": "Funding velocity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_rate_apr": {"name": "funding_rate_apr", "description": "Funding rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_rate_apr": {"name": "long_rate_apr", "description": "Long rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_rate_apr": {"name": "short_rate_apr", "description": "Short rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "prev_size": {"name": "prev_size", "description": "Previous size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_oi_usd": {"name": "market_oi_usd", "description": "Market open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_oi_usd": {"name": "total_oi_usd", "description": "Total open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_oi": {"name": "long_oi", "description": "Long open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_oi": {"name": "short_oi", "description": "Short open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_oi_pct": {"name": "long_oi_pct", "description": "Long open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_oi_pct": {"name": "short_oi_pct", "description": "Short open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.3539412, "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 LAG({{ convert_wei('size') }}, 1, 0) over (\n partition by m.market_symbol\n order by\n mu.block_timestamp\n ) as prev_size\n from\n {{ ref('perp_market_updated_base_sepolia') }} as mu\n left join {{ ref('fct_perp_markets_base_sepolia') }} as m\n on mu.market_id = m.id\n),\n\noi as (\n select\n id,\n ts,\n size * price as market_oi_usd,\n LAG(\n size * price,\n 1,\n 0\n ) over (\n partition by market_symbol\n order by\n ts asc\n ) as prev_market_oi_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\n from\n base\n),\n\ntotal_oi as (\n select\n id,\n SUM(\n market_oi_usd - prev_market_oi_usd\n ) over (\n order by\n ts asc\n ) as total_oi_usd\n from\n oi\n)\n\nselect\n base.*,\n ROUND(\n oi.market_oi_usd,\n 2\n ) as market_oi_usd,\n ROUND(\n total_oi.total_oi_usd,\n 2\n ) as total_oi_usd,\n ROUND(\n oi.long_oi,\n 2\n ) as long_oi,\n ROUND(\n oi.short_oi,\n 2\n ) as short_oi,\n oi.long_oi_pct,\n oi.short_oi_pct\nfrom\n base\ninner join oi\n on base.id = oi.id\ninner join total_oi\n on base.id = total_oi.id", "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 LAG(\n size / 1e18\n, 1, 0) over (\n partition by m.market_symbol\n order by\n mu.block_timestamp\n ) as prev_size\n from\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\" as mu\n left join \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\" as m\n on mu.market_id = m.id\n),\n\noi as (\n select\n id,\n ts,\n size * price as market_oi_usd,\n LAG(\n size * price,\n 1,\n 0\n ) over (\n partition by market_symbol\n order by\n ts asc\n ) as prev_market_oi_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\n from\n base\n),\n\ntotal_oi as (\n select\n id,\n SUM(\n market_oi_usd - prev_market_oi_usd\n ) over (\n order by\n ts asc\n ) as total_oi_usd\n from\n oi\n)\n\nselect\n base.*,\n ROUND(\n oi.market_oi_usd,\n 2\n ) as market_oi_usd,\n ROUND(\n total_oi.total_oi_usd,\n 2\n ) as total_oi_usd,\n ROUND(\n oi.long_oi,\n 2\n ) as long_oi,\n ROUND(\n oi.short_oi,\n 2\n ) as short_oi,\n oi.long_oi_pct,\n oi.short_oi_pct\nfrom\n base\ninner join oi\n on base.id = oi.id\ninner join total_oi\n on base.id = total_oi.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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_reward": {"name": "total_reward", "description": "Total reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.357175, "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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_account_activity_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_account_activity_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_account_activity_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_account_activity_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_account_activity_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_account_activity_base_sepolia"], "alias": "fct_perp_account_activity_base_sepolia", "checksum": {"name": "sha256", "checksum": "c12a0c2e8f2b2556633f3d0c2de3e0ea252efc816a75b51b3b804e594b23702c"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia", "perp", "account_activity", "base", "sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia", "perp", "account_activity", "base", "sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Activity date", "meta": {}, "data_type": "date", "constraints": [], "quote": null, "tags": [], "granularity": null}, "dau": {"name": "dau", "description": "Daily active users", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "mau": {"name": "mau", "description": "Monthly active users", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_accounts_daily": {"name": "new_accounts_daily", "description": "Daily new accounts", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_accounts_monthly": {"name": "new_accounts_monthly", "description": "Monthly new accounts", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["perp", "account_activity", "base", "sepolia"], "schema": "base_sepolia", "materialized": "view"}, "created_at": 1734109925.3240094, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_account_activity_base_sepolia\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"perp\", \"account_activity\", \"base\", \"sepolia\"]\n) }}\n\nwith active_accounts as (\n select distinct\n date_trunc('day', ts) as activity_date,\n account_id\n from {{ ref('fct_perp_trades_base_sepolia') }}\n),\n\ndate_range as (\n select\n generate_series(\n date(min(activity_date)),\n date(max(activity_date)),\n interval '1 day'\n )::date as activity_date\n from active_accounts\n),\n\nactive_accounts_daily as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on date_range.activity_date = active_accounts.activity_date\n group by date_range.activity_date\n),\n\nactive_accounts_monthly as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on\n date_range.activity_date - interval '27 days'\n <= active_accounts.activity_date\n and date_range.activity_date >= active_accounts.activity_date\n group by date_range.activity_date\n),\n\nnew_accounts as (\n select\n min(activity_date) as start_date,\n account_id\n from active_accounts\n group by account_id\n),\n\nnew_accounts_daily as (\n select\n date_range.activity_date,\n count(new_accounts.account_id) as new_accounts\n from date_range\n left join new_accounts\n on date_range.activity_date = new_accounts.start_date\n group by date_range.activity_date, new_accounts.start_date\n),\n\nnew_accounts_monthly as (\n select distinct\n activity_date,\n sum(new_accounts) over (\n order by activity_date\n range between interval '27 days' preceding and current row\n ) as new_accounts\n from new_accounts_daily\n)\n\nselect\n dr.activity_date as ts,\n dau.active_accounts as dau,\n mau.active_accounts as mau,\n new_accounts_daily.new_accounts as new_accounts_daily,\n new_accounts_monthly.new_accounts as new_accounts_monthly\nfrom date_range as dr\nleft join active_accounts_daily as dau\n on dr.activity_date = dau.activity_date\nleft join active_accounts_monthly as mau\n on dr.activity_date = mau.activity_date\nleft join new_accounts_daily\n on dr.activity_date = new_accounts_daily.activity_date\nleft join new_accounts_monthly\n on dr.activity_date = new_accounts_monthly.activity_date\norder by ts desc", "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/fct_perp_account_activity_base_sepolia.sql", "compiled": true, "compiled_code": "\n\nwith active_accounts as (\n select distinct\n date_trunc('day', ts) as activity_date,\n account_id\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\n\ndate_range as (\n select\n generate_series(\n date(min(activity_date)),\n date(max(activity_date)),\n interval '1 day'\n )::date as activity_date\n from active_accounts\n),\n\nactive_accounts_daily as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on date_range.activity_date = active_accounts.activity_date\n group by date_range.activity_date\n),\n\nactive_accounts_monthly as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on\n date_range.activity_date - interval '27 days'\n <= active_accounts.activity_date\n and date_range.activity_date >= active_accounts.activity_date\n group by date_range.activity_date\n),\n\nnew_accounts as (\n select\n min(activity_date) as start_date,\n account_id\n from active_accounts\n group by account_id\n),\n\nnew_accounts_daily as (\n select\n date_range.activity_date,\n count(new_accounts.account_id) as new_accounts\n from date_range\n left join new_accounts\n on date_range.activity_date = new_accounts.start_date\n group by date_range.activity_date, new_accounts.start_date\n),\n\nnew_accounts_monthly as (\n select distinct\n activity_date,\n sum(new_accounts) over (\n order by activity_date\n range between interval '27 days' preceding and current row\n ) as new_accounts\n from new_accounts_daily\n)\n\nselect\n dr.activity_date as ts,\n dau.active_accounts as dau,\n mau.active_accounts as mau,\n new_accounts_daily.new_accounts as new_accounts_daily,\n new_accounts_monthly.new_accounts as new_accounts_monthly\nfrom date_range as dr\nleft join active_accounts_daily as dau\n on dr.activity_date = dau.activity_date\nleft join active_accounts_monthly as mau\n on dr.activity_date = mau.activity_date\nleft join new_accounts_daily\n on dr.activity_date = new_accounts_daily.activity_date\nleft join new_accounts_monthly\n on dr.activity_date = new_accounts_monthly.activity_date\norder by 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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.345127, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount issued", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.7355542, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.7342627, "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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_core_active_stakers_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_active_stakers_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_active_stakers_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_active_stakers_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_active_stakers_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_active_stakers_daily_base_sepolia"], "alias": "fct_core_active_stakers_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "294074c6cb29590fb73cd9dd1a9f6a29e82bdeacad6e70e5ff61edc4abf78bad"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia", "core", "active_stakers", "daily", "base", "sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia", "core", "active_stakers", "daily", "base", "sepolia"], "description": "Daily number of active stakers", "columns": {"block_date": {"name": "block_date", "description": "Date", "meta": {}, "data_type": "date", "constraints": [], "quote": null, "tags": [], "granularity": null}, "nof_stakers_daily": {"name": "nof_stakers_daily", "description": "Number of active stakers daily", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["core", "active_stakers", "daily", "base", "sepolia"], "schema": "base_sepolia", "materialized": "view"}, "created_at": 1734109925.7100105, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_active_stakers_daily_base_sepolia\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"core\", \"active_stakers\", \"daily\", \"base\", \"sepolia\"]\n) }}\n\nwith delegation_updated as (\n select\n block_timestamp,\n account_id,\n amount\n from {{ ref('core_delegation_updated_base_sepolia') }}\n),\n\ndim as (\n select\n d.block_date,\n accounts_unique.account_id\n from (\n select\n generate_series(\n date_trunc('day', date('2023-12-15')),\n date_trunc('day', current_date), '1 day'::interval\n ) as block_date\n ) as d\n cross join (\n select distinct account_id from delegation_updated\n ) as accounts_unique\n),\n\nstakers as (\n select\n dim.block_date,\n dim.account_id,\n case\n when coalesce(last(delegation_updated.amount) over (\n partition by dim.account_id\n order by dim.block_date\n rows between unbounded preceding and current row\n ), 0) = 0 then 0\n else 1\n end as is_staking\n from dim\n left join delegation_updated on\n dim.block_date = date(delegation_updated.block_timestamp)\n and dim.account_id = delegation_updated.account_id\n)\n\nselect\n block_date,\n sum(is_staking) as nof_stakers_daily\nfrom stakers\ngroup by block_date", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_active_stakers_daily_base_sepolia.sql", "compiled": true, "compiled_code": "\n\nwith delegation_updated as (\n select\n block_timestamp,\n account_id,\n amount\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\n\ndim as (\n select\n d.block_date,\n accounts_unique.account_id\n from (\n select\n generate_series(\n date_trunc('day', date('2023-12-15')),\n date_trunc('day', current_date), '1 day'::interval\n ) as block_date\n ) as d\n cross join (\n select distinct account_id from delegation_updated\n ) as accounts_unique\n),\n\nstakers as (\n select\n dim.block_date,\n dim.account_id,\n case\n when coalesce(last(delegation_updated.amount) over (\n partition by dim.account_id\n order by dim.block_date\n rows between unbounded preceding and current row\n ), 0) = 0 then 0\n else 1\n end as is_staking\n from dim\n left join delegation_updated on\n dim.block_date = date(delegation_updated.block_timestamp)\n and dim.account_id = delegation_updated.account_id\n)\n\nselect\n block_date,\n sum(is_staking) as nof_stakers_daily\nfrom stakers\ngroup by block_date", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.7290676, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.726512, "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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_core_account_activity_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_account_activity_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_account_activity_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_account_activity_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_account_activity_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_account_activity_base_sepolia"], "alias": "fct_core_account_activity_base_sepolia", "checksum": {"name": "sha256", "checksum": "0642657cf488cd6aecb59c47badab961d8887135f7a8a433e0eb65e0fb02eb93"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia", "core", "account_activity", "daily", "base", "sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia", "core", "account_activity", "daily", "base", "sepolia"], "description": "Daily number of accounts by action (Delegated, Withdrawn, Claimed)", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_action": {"name": "account_action", "description": "Type of LP action", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["core", "account_activity", "daily", "base", "sepolia"], "schema": "base_sepolia", "materialized": "view"}, "created_at": 1734109925.7086806, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_account_activity_base_sepolia\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"core\", \"account_activity\", \"daily\", \"base\", \"sepolia\"]\n) }}\n\nwith delegated as (\n select distinct\n block_timestamp,\n account_id,\n 'Delegated' as account_action\n from {{ ref('core_delegation_updated_base_sepolia') }}\n),\n\nwithdrawn as (\n select\n block_timestamp,\n account_id,\n 'Withdrawn' as account_action\n from {{ ref('core_withdrawn_base_sepolia') }}\n),\n\nclaimed as (\n select\n block_timestamp,\n account_id,\n 'Claimed' as account_action\n from {{ ref('core_rewards_claimed_base_sepolia') }}\n),\n\ncombined as (\n select * from delegated\n union all\n select * from withdrawn\n union all\n select * from claimed\n)\n\nselect\n block_timestamp,\n account_action,\n account_id\nfrom combined", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}, {"name": "core_withdrawn_base_sepolia", "package": null, "version": null}, {"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia", "model.synthetix.core_withdrawn_base_sepolia", "model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_activity_base_sepolia.sql", "compiled": true, "compiled_code": "\n\nwith delegated as (\n select distinct\n block_timestamp,\n account_id,\n 'Delegated' as account_action\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\n\nwithdrawn as (\n select\n block_timestamp,\n account_id,\n 'Withdrawn' as account_action\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\n),\n\nclaimed as (\n select\n block_timestamp,\n account_id,\n 'Claimed' as account_action\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\n),\n\ncombined as (\n select * from delegated\n union all\n select * from withdrawn\n union all\n select * from claimed\n)\n\nselect\n block_timestamp,\n account_action,\n account_id\nfrom combined", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": 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": "a979d3a919e07495cc811e6c1a9a42783e394ba5ae480753495e83c521760aea"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": 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}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.737628, "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 lower(pnl.collateral_type) = lower(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 lower(pnl.collateral_type) = lower(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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.714873, "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, "primary_key": [], "time_spine": 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": "86130a35afed1f4f21263059b30a9c1162e40a3c97e9cf5c575edd141a574baa"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.7400684, "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.min_ts)),\n date_trunc('hour', max(t.max_ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select\n min(ts_start) as min_ts,\n max(\n ts_start + \"duration\" * '1 second'::INTERVAL\n ) as max_ts\n from\n {{ ref('fct_pool_rewards_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 where\n r.\"duration\" > 0\n),\n\nstreamed_rewards as (\n select\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\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 least(\n d.ts + '1 hour'::INTERVAL - greatest(\n d.ts,\n d.ts_start\n ),\n least(\n d.ts_start + d.\"duration\" * '1 second'::INTERVAL,\n d.ts + '1 hour'::INTERVAL\n ) - d.ts\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) as amount\n from\n hourly_distributions as d\n where\n d.distributor_index = 1\n),\n\ninstant_rewards as (\n select\n date_trunc(\n 'hour',\n ts\n ) as ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n rewards_distributed\n where\n \"duration\" = 0\n),\n\ncombined as (\n select\n combo.ts,\n combo.pool_id,\n combo.collateral_type,\n combo.distributor,\n combo.token_symbol,\n combo.amount,\n p.price\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n streamed_rewards\n union all\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n instant_rewards\n ) as combo\n left join {{ ref('fct_prices_hourly_base_sepolia') }} as p\n on\n combo.token_symbol = p.market_symbol\n and combo.ts = p.ts\n)\n\nselect\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n sum(amount) as amount,\n sum(\n amount * price\n ) as rewards_usd\nfrom\n combined\ngroup by\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol", "language": "sql", "refs": [{"name": "fct_pool_rewards_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_rewards_base_sepolia", "model.synthetix.fct_pool_debt_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.min_ts)),\n date_trunc('hour', max(t.max_ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select\n min(ts_start) as min_ts,\n max(\n ts_start + \"duration\" * '1 second'::INTERVAL\n ) as max_ts\n from\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_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 where\n r.\"duration\" > 0\n),\n\nstreamed_rewards as (\n select\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\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 least(\n d.ts + '1 hour'::INTERVAL - greatest(\n d.ts,\n d.ts_start\n ),\n least(\n d.ts_start + d.\"duration\" * '1 second'::INTERVAL,\n d.ts + '1 hour'::INTERVAL\n ) - d.ts\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) as amount\n from\n hourly_distributions as d\n where\n d.distributor_index = 1\n),\n\ninstant_rewards as (\n select\n date_trunc(\n 'hour',\n ts\n ) as ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n rewards_distributed\n where\n \"duration\" = 0\n),\n\ncombined as (\n select\n combo.ts,\n combo.pool_id,\n combo.collateral_type,\n combo.distributor,\n combo.token_symbol,\n combo.amount,\n p.price\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n streamed_rewards\n union all\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n instant_rewards\n ) as combo\n left join \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\" as p\n on\n combo.token_symbol = p.market_symbol\n and combo.ts = p.ts\n)\n\nselect\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n sum(amount) as amount,\n sum(\n amount * price\n ) as rewards_usd\nfrom\n combined\ngroup by\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.7332954, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.7302148, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109922.7343998, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.7386343, "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, "primary_key": [], "time_spine": 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": "39536b90ec5cf9211d7829f9a375fd8059baa1db78aaa59572518210ea39e9c2"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": 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}, "event_time": null, "concurrent_batches": null, "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": 1734109922.7399964, "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.ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token\n from\n (\n select\n ts,\n collateral_type,\n pool_id,\n collateral_value\n from\n {{ ref('fct_pool_pnl_hourly_base_sepolia') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) as t\n cross join (\n select distinct token_symbol\n from\n {{ ref('fct_pool_rewards_token_hourly_base_sepolia') }}\n ) as p\n group by\n t.ts,\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 LOWER(dim.collateral_type)\n = LOWER(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.ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token\n from\n (\n select\n ts,\n collateral_type,\n pool_id,\n collateral_value\n from\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) as t\n cross join (\n select 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.ts,\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 LOWER(dim.collateral_type)\n = LOWER(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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Reward amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.713227, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.7321165, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109925.7311609, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.0221148, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.015864, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.0076246, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.0187156, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.0147278, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.0090232, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.0131252, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.0212073, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.0120397, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.0196261, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.0246844, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.026874, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_address": {"name": "token_address", "description": "Token address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.0256443, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "supply": {"name": "supply", "description": "Supply", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.023286, "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, "primary_key": [], "time_spine": 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": "38eef1998497ffa6c098a2ae806f62e6c0e118d7d8d2c733b60d6116d8361f44"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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", "materialized": "table"}, "created_at": 1734109926.0870664, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n) }}\n\nwith prices as (\n\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(\n prices.price\n ) over (\n partition by dim.market_symbol\n order by\n dim.ts\n rows between unbounded preceding\n 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": "\n\nwith prices as (\n\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(\n prices.price\n ) over (\n partition by dim.market_symbol\n order by\n dim.ts\n rows between unbounded preceding\n 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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.086139, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.1070082, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "buyer": {"name": "buyer", "description": "Address of buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "usd": {"name": "usd", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "snx_price": {"name": "snx_price", "description": "SNX Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.1094337, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.1082025, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "position_size": {"name": "position_size", "description": "Liquidated position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.2027824, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_pnl": {"name": "market_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.1952848, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.1970644, "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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_account_activity_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_account_activity_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_account_activity_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_account_activity_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_account_activity_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_account_activity_base_mainnet"], "alias": "fct_perp_account_activity_base_mainnet", "checksum": {"name": "sha256", "checksum": "4078c6f7315824a118ef761dca9fa4017cf5dd95608d6d51a1186b5969c67577"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet", "perp", "account_activity", "base", "mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet", "perp", "account_activity", "base", "mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Activity date", "meta": {}, "data_type": "date", "constraints": [], "quote": null, "tags": [], "granularity": null}, "dau": {"name": "dau", "description": "Daily active users", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "mau": {"name": "mau", "description": "Monthly active users", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_accounts_daily": {"name": "new_accounts_daily", "description": "Daily new accounts", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_accounts_monthly": {"name": "new_accounts_monthly", "description": "Monthly new accounts", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["perp", "account_activity", "base", "mainnet"], "schema": "base_mainnet", "materialized": "view"}, "created_at": 1734109926.1864972, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_account_activity_base_mainnet\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"perp\", \"account_activity\", \"base\", \"mainnet\"]\n) }}\n\nwith active_accounts as (\n select distinct\n date_trunc('day', ts) as activity_date,\n account_id\n from {{ ref('fct_perp_trades_base_mainnet') }}\n),\n\ndate_range as (\n select\n generate_series(\n date(min(activity_date)),\n date(max(activity_date)),\n interval '1 day'\n )::date as activity_date\n from active_accounts\n),\n\nactive_accounts_daily as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on date_range.activity_date = active_accounts.activity_date\n group by date_range.activity_date\n),\n\nactive_accounts_monthly as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on\n date_range.activity_date - interval '27 days'\n <= active_accounts.activity_date\n and date_range.activity_date >= active_accounts.activity_date\n group by date_range.activity_date\n),\n\nnew_accounts as (\n select\n min(activity_date) as start_date,\n account_id\n from active_accounts\n group by account_id\n),\n\nnew_accounts_daily as (\n select\n date_range.activity_date,\n count(new_accounts.account_id) as new_accounts\n from date_range\n left join new_accounts\n on date_range.activity_date = new_accounts.start_date\n group by date_range.activity_date, new_accounts.start_date\n),\n\nnew_accounts_monthly as (\n select distinct\n activity_date,\n sum(new_accounts) over (\n order by activity_date\n range between interval '27 days' preceding and current row\n ) as new_accounts\n from new_accounts_daily\n)\n\nselect\n dr.activity_date as ts,\n dau.active_accounts as dau,\n mau.active_accounts as mau,\n new_accounts_daily.new_accounts as new_accounts_daily,\n new_accounts_monthly.new_accounts as new_accounts_monthly\nfrom date_range as dr\nleft join active_accounts_daily as dau\n on dr.activity_date = dau.activity_date\nleft join active_accounts_monthly as mau\n on dr.activity_date = mau.activity_date\nleft join new_accounts_daily\n on dr.activity_date = new_accounts_daily.activity_date\nleft join new_accounts_monthly\n on dr.activity_date = new_accounts_monthly.activity_date\norder by ts desc", "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/fct_perp_account_activity_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nwith active_accounts as (\n select distinct\n date_trunc('day', ts) as activity_date,\n account_id\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\n\ndate_range as (\n select\n generate_series(\n date(min(activity_date)),\n date(max(activity_date)),\n interval '1 day'\n )::date as activity_date\n from active_accounts\n),\n\nactive_accounts_daily as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on date_range.activity_date = active_accounts.activity_date\n group by date_range.activity_date\n),\n\nactive_accounts_monthly as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on\n date_range.activity_date - interval '27 days'\n <= active_accounts.activity_date\n and date_range.activity_date >= active_accounts.activity_date\n group by date_range.activity_date\n),\n\nnew_accounts as (\n select\n min(activity_date) as start_date,\n account_id\n from active_accounts\n group by account_id\n),\n\nnew_accounts_daily as (\n select\n date_range.activity_date,\n count(new_accounts.account_id) as new_accounts\n from date_range\n left join new_accounts\n on date_range.activity_date = new_accounts.start_date\n group by date_range.activity_date, new_accounts.start_date\n),\n\nnew_accounts_monthly as (\n select distinct\n activity_date,\n sum(new_accounts) over (\n order by activity_date\n range between interval '27 days' preceding and current row\n ) as new_accounts\n from new_accounts_daily\n)\n\nselect\n dr.activity_date as ts,\n dau.active_accounts as dau,\n mau.active_accounts as mau,\n new_accounts_daily.new_accounts as new_accounts_daily,\n new_accounts_monthly.new_accounts as new_accounts_monthly\nfrom date_range as dr\nleft join active_accounts_daily as dau\n on dr.activity_date = dau.activity_date\nleft join active_accounts_monthly as mau\n on dr.activity_date = mau.activity_date\nleft join new_accounts_daily\n on dr.activity_date = new_accounts_daily.activity_date\nleft join new_accounts_monthly\n on dr.activity_date = new_accounts_monthly.activity_date\norder by 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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_collateral_balances_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_collateral_balances_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_collateral_balances_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_collateral_balances_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_collateral_balances_base_mainnet"], "alias": "fct_perp_collateral_balances_base_mainnet", "checksum": {"name": "sha256", "checksum": "a778d139a4c22de1617542e7927b6ce82eb9192751656391c97a365bc74d52d8"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_id": {"name": "collateral_id", "description": "Market ID of the collateral, from the spot market", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_symbol": {"name": "synth_symbol", "description": "Symbol of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_type": {"name": "event_type", "description": "Description of the event, e.g. 'transfer' or 'liquidation'", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "Amount of the collateral token that was transferred", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_balance": {"name": "account_balance", "description": "Balance of the collateral token in the account after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_balance": {"name": "total_balance", "description": "Total balance of the collateral token in the perps system after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta_usd": {"name": "amount_delta_usd", "description": "USD value of the collateral token that was transferred", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_balance_usd": {"name": "account_balance_usd", "description": "USD value of the collateral token in the account after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_balance_usd": {"name": "total_balance_usd", "description": "Total USD value of the collateral token in the perps system after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.2063038, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_base_mainnet\"", "raw_code": "with synths as (\n select\n synth_market_id as collateral_id,\n synth_token_address\n from\n {{ ref('spot_synth_registered_base_mainnet') }}\n),\n\ntransfers as (\n select\n cm.block_number,\n cm.block_timestamp as ts,\n cm.transaction_hash,\n cm.synth_market_id as collateral_id,\n synths.synth_token_address,\n CAST(\n cm.account_id as text\n ) as account_id,\n {{ convert_wei('cm.amount_delta') }} as amount_delta\n from\n {{ ref('perp_collateral_modified_base_mainnet') }} as cm\n inner join synths\n on cm.synth_market_id = synths.collateral_id\n),\n\nliq_tx as (\n select distinct\n transaction_hash,\n CAST(\n account_id as text\n ) as account_id\n from\n {{ ref('perp_account_liquidation_attempt_base_mainnet') }}\n),\n\ndistributors as (\n select\n CAST(\n rd.distributor_address as text\n ) as distributor_address,\n CAST(\n rd.token_symbol as text\n ) as token_symbol,\n rd.synth_token_address,\n synths.collateral_id\n from\n {{ ref('base_mainnet_reward_distributors') }} as rd\n inner join synths\n on rd.synth_token_address = synths.synth_token_address\n),\n\nliquidations as (\n select\n rd.block_number,\n rd.block_timestamp as ts,\n -rd.amount / 1e18 as amount_delta,\n liq_tx.transaction_hash,\n rd.collateral_type,\n distributors.token_symbol,\n distributors.synth_token_address,\n CAST(\n liq_tx.account_id as text\n ) as account_id,\n distributors.collateral_id\n from\n {{ ref('core_rewards_distributed_base_mainnet') }} as rd\n inner join liq_tx\n on rd.transaction_hash = liq_tx.transaction_hash\n inner join distributors\n on rd.distributor = distributors.distributor_address\n),\n\nnet_transfers as (\n select\n events.ts,\n events.transaction_hash,\n events.event_type,\n events.collateral_id,\n events.synth_token_address,\n synths.synth_symbol,\n events.account_id,\n prices.price,\n events.amount_delta,\n SUM(\n events.amount_delta\n ) over (\n partition by\n events.account_id,\n events.collateral_id\n order by\n events.ts\n ) as account_balance,\n SUM(\n events.amount_delta\n ) over (\n partition by events.collateral_id\n order by\n events.ts\n ) as total_balance\n from\n (\n select\n transfers.ts,\n transfers.transaction_hash,\n transfers.collateral_id,\n transfers.synth_token_address,\n transfers.account_id,\n transfers.amount_delta,\n 'transfer' as event_type\n from\n transfers\n union all\n select\n liquidations.ts,\n liquidations.transaction_hash,\n liquidations.collateral_id,\n liquidations.synth_token_address,\n liquidations.account_id,\n liquidations.amount_delta,\n 'liquidation' as event_type\n from\n liquidations\n ) as events\n inner join {{ ref('base_mainnet_synths') }} as synths\n on events.collateral_id = synths.synth_market_id\n left join {{ ref('fct_prices_hourly_base_mainnet') }} as prices\n on\n synths.token_symbol = prices.market_symbol\n and DATE_TRUNC(\n 'hour',\n events.ts\n ) = prices.ts\n)\n\nselect\n net_transfers.ts,\n net_transfers.transaction_hash,\n net_transfers.event_type,\n net_transfers.collateral_id,\n net_transfers.synth_token_address,\n net_transfers.synth_symbol,\n net_transfers.account_id,\n net_transfers.price,\n net_transfers.amount_delta,\n net_transfers.amount_delta * net_transfers.price as amount_delta_usd,\n net_transfers.account_balance,\n net_transfers.account_balance * net_transfers.price as account_balance_usd,\n net_transfers.total_balance,\n net_transfers.total_balance * net_transfers.price as total_balance_usd\nfrom\n net_transfers", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}, {"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}, {"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}, {"name": "base_mainnet_reward_distributors", "package": null, "version": null}, {"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}, {"name": "base_mainnet_synths", "package": null, "version": null}, {"name": "fct_prices_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet", "model.synthetix.perp_collateral_modified_base_mainnet", "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "seed.synthetix.base_mainnet_reward_distributors", "model.synthetix.core_rewards_distributed_base_mainnet", "seed.synthetix.base_mainnet_synths", "model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_balances_base_mainnet.sql", "compiled": true, "compiled_code": "with synths as (\n select\n synth_market_id as collateral_id,\n synth_token_address\n from\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\n),\n\ntransfers as (\n select\n cm.block_number,\n cm.block_timestamp as ts,\n cm.transaction_hash,\n cm.synth_market_id as collateral_id,\n synths.synth_token_address,\n CAST(\n cm.account_id as text\n ) as account_id,\n \n cm.amount_delta / 1e18\n as amount_delta\n from\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\" as cm\n inner join synths\n on cm.synth_market_id = synths.collateral_id\n),\n\nliq_tx as (\n select distinct\n transaction_hash,\n CAST(\n account_id as text\n ) as account_id\n from\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\n),\n\ndistributors as (\n select\n CAST(\n rd.distributor_address as text\n ) as distributor_address,\n CAST(\n rd.token_symbol as text\n ) as token_symbol,\n rd.synth_token_address,\n synths.collateral_id\n from\n \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\" as rd\n inner join synths\n on rd.synth_token_address = synths.synth_token_address\n),\n\nliquidations as (\n select\n rd.block_number,\n rd.block_timestamp as ts,\n -rd.amount / 1e18 as amount_delta,\n liq_tx.transaction_hash,\n rd.collateral_type,\n distributors.token_symbol,\n distributors.synth_token_address,\n CAST(\n liq_tx.account_id as text\n ) as account_id,\n distributors.collateral_id\n from\n \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\" as rd\n inner join liq_tx\n on rd.transaction_hash = liq_tx.transaction_hash\n inner join distributors\n on rd.distributor = distributors.distributor_address\n),\n\nnet_transfers as (\n select\n events.ts,\n events.transaction_hash,\n events.event_type,\n events.collateral_id,\n events.synth_token_address,\n synths.synth_symbol,\n events.account_id,\n prices.price,\n events.amount_delta,\n SUM(\n events.amount_delta\n ) over (\n partition by\n events.account_id,\n events.collateral_id\n order by\n events.ts\n ) as account_balance,\n SUM(\n events.amount_delta\n ) over (\n partition by events.collateral_id\n order by\n events.ts\n ) as total_balance\n from\n (\n select\n transfers.ts,\n transfers.transaction_hash,\n transfers.collateral_id,\n transfers.synth_token_address,\n transfers.account_id,\n transfers.amount_delta,\n 'transfer' as event_type\n from\n transfers\n union all\n select\n liquidations.ts,\n liquidations.transaction_hash,\n liquidations.collateral_id,\n liquidations.synth_token_address,\n liquidations.account_id,\n liquidations.amount_delta,\n 'liquidation' as event_type\n from\n liquidations\n ) as events\n inner join \"analytics\".\"prod_seeds\".\"base_mainnet_synths\" as synths\n on events.collateral_id = synths.synth_market_id\n left join \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\" as prices\n on\n synths.token_symbol = prices.market_symbol\n and DATE_TRUNC(\n 'hour',\n events.ts\n ) = prices.ts\n)\n\nselect\n net_transfers.ts,\n net_transfers.transaction_hash,\n net_transfers.event_type,\n net_transfers.collateral_id,\n net_transfers.synth_token_address,\n net_transfers.synth_symbol,\n net_transfers.account_id,\n net_transfers.price,\n net_transfers.amount_delta,\n net_transfers.amount_delta * net_transfers.price as amount_delta_usd,\n net_transfers.account_balance,\n net_transfers.account_balance * net_transfers.price as account_balance_usd,\n net_transfers.total_balance,\n net_transfers.total_balance * net_transfers.price as total_balance_usd\nfrom\n net_transfers", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_reward": {"name": "total_reward", "description": "Total reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.2036483, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.191133, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest": {"name": "interest", "description": "Interest amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.1879702, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Account creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.2045755, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fill_price": {"name": "fill_price", "description": "Fill price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pnl": {"name": "pnl", "description": "PnL (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accrued_funding": {"name": "accrued_funding", "description": "Accrued funding (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trade_size": {"name": "trade_size", "description": "Trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "position_size": {"name": "position_size", "description": "Position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_fees": {"name": "total_fees", "description": "Total fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "Referral fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Collected fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_reward": {"name": "settlement_reward", "description": "Settlement reward (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "Account tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "notional_trade_size": {"name": "notional_trade_size", "description": "Notional trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "notional_position_size": {"name": "notional_position_size", "description": "Notional position size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "lp_fees": {"name": "lp_fees", "description": "LP fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "Exchange fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.1944377, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Market creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_name": {"name": "market_name", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.1982138, "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, "primary_key": [], "time_spine": 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": "c4e4c1ed33ef17c81846fdb1f17adcab518c12c4b2895df50a2318c0fdb45106"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "skew": {"name": "skew", "description": "Skew (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "Size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "Size delta (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_rate": {"name": "funding_rate", "description": "Funding rate (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_velocity": {"name": "funding_velocity", "description": "Funding velocity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_rate_apr": {"name": "funding_rate_apr", "description": "Funding rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_rate_apr": {"name": "long_rate_apr", "description": "Long rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_rate_apr": {"name": "short_rate_apr", "description": "Short rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "prev_size": {"name": "prev_size", "description": "Previous size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_oi_usd": {"name": "market_oi_usd", "description": "Market open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_oi_usd": {"name": "total_oi_usd", "description": "Total open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_oi": {"name": "long_oi", "description": "Long open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_oi": {"name": "short_oi", "description": "Short open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_oi_pct": {"name": "long_oi_pct", "description": "Long open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_oi_pct": {"name": "short_oi_pct", "description": "Short open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.2012048, "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 LAG({{ convert_wei('size') }}, 1, 0) over (\n partition by m.market_symbol\n order by\n mu.block_timestamp\n ) as prev_size\n from\n {{ ref('perp_market_updated_base_mainnet') }} as mu\n left join {{ ref('fct_perp_markets_base_mainnet') }} as m\n on mu.market_id = m.id\n),\n\noi as (\n select\n id,\n ts,\n size * price as market_oi_usd,\n LAG(\n size * price,\n 1,\n 0\n ) over (\n partition by market_symbol\n order by\n ts asc\n ) as prev_market_oi_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\n from\n base\n),\n\ntotal_oi as (\n select\n id,\n SUM(\n market_oi_usd - prev_market_oi_usd\n ) over (\n order by\n ts asc\n ) as total_oi_usd\n from\n oi\n)\n\nselect\n base.*,\n ROUND(\n oi.market_oi_usd,\n 2\n ) as market_oi_usd,\n ROUND(\n total_oi.total_oi_usd,\n 2\n ) as total_oi_usd,\n ROUND(\n oi.long_oi,\n 2\n ) as long_oi,\n ROUND(\n oi.short_oi,\n 2\n ) as short_oi,\n oi.long_oi_pct,\n oi.short_oi_pct\nfrom\n base\ninner join oi\n on base.id = oi.id\ninner join total_oi\n on base.id = total_oi.id", "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 LAG(\n size / 1e18\n, 1, 0) over (\n partition by m.market_symbol\n order by\n mu.block_timestamp\n ) as prev_size\n from\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\" as mu\n left join \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\" as m\n on mu.market_id = m.id\n),\n\noi as (\n select\n id,\n ts,\n size * price as market_oi_usd,\n LAG(\n size * price,\n 1,\n 0\n ) over (\n partition by market_symbol\n order by\n ts asc\n ) as prev_market_oi_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\n from\n base\n),\n\ntotal_oi as (\n select\n id,\n SUM(\n market_oi_usd - prev_market_oi_usd\n ) over (\n order by\n ts asc\n ) as total_oi_usd\n from\n oi\n)\n\nselect\n base.*,\n ROUND(\n oi.market_oi_usd,\n 2\n ) as market_oi_usd,\n ROUND(\n total_oi.total_oi_usd,\n 2\n ) as total_oi_usd,\n ROUND(\n oi.long_oi,\n 2\n ) as long_oi,\n ROUND(\n oi.short_oi,\n 2\n ) as short_oi,\n oi.long_oi_pct,\n oi.short_oi_pct\nfrom\n base\ninner join oi\n on base.id = oi.id\ninner join total_oi\n on base.id = total_oi.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, "primary_key": ["id"], "time_spine": 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": "3e69aeb3d1eba536e4da7e92aa624eda59f37cf19569508e4b1e910355925b0d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.189449, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"", "raw_code": "select\n cm.id,\n cm.block_timestamp,\n cm.account_id,\n cm.block_number,\n cm.transaction_hash,\n cm.contract,\n cm.event_name,\n synths.synth_symbol,\n cm.synth_market_id,\n synths.synth_token_address,\n cm.sender,\n {{ convert_wei(\"cm.amount_delta\") }} as amount_delta\nfrom\n {{ ref(\"perp_collateral_modified_base_mainnet\") }}\n as cm\ninner join {{ ref('base_mainnet_synths') }} as synths\n on cm.synth_market_id = synths.synth_market_id", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}, {"name": "base_mainnet_synths", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet", "seed.synthetix.base_mainnet_synths"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql", "compiled": true, "compiled_code": "select\n cm.id,\n cm.block_timestamp,\n cm.account_id,\n cm.block_number,\n cm.transaction_hash,\n cm.contract,\n cm.event_name,\n synths.synth_symbol,\n cm.synth_market_id,\n synths.synth_token_address,\n cm.sender,\n \n cm.amount_delta / 1e18\n as amount_delta\nfrom\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\n as cm\ninner join \"analytics\".\"prod_seeds\".\"base_mainnet_synths\" as synths\n on cm.synth_market_id = synths.synth_market_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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.559755, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Reward amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.5496376, "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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_core_active_stakers_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_active_stakers_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_active_stakers_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_active_stakers_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_active_stakers_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_active_stakers_daily_base_mainnet"], "alias": "fct_core_active_stakers_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "cd95a340c810ae5b2a88b4598632394b3b0a6e3c1801b96968db87910b8f5310"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet", "core", "active_stakers", "daily", "base", "mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet", "core", "active_stakers", "daily", "base", "mainnet"], "description": "Daily number of active stakers", "columns": {"block_date": {"name": "block_date", "description": "Date", "meta": {}, "data_type": "date", "constraints": [], "quote": null, "tags": [], "granularity": null}, "nof_stakers_daily": {"name": "nof_stakers_daily", "description": "Number of active stakers daily", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["core", "active_stakers", "daily", "base", "mainnet"], "schema": "base_mainnet", "materialized": "view"}, "created_at": 1734109926.5466845, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_active_stakers_daily_base_mainnet\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"core\", \"active_stakers\", \"daily\", \"base\", \"mainnet\"]\n) }}\n\nwith delegation_updated as (\n select\n block_timestamp,\n account_id,\n amount\n from {{ ref('core_delegation_updated_base_mainnet') }}\n),\n\ndim as (\n select\n d.block_date,\n accounts_unique.account_id\n from (\n select\n generate_series(\n date_trunc('day', date('2023-12-15')),\n date_trunc('day', current_date), '1 day'::interval\n ) as block_date\n ) as d\n cross join (\n select distinct account_id from delegation_updated\n ) as accounts_unique\n),\n\nstakers as (\n select\n dim.block_date,\n dim.account_id,\n case\n when coalesce(last(delegation_updated.amount) over (\n partition by dim.account_id\n order by dim.block_date\n rows between unbounded preceding and current row\n ), 0) = 0 then 0\n else 1\n end as is_staking\n from dim\n left join delegation_updated on\n dim.block_date = date(delegation_updated.block_timestamp)\n and dim.account_id = delegation_updated.account_id\n)\n\nselect\n block_date,\n sum(is_staking) as nof_stakers_daily\nfrom stakers\ngroup by block_date", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_active_stakers_daily_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nwith delegation_updated as (\n select\n block_timestamp,\n account_id,\n amount\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\n\ndim as (\n select\n d.block_date,\n accounts_unique.account_id\n from (\n select\n generate_series(\n date_trunc('day', date('2023-12-15')),\n date_trunc('day', current_date), '1 day'::interval\n ) as block_date\n ) as d\n cross join (\n select distinct account_id from delegation_updated\n ) as accounts_unique\n),\n\nstakers as (\n select\n dim.block_date,\n dim.account_id,\n case\n when coalesce(last(delegation_updated.amount) over (\n partition by dim.account_id\n order by dim.block_date\n rows between unbounded preceding and current row\n ), 0) = 0 then 0\n else 1\n end as is_staking\n from dim\n left join delegation_updated on\n dim.block_date = date(delegation_updated.block_timestamp)\n and dim.account_id = delegation_updated.account_id\n)\n\nselect\n block_date,\n sum(is_staking) as nof_stakers_daily\nfrom stakers\ngroup by block_date", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": 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": "04e6b0904f105b8af8cc2cce61e3994481c4e24b846dbfda4db0304af9cfa7c0"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": 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}, "event_time": null, "concurrent_batches": null, "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": 1734109922.9076872, "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.ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token\n from\n (\n select\n ts,\n collateral_type,\n pool_id,\n collateral_value\n from\n {{ ref('fct_pool_pnl_hourly_base_mainnet') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) as t\n cross join (\n select distinct token_symbol\n from\n (\n select token_symbol\n from {{ ref('fct_pool_rewards_token_hourly_base_mainnet') }}\n union all\n select token_symbol\n from {{ ref('fct_pool_rewards_pool_hourly_base_mainnet') }}\n ) as tokens\n ) as p\n group by\n t.ts,\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\nreward_hourly_pool as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.reward_token,\n dim.collateral_value,\n SUM(\n dim.collateral_value\n ) over (\n partition by\n dim.ts,\n dim.pool_id,\n dim.reward_token\n ) as pool_collateral_value,\n dim.collateral_value / SUM(\n dim.collateral_value\n ) over (\n partition by\n dim.ts,\n dim.pool_id,\n dim.reward_token\n ) as collateral_type_share,\n r.rewards_usd as pool_rewards,\n r.rewards_usd\n * (\n dim.collateral_value\n / SUM(dim.collateral_value)\n over (partition by dim.ts, dim.pool_id, dim.reward_token)\n ) as rewards_usd\n from\n (\n select\n r.ts,\n r.pool_id,\n r.token_symbol,\n r.rewards_usd\n from\n {{ ref('fct_pool_rewards_pool_hourly_base_mainnet') }} as r\n ) as r\n inner join dim\n on\n r.ts = dim.ts\n and r.pool_id = dim.pool_id\n and r.token_symbol = dim.reward_token\n),\n\n\nreward_hourly as (\n select\n ts,\n pool_id,\n collateral_type,\n reward_token,\n SUM(rewards_usd) as rewards_usd\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n reward_token,\n rewards_usd\n from reward_hourly_token\n union all\n select\n ts,\n pool_id,\n collateral_type,\n reward_token,\n rewards_usd\n from reward_hourly_pool\n ) as all_rewards\n group by ts, pool_id, collateral_type, reward_token\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.rewards_usd,\n 0\n ) as rewards_usd,\n case\n when dim.collateral_value = 0 then 0\n else COALESCE(\n reward_hourly.rewards_usd,\n 0\n ) / dim.collateral_value\n end as hourly_rewards_pct\nfrom\n dim\nleft join reward_hourly\n on\n dim.ts = reward_hourly.ts\n and dim.pool_id = reward_hourly.pool_id\n and LOWER(dim.collateral_type)\n = LOWER(reward_hourly.collateral_type)\n and dim.reward_token = reward_hourly.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_pool_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_pool_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", "model.synthetix.fct_pool_rewards_pool_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.ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token\n from\n (\n select\n ts,\n collateral_type,\n pool_id,\n collateral_value\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) as t\n cross join (\n select distinct token_symbol\n from\n (\n select token_symbol\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n union all\n select token_symbol\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_pool_hourly_base_mainnet\"\n ) as tokens\n ) as p\n group by\n t.ts,\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\nreward_hourly_pool as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.reward_token,\n dim.collateral_value,\n SUM(\n dim.collateral_value\n ) over (\n partition by\n dim.ts,\n dim.pool_id,\n dim.reward_token\n ) as pool_collateral_value,\n dim.collateral_value / SUM(\n dim.collateral_value\n ) over (\n partition by\n dim.ts,\n dim.pool_id,\n dim.reward_token\n ) as collateral_type_share,\n r.rewards_usd as pool_rewards,\n r.rewards_usd\n * (\n dim.collateral_value\n / SUM(dim.collateral_value)\n over (partition by dim.ts, dim.pool_id, dim.reward_token)\n ) as rewards_usd\n from\n (\n select\n r.ts,\n r.pool_id,\n r.token_symbol,\n r.rewards_usd\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_pool_hourly_base_mainnet\" as r\n ) as r\n inner join dim\n on\n r.ts = dim.ts\n and r.pool_id = dim.pool_id\n and r.token_symbol = dim.reward_token\n),\n\n\nreward_hourly as (\n select\n ts,\n pool_id,\n collateral_type,\n reward_token,\n SUM(rewards_usd) as rewards_usd\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n reward_token,\n rewards_usd\n from reward_hourly_token\n union all\n select\n ts,\n pool_id,\n collateral_type,\n reward_token,\n rewards_usd\n from reward_hourly_pool\n ) as all_rewards\n group by ts, pool_id, collateral_type, reward_token\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.rewards_usd,\n 0\n ) as rewards_usd,\n case\n when dim.collateral_value = 0 then 0\n else COALESCE(\n reward_hourly.rewards_usd,\n 0\n ) / dim.collateral_value\n end as hourly_rewards_pct\nfrom\n dim\nleft join reward_hourly\n on\n dim.ts = reward_hourly.ts\n and dim.pool_id = reward_hourly.pool_id\n and LOWER(dim.collateral_type)\n = LOWER(reward_hourly.collateral_type)\n and dim.reward_token = reward_hourly.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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_pool_rewards_pool_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_pool_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_rewards_pool_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_rewards_pool_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_pool_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_rewards_pool_hourly_base_mainnet"], "alias": "fct_pool_rewards_pool_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "a48e8dbd5af730e49212e065e85b4522b01bd163c0d0a77f1f1c446891696a65"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.5648725, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_pool_hourly_base_mainnet\"", "raw_code": "with dim_collateral as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.min_ts)),\n date_trunc('hour', max(t.max_ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select\n min(r.ts_start) as min_ts,\n max(\n r.ts_start + r.duration * '1 second'::INTERVAL\n ) as max_ts\n from\n {{ ref('fct_pool_rewards_base_mainnet') }} as r\n ) as t\n cross join (\n select distinct\n m.pool_id,\n m.collateral_type\n from\n {{ ref('fct_pool_debt_base_mainnet') }} as m\n ) as m\n group by\n m.pool_id,\n m.collateral_type\n),\n\ndim_pool as (\n select distinct\n ts,\n pool_id\n from\n dim_collateral\n),\n\nrewards_distributed as (\n select\n ts,\n pool_id,\n distributor,\n token_symbol,\n amount,\n ts_start,\n duration\n from\n {{ ref('fct_pool_rewards_base_mainnet') }}\n where\n collateral_type = '0x0000000000000000000000000000000000000000'\n),\n\nhourly_distributions as (\n select\n dim.ts,\n dim.pool_id,\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 r.distributor\n order by\n r.ts_start desc\n ) as distributor_index\n from\n dim_pool as dim\n left join rewards_distributed as r\n on\n dim.pool_id = r.pool_id\n and dim.ts + '1 hour'::INTERVAL >= r.ts_start\n and dim.ts < r.ts_start + r.duration * '1 second'::INTERVAL\n where\n r.duration > 0\n),\n\nstreamed_rewards as (\n select\n d.ts,\n d.pool_id,\n d.distributor,\n d.token_symbol,\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\n -- get the amount distributed this hour\n (\n extract(\n epoch\n from\n least(\n d.duration / 3600 * '1 hour'::INTERVAL,\n least(\n d.ts + '1 hour'::INTERVAL - greatest(\n d.ts,\n d.ts_start\n ),\n least(\n d.ts_start + d.duration * '1 second'::INTERVAL,\n d.ts + '1 hour'::INTERVAL\n ) - d.ts\n )\n )\n ) / 3600\n ) * d.amount / (\n d.duration / 3600\n ) as amount\n from\n hourly_distributions as d\n where\n d.distributor_index = 1\n),\n\ncombined as (\n select\n r.ts,\n r.pool_id,\n r.distributor,\n r.token_symbol,\n r.amount,\n p.price\n from\n streamed_rewards as r\n left join {{ ref('fct_prices_hourly_base_mainnet') }} as p\n on\n r.token_symbol = p.market_symbol\n and r.ts = p.ts\n)\n\nselect\n ts,\n pool_id,\n token_symbol,\n sum(amount) as amount,\n sum(\n amount * price\n ) as rewards_usd\nfrom\n combined\ngroup by\n ts,\n pool_id,\n token_symbol", "language": "sql", "refs": [{"name": "fct_pool_rewards_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_rewards_base_mainnet", "model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_pool_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "with dim_collateral as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.min_ts)),\n date_trunc('hour', max(t.max_ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select\n min(r.ts_start) as min_ts,\n max(\n r.ts_start + r.duration * '1 second'::INTERVAL\n ) as max_ts\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\" as r\n ) as t\n cross join (\n select distinct\n m.pool_id,\n m.collateral_type\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\" as m\n ) as m\n group by\n m.pool_id,\n m.collateral_type\n),\n\ndim_pool as (\n select distinct\n ts,\n pool_id\n from\n dim_collateral\n),\n\nrewards_distributed as (\n select\n ts,\n pool_id,\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 where\n collateral_type = '0x0000000000000000000000000000000000000000'\n),\n\nhourly_distributions as (\n select\n dim.ts,\n dim.pool_id,\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 r.distributor\n order by\n r.ts_start desc\n ) as distributor_index\n from\n dim_pool as dim\n left join rewards_distributed as r\n on\n dim.pool_id = r.pool_id\n and dim.ts + '1 hour'::INTERVAL >= r.ts_start\n and dim.ts < r.ts_start + r.duration * '1 second'::INTERVAL\n where\n r.duration > 0\n),\n\nstreamed_rewards as (\n select\n d.ts,\n d.pool_id,\n d.distributor,\n d.token_symbol,\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\n -- get the amount distributed this hour\n (\n extract(\n epoch\n from\n least(\n d.duration / 3600 * '1 hour'::INTERVAL,\n least(\n d.ts + '1 hour'::INTERVAL - greatest(\n d.ts,\n d.ts_start\n ),\n least(\n d.ts_start + d.duration * '1 second'::INTERVAL,\n d.ts + '1 hour'::INTERVAL\n ) - d.ts\n )\n )\n ) / 3600\n ) * d.amount / (\n d.duration / 3600\n ) as amount\n from\n hourly_distributions as d\n where\n d.distributor_index = 1\n),\n\ncombined as (\n select\n r.ts,\n r.pool_id,\n r.distributor,\n r.token_symbol,\n r.amount,\n p.price\n from\n streamed_rewards as r\n left join \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\" as p\n on\n r.token_symbol = p.market_symbol\n and r.ts = p.ts\n)\n\nselect\n ts,\n pool_id,\n token_symbol,\n sum(amount) as amount,\n sum(\n amount * price\n ) as rewards_usd\nfrom\n combined\ngroup by\n ts,\n pool_id,\n token_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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.5587058, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.554338, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109922.91925, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.5507636, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.5483632, "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, "primary_key": [], "time_spine": 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": "4333ad3e956b92a619bf12b67bbfeb0d29b424556acc245b563ccde6103520df"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": 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}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.5636575, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type'],\n) }}\n\nwith dim as (\n\n select\n 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(last(debt.debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by\n dim.ts\n rows between unbounded preceding\n and current row\n ), 0) as debt,\n coalesce(last(collateral.collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by\n dim.ts\n rows between unbounded preceding\n and current row\n ), 0) 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\npool_rewards as (\n select\n r.ts,\n r.pool_id,\n r.token_symbol,\n pnl.collateral_type,\n pnl.collateral_value,\n sum(\n pnl.collateral_value\n ) over (\n partition by\n r.ts,\n r.pool_id, r.token_symbol\n ) as pool_collateral_value,\n pnl.collateral_value / sum(\n pnl.collateral_value\n ) over (\n partition by\n r.ts,\n r.pool_id, r.token_symbol\n ) as collateral_type_share,\n r.rewards_usd as pool_rewards,\n -- reward share of pool rewards\n r.rewards_usd\n * (\n pnl.collateral_value\n / sum(pnl.collateral_value)\n over (partition by r.ts, r.pool_id, r.token_symbol)\n ) as rewards_usd\n from\n (\n select\n r.ts,\n r.pool_id,\n r.token_symbol,\n r.rewards_usd\n from\n {{ ref('fct_pool_rewards_pool_hourly_base_mainnet') }} as r\n ) as r\n inner join hourly_pnl as pnl\n on\n r.ts = pnl.ts\n and r.pool_id = pnl.pool_id\n),\n\nhourly_rewards as (\n select\n ts,\n pool_id,\n collateral_type,\n sum(rewards_usd) as rewards_usd\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n from {{ ref('fct_pool_rewards_token_hourly_base_mainnet') }}\n union all\n select\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n from pool_rewards\n ) as all_rewards\n group by ts, pool_id, collateral_type\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 coalesce(\n rewards.rewards_usd,\n 0\n ) + pnl.hourly_pnl + coalesce(\n iss.hourly_issuance,\n 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 lower(\n pnl.collateral_type\n ) = lower(\n rewards.collateral_type\n )\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_pool_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_debt_base_mainnet", "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "model.synthetix.core_vault_collateral_base_mainnet", "model.synthetix.fct_pool_rewards_pool_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_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nwith dim as (\n\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(last(debt.debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by\n dim.ts\n rows between unbounded preceding\n and current row\n ), 0) as debt,\n coalesce(last(collateral.collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by\n dim.ts\n rows between unbounded preceding\n and current row\n ), 0) 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\npool_rewards as (\n select\n r.ts,\n r.pool_id,\n r.token_symbol,\n pnl.collateral_type,\n pnl.collateral_value,\n sum(\n pnl.collateral_value\n ) over (\n partition by\n r.ts,\n r.pool_id, r.token_symbol\n ) as pool_collateral_value,\n pnl.collateral_value / sum(\n pnl.collateral_value\n ) over (\n partition by\n r.ts,\n r.pool_id, r.token_symbol\n ) as collateral_type_share,\n r.rewards_usd as pool_rewards,\n -- reward share of pool rewards\n r.rewards_usd\n * (\n pnl.collateral_value\n / sum(pnl.collateral_value)\n over (partition by r.ts, r.pool_id, r.token_symbol)\n ) as rewards_usd\n from\n (\n select\n r.ts,\n r.pool_id,\n r.token_symbol,\n r.rewards_usd\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_pool_hourly_base_mainnet\" as r\n ) as r\n inner join hourly_pnl as pnl\n on\n r.ts = pnl.ts\n and r.pool_id = pnl.pool_id\n),\n\nhourly_rewards as (\n select\n ts,\n pool_id,\n collateral_type,\n sum(rewards_usd) as rewards_usd\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n union all\n select\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n from pool_rewards\n ) as all_rewards\n group by ts, pool_id, collateral_type\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 coalesce(\n rewards.rewards_usd,\n 0\n ) + pnl.hourly_pnl + coalesce(\n iss.hourly_issuance,\n 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 lower(\n pnl.collateral_type\n ) = lower(\n rewards.collateral_type\n )\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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount issued", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.561952, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.5558896, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.5567303, "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, "primary_key": [], "time_spine": 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": "0ddca78a73ae870125e26dfdb8b5a508feeec78c4b71803a099b9bf891fae31b"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.5660853, "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.min_ts)),\n date_trunc('hour', max(t.max_ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select\n min(r.ts_start) as min_ts,\n max(\n r.ts_start + r.duration * '1 second'::INTERVAL\n ) as max_ts\n from\n {{ ref('fct_pool_rewards_base_mainnet') }} as r\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 where\n r.duration > 0\n),\n\nstreamed_rewards as (\n select\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\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\n -- get the amount distributed this hour\n (\n extract(\n epoch\n from\n least(\n d.duration / 3600 * '1 hour'::INTERVAL,\n least(\n d.ts + '1 hour'::INTERVAL - greatest(\n d.ts,\n d.ts_start\n ),\n least(\n d.ts_start + d.duration * '1 second'::INTERVAL,\n d.ts + '1 hour'::INTERVAL\n ) - d.ts\n )\n )\n ) / 3600\n ) * d.amount / (\n d.duration / 3600\n ) as amount\n from\n hourly_distributions as d\n where\n d.distributor_index = 1\n),\n\ninstant_rewards as (\n select\n date_trunc(\n 'hour',\n ts\n ) as ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n rewards_distributed\n where\n duration = 0\n),\n\ncombined as (\n select\n combo.ts,\n combo.pool_id,\n combo.collateral_type,\n combo.distributor,\n combo.token_symbol,\n combo.amount,\n p.price\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n streamed_rewards\n union all\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n instant_rewards\n ) as combo\n left join {{ ref('fct_prices_hourly_base_mainnet') }} as p\n on\n combo.token_symbol = p.market_symbol\n and combo.ts = p.ts\n)\n\nselect\n ts,\n pool_id,\n collateral_type,\n token_symbol,\n sum(amount) as amount,\n sum(\n amount * price\n ) as rewards_usd\nfrom\n combined\ngroup by\n ts,\n pool_id,\n collateral_type,\n token_symbol", "language": "sql", "refs": [{"name": "fct_pool_rewards_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_rewards_base_mainnet", "model.synthetix.fct_pool_debt_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.min_ts)),\n date_trunc('hour', max(t.max_ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select\n min(r.ts_start) as min_ts,\n max(\n r.ts_start + r.duration * '1 second'::INTERVAL\n ) as max_ts\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\" as r\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 where\n r.duration > 0\n),\n\nstreamed_rewards as (\n select\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\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\n -- get the amount distributed this hour\n (\n extract(\n epoch\n from\n least(\n d.duration / 3600 * '1 hour'::INTERVAL,\n least(\n d.ts + '1 hour'::INTERVAL - greatest(\n d.ts,\n d.ts_start\n ),\n least(\n d.ts_start + d.duration * '1 second'::INTERVAL,\n d.ts + '1 hour'::INTERVAL\n ) - d.ts\n )\n )\n ) / 3600\n ) * d.amount / (\n d.duration / 3600\n ) as amount\n from\n hourly_distributions as d\n where\n d.distributor_index = 1\n),\n\ninstant_rewards as (\n select\n date_trunc(\n 'hour',\n ts\n ) as ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n rewards_distributed\n where\n duration = 0\n),\n\ncombined as (\n select\n combo.ts,\n combo.pool_id,\n combo.collateral_type,\n combo.distributor,\n combo.token_symbol,\n combo.amount,\n p.price\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n streamed_rewards\n union all\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n instant_rewards\n ) as combo\n left join \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\" as p\n on\n combo.token_symbol = p.market_symbol\n and combo.ts = p.ts\n)\n\nselect\n ts,\n pool_id,\n collateral_type,\n token_symbol,\n sum(amount) as amount,\n sum(\n amount * price\n ) as rewards_usd\nfrom\n combined\ngroup by\n ts,\n pool_id,\n collateral_type,\n token_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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.5607076, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.5576556, "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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_core_account_activity_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_account_activity_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_account_activity_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_account_activity_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_account_activity_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_account_activity_base_mainnet"], "alias": "fct_core_account_activity_base_mainnet", "checksum": {"name": "sha256", "checksum": "ea8a812bb3cfb12d72183bc87a5007de63bc5d33f01115c8a69db7386731e5a2"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet", "core", "account_activity", "daily", "base", "mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet", "core", "account_activity", "daily", "base", "mainnet"], "description": "Daily number of accounts by action (Delegated, Withdrawn, Claimed)", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_action": {"name": "account_action", "description": "Type of LP action", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["core", "account_activity", "daily", "base", "mainnet"], "schema": "base_mainnet", "materialized": "view"}, "created_at": 1734109926.5459642, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_account_activity_base_mainnet\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"core\", \"account_activity\", \"daily\", \"base\", \"mainnet\"]\n) }}\n\nwith delegated as (\n select distinct\n block_timestamp,\n account_id,\n 'Delegated' as account_action\n from {{ ref('core_delegation_updated_base_mainnet') }}\n),\n\nwithdrawn as (\n select\n block_timestamp,\n account_id,\n 'Withdrawn' as account_action\n from {{ ref('core_withdrawn_base_mainnet') }}\n),\n\nclaimed as (\n select\n block_timestamp,\n account_id,\n 'Claimed' as account_action\n from {{ ref('core_rewards_claimed_base_mainnet') }}\n),\n\ncombined as (\n select * from delegated\n union all\n select * from withdrawn\n union all\n select * from claimed\n)\n\nselect\n block_timestamp,\n account_action,\n account_id\nfrom combined", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}, {"name": "core_withdrawn_base_mainnet", "package": null, "version": null}, {"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet", "model.synthetix.core_withdrawn_base_mainnet", "model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_activity_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nwith delegated as (\n select distinct\n block_timestamp,\n account_id,\n 'Delegated' as account_action\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\n\nwithdrawn as (\n select\n block_timestamp,\n account_id,\n 'Withdrawn' as account_action\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\n),\n\nclaimed as (\n select\n block_timestamp,\n account_id,\n 'Claimed' as account_action\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\n),\n\ncombined as (\n select * from delegated\n union all\n select * from withdrawn\n union all\n select * from claimed\n)\n\nselect\n block_timestamp,\n account_action,\n account_id\nfrom combined", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.9158156, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.9235787, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.9193838, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.9181325, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.9226072, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.924523, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.9170146, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.9254236, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.921672, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.9205399, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.9280276, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_address": {"name": "token_address", "description": "Token address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.928993, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "supply": {"name": "supply", "description": "Supply", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.926604, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.930187, "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, "primary_key": ["id"], "time_spine": 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": "97c128fe8496d99371c810d873ae79c8a6d3d85180ca37ad1953da334c39fa44"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.9922993, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_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_arbitrum_sepolia') }}\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_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": "fct_perp_market_history_arbitrum_sepolia", "package": null, "version": null}, {"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.fct_perp_market_history_arbitrum_sepolia", "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 null as market_address,\n market_symbol,\n price\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_sepolia\"\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_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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109926.9935873, "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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_liq_position_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_liq_position_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_liq_position_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_liq_position_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_liq_position_arbitrum_sepolia"], "alias": "fct_perp_liq_position_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "58fcaa409fe81b13405dcc559511c8350525ab774d4f4af0af961d8e8227a839"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "position_size": {"name": "position_size", "description": "Liquidated position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.0314882, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_arbitrum_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_arbitrum_sepolia') }}\n),\n\nmarkets as (\n select\n id,\n market_symbol\n from\n {{ ref('fct_perp_markets_arbitrum_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_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_position_liquidated_arbitrum_sepolia", "model.synthetix.fct_perp_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_liq_position_arbitrum_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_arbitrum_sepolia\".\"perp_position_liquidated_arbitrum_sepolia\"\n),\n\nmarkets as (\n select\n id,\n market_symbol\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_markets_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_previous_order_expired_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_previous_order_expired_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_previous_order_expired_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_previous_order_expired_arbitrum_sepolia"], "alias": "fct_perp_previous_order_expired_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "ee755b3b286133e2a8910532275ceb479c76ae1244120726e4656dd779005c88"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.0200162, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_previous_order_expired_arbitrum_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_arbitrum_sepolia\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_previous_order_expired_arbitrum_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_arbitrum_sepolia\".\"perp_previous_order_expired_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_collateral_balances_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_collateral_balances_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_collateral_balances_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_collateral_balances_arbitrum_sepolia"], "alias": "fct_perp_collateral_balances_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "79d9bf23be5871f5e6ab81971bf7e6be51387b1e623b509b0de25efde3620115"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_id": {"name": "collateral_id", "description": "Market ID of the collateral, from the spot market", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_symbol": {"name": "synth_symbol", "description": "Symbol of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_type": {"name": "event_type", "description": "Description of the event, e.g. 'transfer' or 'liquidation'", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "Amount of the collateral token that was transferred", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_balance": {"name": "account_balance", "description": "Balance of the collateral token in the account after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_balance": {"name": "total_balance", "description": "Total balance of the collateral token in the perps system after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta_usd": {"name": "amount_delta_usd", "description": "USD value of the collateral token that was transferred", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_balance_usd": {"name": "account_balance_usd", "description": "USD value of the collateral token in the account after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_balance_usd": {"name": "total_balance_usd", "description": "Total USD value of the collateral token in the perps system after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.0350306, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_arbitrum_sepolia\"", "raw_code": "with synths as (\n select\n synth_market_id as collateral_id,\n synth_token_address\n from\n {{ ref('spot_synth_registered_arbitrum_sepolia') }}\n),\n\ntransfers as (\n select\n cm.block_number,\n cm.block_timestamp as ts,\n cm.transaction_hash,\n cm.collateral_id,\n synths.synth_token_address,\n CAST(cm.account_id as text) as account_id,\n {{ convert_wei('cm.amount_delta') }} as amount_delta\n from\n {{ ref('perp_collateral_modified_arbitrum_sepolia') }} as cm\n inner join synths\n on cm.collateral_id = synths.collateral_id\n),\n\nliq_tx as (\n select distinct\n transaction_hash,\n CAST(account_id as text) as account_id\n from\n {{ ref('perp_account_liquidation_attempt_arbitrum_sepolia') }}\n),\n\ndistributors as (\n select\n CAST(rd.distributor_address as text) as distributor_address,\n CAST(rd.token_symbol as text) as token_symbol,\n rd.synth_token_address,\n synths.collateral_id\n from\n {{ ref('arbitrum_sepolia_reward_distributors') }} as rd\n inner join synths\n on rd.synth_token_address = synths.synth_token_address\n),\n\nliquidations as (\n select\n rd.block_number,\n rd.block_timestamp as ts,\n -rd.amount / 1e18 as amount_delta,\n liq_tx.transaction_hash,\n rd.collateral_type,\n distributors.token_symbol,\n distributors.synth_token_address,\n CAST(liq_tx.account_id as text) as account_id,\n distributors.collateral_id\n from\n {{ ref('core_rewards_distributed_arbitrum_sepolia') }} as rd\n inner join liq_tx\n on rd.transaction_hash = liq_tx.transaction_hash\n inner join distributors\n on rd.distributor = distributors.distributor_address\n),\n\nnet_transfers as (\n select\n events.ts,\n events.transaction_hash,\n events.event_type,\n events.collateral_id,\n events.synth_token_address,\n synths.synth_symbol,\n events.account_id,\n prices.price,\n events.amount_delta,\n SUM(events.amount_delta) over (\n partition by events.account_id, events.collateral_id\n order by events.ts\n ) as account_balance,\n SUM(events.amount_delta) over (\n partition by events.collateral_id\n order by events.ts\n ) as total_balance\n from (\n select\n transfers.ts,\n transfers.transaction_hash,\n transfers.collateral_id,\n transfers.synth_token_address,\n transfers.account_id,\n transfers.amount_delta,\n 'transfer' as event_type\n from\n transfers\n union all\n select\n liquidations.ts,\n liquidations.transaction_hash,\n liquidations.collateral_id,\n liquidations.synth_token_address,\n liquidations.account_id,\n liquidations.amount_delta,\n 'liquidation' as event_type\n from\n liquidations\n ) as events\n inner join {{ ref('arbitrum_sepolia_synths') }} as synths\n on events.collateral_id = synths.synth_market_id\n left join {{ ref('fct_prices_hourly_arbitrum_sepolia') }} as prices\n on\n synths.token_symbol = prices.market_symbol\n and DATE_TRUNC('hour', events.ts) = prices.ts\n)\n\nselect\n net_transfers.ts,\n net_transfers.transaction_hash,\n net_transfers.event_type,\n net_transfers.collateral_id,\n net_transfers.synth_token_address,\n net_transfers.synth_symbol,\n net_transfers.account_id,\n net_transfers.price,\n net_transfers.amount_delta,\n net_transfers.amount_delta * net_transfers.price as amount_delta_usd,\n net_transfers.account_balance,\n net_transfers.account_balance * net_transfers.price as account_balance_usd,\n net_transfers.total_balance,\n net_transfers.total_balance * net_transfers.price as total_balance_usd\nfrom\n net_transfers", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}, {"name": "perp_collateral_modified_arbitrum_sepolia", "package": null, "version": null}, {"name": "perp_account_liquidation_attempt_arbitrum_sepolia", "package": null, "version": null}, {"name": "arbitrum_sepolia_reward_distributors", "package": null, "version": null}, {"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}, {"name": "arbitrum_sepolia_synths", "package": null, "version": null}, {"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia", "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "seed.synthetix.arbitrum_sepolia_reward_distributors", "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "seed.synthetix.arbitrum_sepolia_synths", "model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_collateral_balances_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "with synths as (\n select\n synth_market_id as collateral_id,\n synth_token_address\n from\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\n),\n\ntransfers as (\n select\n cm.block_number,\n cm.block_timestamp as ts,\n cm.transaction_hash,\n cm.collateral_id,\n synths.synth_token_address,\n CAST(cm.account_id as text) as account_id,\n \n cm.amount_delta / 1e18\n as amount_delta\n from\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_arbitrum_sepolia\" as cm\n inner join synths\n on cm.collateral_id = synths.collateral_id\n),\n\nliq_tx as (\n select distinct\n transaction_hash,\n CAST(account_id as text) as account_id\n from\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_arbitrum_sepolia\"\n),\n\ndistributors as (\n select\n CAST(rd.distributor_address as text) as distributor_address,\n CAST(rd.token_symbol as text) as token_symbol,\n rd.synth_token_address,\n synths.collateral_id\n from\n \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\" as rd\n inner join synths\n on rd.synth_token_address = synths.synth_token_address\n),\n\nliquidations as (\n select\n rd.block_number,\n rd.block_timestamp as ts,\n -rd.amount / 1e18 as amount_delta,\n liq_tx.transaction_hash,\n rd.collateral_type,\n distributors.token_symbol,\n distributors.synth_token_address,\n CAST(liq_tx.account_id as text) as account_id,\n distributors.collateral_id\n from\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\" as rd\n inner join liq_tx\n on rd.transaction_hash = liq_tx.transaction_hash\n inner join distributors\n on rd.distributor = distributors.distributor_address\n),\n\nnet_transfers as (\n select\n events.ts,\n events.transaction_hash,\n events.event_type,\n events.collateral_id,\n events.synth_token_address,\n synths.synth_symbol,\n events.account_id,\n prices.price,\n events.amount_delta,\n SUM(events.amount_delta) over (\n partition by events.account_id, events.collateral_id\n order by events.ts\n ) as account_balance,\n SUM(events.amount_delta) over (\n partition by events.collateral_id\n order by events.ts\n ) as total_balance\n from (\n select\n transfers.ts,\n transfers.transaction_hash,\n transfers.collateral_id,\n transfers.synth_token_address,\n transfers.account_id,\n transfers.amount_delta,\n 'transfer' as event_type\n from\n transfers\n union all\n select\n liquidations.ts,\n liquidations.transaction_hash,\n liquidations.collateral_id,\n liquidations.synth_token_address,\n liquidations.account_id,\n liquidations.amount_delta,\n 'liquidation' as event_type\n from\n liquidations\n ) as events\n inner join \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_synths\" as synths\n on events.collateral_id = synths.synth_market_id\n left join \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\" as prices\n on\n synths.token_symbol = prices.market_symbol\n and DATE_TRUNC('hour', events.ts) = prices.ts\n)\n\nselect\n net_transfers.ts,\n net_transfers.transaction_hash,\n net_transfers.event_type,\n net_transfers.collateral_id,\n net_transfers.synth_token_address,\n net_transfers.synth_symbol,\n net_transfers.account_id,\n net_transfers.price,\n net_transfers.amount_delta,\n net_transfers.amount_delta * net_transfers.price as amount_delta_usd,\n net_transfers.account_balance,\n net_transfers.account_balance * net_transfers.price as account_balance_usd,\n net_transfers.total_balance,\n net_transfers.total_balance * net_transfers.price as total_balance_usd\nfrom\n net_transfers", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_collateral_modified_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_collateral_modified_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_collateral_modified_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_collateral_modified_arbitrum_sepolia"], "alias": "fct_perp_collateral_modified_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "9135c3cd276f0efea8190e26a1c0feca65bf998f819d17a2d946f71d2a5172f1"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.018174, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_modified_arbitrum_sepolia\"", "raw_code": "select\n cm.id,\n cm.block_timestamp,\n cm.account_id,\n cm.block_number,\n cm.transaction_hash,\n cm.contract,\n cm.event_name,\n synths.synth_symbol,\n cm.collateral_id as synth_market_id,\n synths.synth_token_address,\n cm.sender,\n {{ convert_wei(\"cm.amount_delta\") }} as amount_delta\nfrom\n {{ ref(\"perp_collateral_modified_arbitrum_sepolia\") }}\n as cm\ninner join {{ ref('arbitrum_sepolia_synths') }} as synths\n on cm.collateral_id = synths.synth_market_id", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_sepolia", "package": null, "version": null}, {"name": "arbitrum_sepolia_synths", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_collateral_modified_arbitrum_sepolia", "seed.synthetix.arbitrum_sepolia_synths"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_collateral_modified_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "select\n cm.id,\n cm.block_timestamp,\n cm.account_id,\n cm.block_number,\n cm.transaction_hash,\n cm.contract,\n cm.event_name,\n synths.synth_symbol,\n cm.collateral_id as synth_market_id,\n synths.synth_token_address,\n cm.sender,\n \n cm.amount_delta / 1e18\n as amount_delta\nfrom\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_arbitrum_sepolia\"\n as cm\ninner join \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_synths\" as synths\n on cm.collateral_id = synths.synth_market_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_markets_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_markets_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_markets_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_markets_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_markets_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_markets_arbitrum_sepolia"], "alias": "fct_perp_markets_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "51724b0fbde56beb37ef218c773d11b1d3956344836d866a3b46f4145ab31082"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Market creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_name": {"name": "market_name", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.0269198, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_markets_arbitrum_sepolia\"", "raw_code": "with arbitrum 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_arbitrum_sepolia') }}\n)\n\nselect *\nfrom\n arbitrum", "language": "sql", "refs": [{"name": "perp_market_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_markets_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "with arbitrum 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_arbitrum_sepolia\".\"perp_market_created_arbitrum_sepolia\"\n)\n\nselect *\nfrom\n arbitrum", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_pnl_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_pnl_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_pnl_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_pnl_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_pnl_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_pnl_arbitrum_sepolia"], "alias": "fct_perp_pnl_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "137f1c82b663cf64ced48d6a5f3f42d338abee3145fe7ea5a9a5e268c99219a6"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_pnl": {"name": "market_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.024026, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_pnl_arbitrum_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_arbitrum_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_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/perp/fct_perp_pnl_arbitrum_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_arbitrum_sepolia\".\"core_vault_debt_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_liq_account_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_liq_account_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_liq_account_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_liq_account_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_liq_account_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_liq_account_arbitrum_sepolia"], "alias": "fct_perp_liq_account_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "60a3d6add086da2596e8660f290e49f94000475190ec0cf9e3db540068130ee5"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_reward": {"name": "total_reward", "description": "Total reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.0323586, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_account_arbitrum_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_arbitrum_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_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_liq_account_arbitrum_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_arbitrum_sepolia\".\"perp_account_liquidation_attempt_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_accounts_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_accounts_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_accounts_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_accounts_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_accounts_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_accounts_arbitrum_sepolia"], "alias": "fct_perp_accounts_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "6771ac71bccef8f113ca25c068559ee0cead6582ddf9e9c4a9474beff5fb61ea"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Account creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.0332139, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_accounts_arbitrum_sepolia\"", "raw_code": "with arbitrum 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_arbitrum_sepolia') }}\n)\n\nselect *\nfrom\n arbitrum", "language": "sql", "refs": [{"name": "perp_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_accounts_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "with arbitrum 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_arbitrum_sepolia\".\"perp_account_created_arbitrum_sepolia\"\n)\n\nselect *\nfrom\n arbitrum", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_orders_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_orders_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_orders_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_orders_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_orders_arbitrum_sepolia"], "alias": "fct_perp_orders_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "9dcd663eef6bcf2ddccac3b3fcaa665de8468de57d958538c40c3022713196f0"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.0258276, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_orders_arbitrum_sepolia\"", "raw_code": "with arbitrum 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_arbitrum_sepolia') }}\n as oc\n left join {{ ref('fct_perp_markets_arbitrum_sepolia') }} as markets\n on oc.market_id = markets.id\n)\n\nselect *\nfrom\n arbitrum", "language": "sql", "refs": [{"name": "perp_order_committed_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_committed_arbitrum_sepolia", "model.synthetix.fct_perp_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_orders_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "with arbitrum 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_arbitrum_sepolia\".\"perp_order_committed_arbitrum_sepolia\"\n as oc\n left join \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_markets_arbitrum_sepolia\" as markets\n on oc.market_id = markets.id\n)\n\nselect *\nfrom\n arbitrum", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_interest_charged_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_interest_charged_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_interest_charged_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_interest_charged_arbitrum_sepolia"], "alias": "fct_perp_interest_charged_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "af32d1a3f42c160fb6b5c2cef4854b7cbf3b313ff223a409656b20c748620a58"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest": {"name": "interest", "description": "Interest amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.0167093, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_interest_charged_arbitrum_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_arbitrum_sepolia\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_interest_charged_arbitrum_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_arbitrum_sepolia\".\"perp_interest_charged_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_market_history_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_market_history_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_market_history_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_market_history_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_market_history_arbitrum_sepolia"], "alias": "fct_perp_market_history_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "586d93ba4f939fbaf2c44458f129cf6ba37697c28d7e340b082b858d9b45e5f6"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "skew": {"name": "skew", "description": "Skew (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "Size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "Size delta (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_rate": {"name": "funding_rate", "description": "Funding rate (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_velocity": {"name": "funding_velocity", "description": "Funding velocity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_rate_apr": {"name": "funding_rate_apr", "description": "Funding rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_rate_apr": {"name": "long_rate_apr", "description": "Long rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_rate_apr": {"name": "short_rate_apr", "description": "Short rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "prev_size": {"name": "prev_size", "description": "Previous size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_oi_usd": {"name": "market_oi_usd", "description": "Market open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_oi_usd": {"name": "total_oi_usd", "description": "Total open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_oi": {"name": "long_oi", "description": "Long open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_oi": {"name": "short_oi", "description": "Short open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_oi_pct": {"name": "long_oi_pct", "description": "Long open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_oi_pct": {"name": "short_oi_pct", "description": "Short open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.0298245, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_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 LAG({{ convert_wei('size') }}, 1, 0) over (\n partition by m.market_symbol\n order by\n mu.block_timestamp\n ) as prev_size\n from\n {{ ref('perp_market_updated_arbitrum_sepolia') }} as mu\n left join {{ ref('fct_perp_markets_arbitrum_sepolia') }} as m\n on mu.market_id = m.id\n),\n\noi as (\n select\n id,\n ts,\n size * price as market_oi_usd,\n LAG(\n size * price,\n 1,\n 0\n ) over (\n partition by market_symbol\n order by\n ts asc\n ) as prev_market_oi_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\n from\n base\n),\n\ntotal_oi as (\n select\n id,\n SUM(\n market_oi_usd - prev_market_oi_usd\n ) over (\n order by\n ts asc\n ) as total_oi_usd\n from\n oi\n)\n\nselect\n base.*,\n ROUND(\n oi.market_oi_usd,\n 2\n ) as market_oi_usd,\n ROUND(\n total_oi.total_oi_usd,\n 2\n ) as total_oi_usd,\n ROUND(\n oi.long_oi,\n 2\n ) as long_oi,\n ROUND(\n oi.short_oi,\n 2\n ) as short_oi,\n oi.long_oi_pct,\n oi.short_oi_pct\nfrom\n base\ninner join oi\n on base.id = oi.id\ninner join total_oi\n on base.id = total_oi.id", "language": "sql", "refs": [{"name": "perp_market_updated_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_market_updated_arbitrum_sepolia", "model.synthetix.fct_perp_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_market_history_arbitrum_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 LAG(\n size / 1e18\n, 1, 0) over (\n partition by m.market_symbol\n order by\n mu.block_timestamp\n ) as prev_size\n from\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_updated_arbitrum_sepolia\" as mu\n left join \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_markets_arbitrum_sepolia\" as m\n on mu.market_id = m.id\n),\n\noi as (\n select\n id,\n ts,\n size * price as market_oi_usd,\n LAG(\n size * price,\n 1,\n 0\n ) over (\n partition by market_symbol\n order by\n ts asc\n ) as prev_market_oi_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\n from\n base\n),\n\ntotal_oi as (\n select\n id,\n SUM(\n market_oi_usd - prev_market_oi_usd\n ) over (\n order by\n ts asc\n ) as total_oi_usd\n from\n oi\n)\n\nselect\n base.*,\n ROUND(\n oi.market_oi_usd,\n 2\n ) as market_oi_usd,\n ROUND(\n total_oi.total_oi_usd,\n 2\n ) as total_oi_usd,\n ROUND(\n oi.long_oi,\n 2\n ) as long_oi,\n ROUND(\n oi.short_oi,\n 2\n ) as short_oi,\n oi.long_oi_pct,\n oi.short_oi_pct\nfrom\n base\ninner join oi\n on base.id = oi.id\ninner join total_oi\n on base.id = total_oi.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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_trades_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_trades_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_trades_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_trades_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_trades_arbitrum_sepolia"], "alias": "fct_perp_trades_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "4a12c832a39293b0bfb32d7be97314ee6ce00ba0bfd53829c94796f6194f2bb0"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fill_price": {"name": "fill_price", "description": "Fill price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pnl": {"name": "pnl", "description": "PnL (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accrued_funding": {"name": "accrued_funding", "description": "Accrued funding (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trade_size": {"name": "trade_size", "description": "Trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "position_size": {"name": "position_size", "description": "Position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_fees": {"name": "total_fees", "description": "Total fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "Referral fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Collected fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_reward": {"name": "settlement_reward", "description": "Settlement reward (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "Account tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "notional_trade_size": {"name": "notional_trade_size", "description": "Notional trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "notional_position_size": {"name": "notional_position_size", "description": "Notional position size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "lp_fees": {"name": "lp_fees", "description": "LP fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "Exchange fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.0231817, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_sepolia\"", "raw_code": "with arbitrum 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_arbitrum_sepolia') }} as pos\n left join {{ ref('fct_perp_markets_arbitrum_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 arbitrum", "language": "sql", "refs": [{"name": "perp_order_settled_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_settled_arbitrum_sepolia", "model.synthetix.fct_perp_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_trades_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "with arbitrum 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_arbitrum_sepolia\".\"perp_order_settled_arbitrum_sepolia\" as pos\n left join \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_markets_arbitrum_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 arbitrum", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_account_activity_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_account_activity_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp/fct_perp_account_activity_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/fct_perp_account_activity_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_account_activity_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "fct_perp_account_activity_arbitrum_sepolia"], "alias": "fct_perp_account_activity_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "a3dadfe44a8f59835e56074e573a945a19ff0b1deb58d0e49cca995bb7b9c5a8"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia", "perp", "account_activity", "arbitrum", "sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia", "perp", "account_activity", "arbitrum", "sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Activity date", "meta": {}, "data_type": "date", "constraints": [], "quote": null, "tags": [], "granularity": null}, "dau": {"name": "dau", "description": "Daily active users", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "mau": {"name": "mau", "description": "Monthly active users", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_accounts_daily": {"name": "new_accounts_daily", "description": "Daily new accounts", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_accounts_monthly": {"name": "new_accounts_monthly", "description": "Monthly new accounts", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": ["perp", "account_activity", "arbitrum", "sepolia"], "schema": "arbitrum_sepolia", "materialized": "view"}, "created_at": 1734109927.0151997, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_account_activity_arbitrum_sepolia\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"perp\", \"account_activity\", \"arbitrum\", \"sepolia\"]\n) }}\n\nwith active_accounts as (\n select distinct\n date_trunc('day', ts) as activity_date,\n account_id\n from {{ ref('fct_perp_trades_arbitrum_sepolia') }}\n),\n\ndate_range as (\n select\n generate_series(\n date(min(activity_date)),\n date(max(activity_date)),\n interval '1 day'\n )::date as activity_date\n from active_accounts\n),\n\nactive_accounts_daily as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on date_range.activity_date = active_accounts.activity_date\n group by date_range.activity_date\n),\n\nactive_accounts_monthly as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on\n date_range.activity_date - interval '27 days'\n <= active_accounts.activity_date\n and date_range.activity_date >= active_accounts.activity_date\n group by date_range.activity_date\n),\n\nnew_accounts as (\n select\n min(activity_date) as start_date,\n account_id\n from active_accounts\n group by account_id\n),\n\nnew_accounts_daily as (\n select\n date_range.activity_date,\n count(new_accounts.account_id) as new_accounts\n from date_range\n left join new_accounts\n on date_range.activity_date = new_accounts.start_date\n group by date_range.activity_date, new_accounts.start_date\n),\n\nnew_accounts_monthly as (\n select distinct\n activity_date,\n sum(new_accounts) over (\n order by activity_date\n range between interval '27 days' preceding and current row\n ) as new_accounts\n from new_accounts_daily\n)\n\nselect\n dr.activity_date as ts,\n dau.active_accounts as dau,\n mau.active_accounts as mau,\n new_accounts_daily.new_accounts as new_accounts_daily,\n new_accounts_monthly.new_accounts as new_accounts_monthly\nfrom date_range as dr\nleft join active_accounts_daily as dau\n on dr.activity_date = dau.activity_date\nleft join active_accounts_monthly as mau\n on dr.activity_date = mau.activity_date\nleft join new_accounts_daily\n on dr.activity_date = new_accounts_daily.activity_date\nleft join new_accounts_monthly\n on dr.activity_date = new_accounts_monthly.activity_date\norder by ts desc", "language": "sql", "refs": [{"name": "fct_perp_trades_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/fct_perp_account_activity_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\n\nwith active_accounts as (\n select distinct\n date_trunc('day', ts) as activity_date,\n account_id\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_sepolia\"\n),\n\ndate_range as (\n select\n generate_series(\n date(min(activity_date)),\n date(max(activity_date)),\n interval '1 day'\n )::date as activity_date\n from active_accounts\n),\n\nactive_accounts_daily as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on date_range.activity_date = active_accounts.activity_date\n group by date_range.activity_date\n),\n\nactive_accounts_monthly as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on\n date_range.activity_date - interval '27 days'\n <= active_accounts.activity_date\n and date_range.activity_date >= active_accounts.activity_date\n group by date_range.activity_date\n),\n\nnew_accounts as (\n select\n min(activity_date) as start_date,\n account_id\n from active_accounts\n group by account_id\n),\n\nnew_accounts_daily as (\n select\n date_range.activity_date,\n count(new_accounts.account_id) as new_accounts\n from date_range\n left join new_accounts\n on date_range.activity_date = new_accounts.start_date\n group by date_range.activity_date, new_accounts.start_date\n),\n\nnew_accounts_monthly as (\n select distinct\n activity_date,\n sum(new_accounts) over (\n order by activity_date\n range between interval '27 days' preceding and current row\n ) as new_accounts\n from new_accounts_daily\n)\n\nselect\n dr.activity_date as ts,\n dau.active_accounts as dau,\n mau.active_accounts as mau,\n new_accounts_daily.new_accounts as new_accounts_daily,\n new_accounts_monthly.new_accounts as new_accounts_monthly\nfrom date_range as dr\nleft join active_accounts_daily as dau\n on dr.activity_date = dau.activity_date\nleft join active_accounts_monthly as mau\n on dr.activity_date = mau.activity_date\nleft join new_accounts_daily\n on dr.activity_date = new_accounts_daily.activity_date\nleft join new_accounts_monthly\n on dr.activity_date = new_accounts_monthly.activity_date\norder by 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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount issued", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.391597, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.3855054, "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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_core_account_activity_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_account_activity_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_account_activity_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_account_activity_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_account_activity_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_account_activity_arbitrum_sepolia"], "alias": "fct_core_account_activity_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "642f4ba39f1b33a4d6c39d690b06124108828cfd4f84ca9329fa716797b5d305"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia", "core", "account_activity", "daily", "arbitrum", "sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia", "core", "account_activity", "daily", "arbitrum", "sepolia"], "description": "Daily number of accounts by action (Delegated, Withdrawn, Claimed)", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_action": {"name": "account_action", "description": "Type of LP action", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["core", "account_activity", "daily", "arbitrum", "sepolia"], "schema": "arbitrum_sepolia", "materialized": "view"}, "created_at": 1734109927.377573, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_activity_arbitrum_sepolia\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"core\", \"account_activity\", \"daily\", \"arbitrum\", \"sepolia\"]\n) }}\n\nwith delegated as (\n select distinct\n block_timestamp,\n account_id,\n 'Delegated' as account_action\n from {{ ref('core_delegation_updated_arbitrum_sepolia') }}\n),\n\nwithdrawn as (\n select\n block_timestamp,\n account_id,\n 'Withdrawn' as account_action\n from {{ ref('core_withdrawn_arbitrum_sepolia') }}\n),\n\nclaimed as (\n select\n block_timestamp,\n account_id,\n 'Claimed' as account_action\n from {{ ref('core_rewards_claimed_arbitrum_sepolia') }}\n),\n\ncombined as (\n select * from delegated\n union all\n select * from withdrawn\n union all\n select * from claimed\n)\n\nselect\n block_timestamp,\n account_action,\n account_id\nfrom combined", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia", "model.synthetix.core_withdrawn_arbitrum_sepolia", "model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_activity_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\n\nwith delegated as (\n select distinct\n block_timestamp,\n account_id,\n 'Delegated' as account_action\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\n\nwithdrawn as (\n select\n block_timestamp,\n account_id,\n 'Withdrawn' as account_action\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\n),\n\nclaimed as (\n select\n block_timestamp,\n account_id,\n 'Claimed' as account_action\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\n),\n\ncombined as (\n select * from delegated\n union all\n select * from withdrawn\n union all\n select * from claimed\n)\n\nselect\n block_timestamp,\n account_action,\n account_id\nfrom combined", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.3872697, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.3863318, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.3882356, "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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_core_active_stakers_daily_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_active_stakers_daily_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_active_stakers_daily_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_active_stakers_daily_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_active_stakers_daily_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_active_stakers_daily_arbitrum_sepolia"], "alias": "fct_core_active_stakers_daily_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "c96300335f53142cd40891b917c7127270069c66c32357755e304128c11a4077"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia", "core", "active_stakers", "daily", "arbitrum", "sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia", "core", "active_stakers", "daily", "arbitrum", "sepolia"], "description": "Daily number of active stakers", "columns": {"block_date": {"name": "block_date", "description": "Date", "meta": {}, "data_type": "date", "constraints": [], "quote": null, "tags": [], "granularity": null}, "nof_stakers_daily": {"name": "nof_stakers_daily", "description": "Number of active stakers daily", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["core", "active_stakers", "daily", "arbitrum", "sepolia"], "schema": "arbitrum_sepolia", "materialized": "view"}, "created_at": 1734109927.3782728, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_active_stakers_daily_arbitrum_sepolia\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"core\", \"active_stakers\", \"daily\", \"arbitrum\", \"sepolia\"]\n) }}\n\nwith delegation_updated as (\n select\n block_timestamp,\n account_id,\n amount\n from {{ ref('core_delegation_updated_arbitrum_sepolia') }}\n),\n\ndim as (\n select\n d.block_date,\n accounts_unique.account_id\n from (\n select\n generate_series(\n date_trunc('day', date('2023-12-15')),\n date_trunc('day', current_date), '1 day'::interval\n ) as block_date\n ) as d\n cross join (\n select distinct account_id from delegation_updated\n ) as accounts_unique\n),\n\nstakers as (\n select\n dim.block_date,\n dim.account_id,\n case\n when coalesce(last(delegation_updated.amount) over (\n partition by dim.account_id\n order by dim.block_date\n rows between unbounded preceding and current row\n ), 0) = 0 then 0\n else 1\n end as is_staking\n from dim\n left join delegation_updated on\n dim.block_date = date(delegation_updated.block_timestamp)\n and dim.account_id = delegation_updated.account_id\n)\n\nselect\n block_date,\n sum(is_staking) as nof_stakers_daily\nfrom stakers\ngroup by block_date", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_active_stakers_daily_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\n\nwith delegation_updated as (\n select\n block_timestamp,\n account_id,\n amount\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\n\ndim as (\n select\n d.block_date,\n accounts_unique.account_id\n from (\n select\n generate_series(\n date_trunc('day', date('2023-12-15')),\n date_trunc('day', current_date), '1 day'::interval\n ) as block_date\n ) as d\n cross join (\n select distinct account_id from delegation_updated\n ) as accounts_unique\n),\n\nstakers as (\n select\n dim.block_date,\n dim.account_id,\n case\n when coalesce(last(delegation_updated.amount) over (\n partition by dim.account_id\n order by dim.block_date\n rows between unbounded preceding and current row\n ), 0) = 0 then 0\n else 1\n end as is_staking\n from dim\n left join delegation_updated on\n dim.block_date = date(delegation_updated.block_timestamp)\n and dim.account_id = delegation_updated.account_id\n)\n\nselect\n block_date,\n sum(is_staking) as nof_stakers_daily\nfrom stakers\ngroup by block_date", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Reward amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.3796184, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.380735, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.3839517, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109923.1424518, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.3903258, "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, "primary_key": [], "time_spine": 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": "9ed7cfe66c35a26a12bf3758818177827d10fd724fb70170fdc18ac03f287503"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.3956332, "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.min_ts)),\n date_trunc('hour', max(t.max_ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select\n min(ts_start) as min_ts,\n max(\n ts_start + \"duration\" * '1 second'::INTERVAL\n ) as max_ts\n from\n {{ ref('fct_pool_rewards_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 where\n r.\"duration\" > 0\n),\n\nstreamed_rewards as (\n select\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\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 least(\n d.ts + '1 hour'::INTERVAL - greatest(\n d.ts,\n d.ts_start\n ),\n least(\n d.ts_start + d.\"duration\" * '1 second'::INTERVAL,\n d.ts + '1 hour'::INTERVAL\n ) - d.ts\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) as amount\n from\n hourly_distributions as d\n where\n d.distributor_index = 1\n),\n\ninstant_rewards as (\n select\n date_trunc(\n 'hour',\n ts\n ) as ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n rewards_distributed\n where\n \"duration\" = 0\n),\n\ncombined as (\n select\n combo.ts,\n combo.pool_id,\n combo.collateral_type,\n combo.distributor,\n combo.token_symbol,\n combo.amount,\n p.price\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n streamed_rewards\n union all\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n instant_rewards\n ) as combo\n left join {{ ref('fct_prices_hourly_arbitrum_sepolia') }} as p\n on\n combo.token_symbol = p.market_symbol\n and combo.ts = p.ts\n)\n\nselect\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n sum(amount) as amount,\n sum(\n amount * price\n ) as rewards_usd\nfrom\n combined\ngroup by\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol", "language": "sql", "refs": [{"name": "fct_pool_rewards_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_rewards_arbitrum_sepolia", "model.synthetix.fct_pool_debt_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.min_ts)),\n date_trunc('hour', max(t.max_ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select\n min(ts_start) as min_ts,\n max(\n ts_start + \"duration\" * '1 second'::INTERVAL\n ) as max_ts\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_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 where\n r.\"duration\" > 0\n),\n\nstreamed_rewards as (\n select\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\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 least(\n d.ts + '1 hour'::INTERVAL - greatest(\n d.ts,\n d.ts_start\n ),\n least(\n d.ts_start + d.\"duration\" * '1 second'::INTERVAL,\n d.ts + '1 hour'::INTERVAL\n ) - d.ts\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) as amount\n from\n hourly_distributions as d\n where\n d.distributor_index = 1\n),\n\ninstant_rewards as (\n select\n date_trunc(\n 'hour',\n ts\n ) as ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n rewards_distributed\n where\n \"duration\" = 0\n),\n\ncombined as (\n select\n combo.ts,\n combo.pool_id,\n combo.collateral_type,\n combo.distributor,\n combo.token_symbol,\n combo.amount,\n p.price\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n streamed_rewards\n union all\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n instant_rewards\n ) as combo\n left join \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\" as p\n on\n combo.token_symbol = p.market_symbol\n and combo.ts = p.ts\n)\n\nselect\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n sum(amount) as amount,\n sum(\n amount * price\n ) as rewards_usd\nfrom\n combined\ngroup by\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_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, "primary_key": [], "time_spine": 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": "4eff4d430e6250f18fe5551bd163fed7bb4fbfe8e69ab12185c6befd95e0ca86"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": 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}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.3933508, "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 lower(pnl.collateral_type) = lower(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 lower(pnl.collateral_type) = lower(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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.394319, "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, "primary_key": [], "time_spine": 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": "b10198f9c9c0d58c8d885c057bfa69ec4c78fdc5d5ef095076fa47696c8638e3"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": 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}, "event_time": null, "concurrent_batches": null, "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": 1734109923.1566644, "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.ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token\n from\n (\n select\n ts,\n collateral_type,\n pool_id,\n collateral_value\n from\n {{ ref('fct_pool_pnl_hourly_arbitrum_sepolia') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) as t\n cross join (\n select distinct token_symbol\n from\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_sepolia') }}\n ) as p\n group by\n t.ts,\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 LOWER(dim.collateral_type)\n = LOWER(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.ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token\n from\n (\n select\n ts,\n collateral_type,\n pool_id,\n collateral_value\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) as t\n cross join (\n select 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.ts,\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 LOWER(dim.collateral_type)\n = LOWER(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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.3892865, "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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_market_stats_daily_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_market_stats_daily_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp_stats/fct_perp_market_stats_daily_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp_stats/fct_perp_market_stats_daily_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_market_stats_daily_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp_stats", "fct_perp_market_stats_daily_arbitrum_sepolia"], "alias": "fct_perp_market_stats_daily_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "d63c4f53670864605c5e43495ba397ab1177071132bf40252d7cfd7d37c67810"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.6717165, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_stats_daily_arbitrum_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_arbitrum_sepolia') }}\ngroup by\n DATE_TRUNC(\n 'day',\n ts\n ),\n market_symbol", "language": "sql", "refs": [{"name": "fct_perp_market_stats_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_market_stats_daily_arbitrum_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_arbitrum_sepolia\".\"fct_perp_market_stats_hourly_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_tracking_stats_daily_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_tracking_stats_daily_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_daily_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_daily_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp_stats", "fct_perp_tracking_stats_daily_arbitrum_sepolia"], "alias": "fct_perp_tracking_stats_daily_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "7eeab414c14a192fac3eaebfa120ce706a5e3a3e8694bb910ca7af19eb163a74"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.666932, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_tracking_stats_daily_arbitrum_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_arbitrum_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_arbitrum_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_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_perp_trades_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_tracking_stats_hourly_arbitrum_sepolia", "model.synthetix.fct_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_daily_arbitrum_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_arbitrum_sepolia\".\"fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_keeper_stats_daily_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_keeper_stats_daily_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_daily_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_daily_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp_stats", "fct_perp_keeper_stats_daily_arbitrum_sepolia"], "alias": "fct_perp_keeper_stats_daily_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "4fe12301a48353cb3c02e13e3d76e3bb3ed46d0f3ffea724f4e6d60cafd2337c"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.6736019, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_keeper_stats_daily_arbitrum_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_arbitrum_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_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_keeper_stats_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_daily_arbitrum_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_arbitrum_sepolia\".\"fct_perp_keeper_stats_hourly_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_account_stats_daily_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_account_stats_daily_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp_stats/fct_perp_account_stats_daily_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp_stats/fct_perp_account_stats_daily_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_account_stats_daily_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp_stats", "fct_perp_account_stats_daily_arbitrum_sepolia"], "alias": "fct_perp_account_stats_daily_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "77978d2516dbd748620a252867770cd9809f9002befecc1013adb5c3d611857b"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.6755009, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_account_stats_daily_arbitrum_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_arbitrum_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_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_account_stats_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_account_stats_daily_arbitrum_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_arbitrum_sepolia\".\"fct_perp_account_stats_hourly_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_tracking_stats_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_tracking_stats_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp_stats", "fct_perp_tracking_stats_hourly_arbitrum_sepolia"], "alias": "fct_perp_tracking_stats_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "09a288242fe50e7fde18835ff569b7e063369ece7cffd82969b13723b02fc183"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.6657279, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_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_arbitrum_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_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_perp_trades_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_account_stats_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_account_stats_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp_stats/fct_perp_account_stats_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp_stats/fct_perp_account_stats_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_account_stats_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp_stats", "fct_perp_account_stats_hourly_arbitrum_sepolia"], "alias": "fct_perp_account_stats_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "982a260ec36c37479e7f17d81fd7b39fe3ceaa7796e315e46d039bca5132137c"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.674591, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_account_stats_hourly_arbitrum_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_arbitrum_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_arbitrum_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_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_perp_liq_position_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_arbitrum_sepolia", "model.synthetix.fct_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_account_stats_hourly_arbitrum_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_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_sepolia\"\n),\n\nliq as (\n select\n ts,\n account_id,\n amount_liquidated,\n 1 as liquidations\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_keeper_stats_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_keeper_stats_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp_stats", "fct_perp_keeper_stats_hourly_arbitrum_sepolia"], "alias": "fct_perp_keeper_stats_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "fa63bfcc15ac601747f9e4edc27c35913b70492f62ac85816f0c4b68d6e6114d"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.6726336, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_keeper_stats_hourly_arbitrum_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_arbitrum_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_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_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_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_stats_daily_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_stats_daily_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp_stats/fct_perp_stats_daily_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp_stats/fct_perp_stats_daily_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_stats_daily_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp_stats", "fct_perp_stats_daily_arbitrum_sepolia"], "alias": "fct_perp_stats_daily_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "dbbbd5e5931703c84555d7b105962a06ddddd03a43bce9060f459e5c2e89c825"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.6693711, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_stats_daily_arbitrum_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_arbitrum_sepolia') }}\ngroup by\n DATE_TRUNC(\n 'day',\n ts\n )", "language": "sql", "refs": [{"name": "fct_perp_stats_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_stats_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_stats_daily_arbitrum_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_arbitrum_sepolia\".\"fct_perp_stats_hourly_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_stats_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_stats_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp_stats/fct_perp_stats_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp_stats/fct_perp_stats_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_stats_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp_stats", "fct_perp_stats_hourly_arbitrum_sepolia"], "alias": "fct_perp_stats_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "0c7bfe9d002971fd6c1e50d6ae2262a406ff8c23f86f3f1d778f1ba621702b5f"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.668045, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_stats_hourly_arbitrum_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_arbitrum_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_arbitrum_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_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_perp_liq_account_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_arbitrum_sepolia", "model.synthetix.fct_perp_liq_account_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_stats_hourly_arbitrum_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_arbitrum_sepolia\".\"fct_perp_market_stats_hourly_arbitrum_sepolia\"\n),\n\nliq as (\n select\n ts,\n total_reward,\n 1 as liquidated_accounts\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_account_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_market_stats_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_perp_market_stats_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/perp_stats/fct_perp_market_stats_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp_stats/fct_perp_market_stats_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_perp_market_stats_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp_stats", "fct_perp_market_stats_hourly_arbitrum_sepolia"], "alias": "fct_perp_market_stats_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "ccdf4222f6af81a11157e0d487fd521a39d14a7c5fd31a29d4d9170914fbf1eb"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1734109927.6705596, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_stats_hourly_arbitrum_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_arbitrum_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_arbitrum_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_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_perp_liq_position_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_arbitrum_sepolia", "model.synthetix.fct_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp_stats/fct_perp_market_stats_hourly_arbitrum_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_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_sepolia\"\n),\n\nliq as (\n select\n ts,\n market_symbol,\n amount_liquidated,\n 1 as liquidations\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_arbitrum_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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.6780558, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.6802437, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "supply": {"name": "supply", "description": "Supply", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.6766543, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_address": {"name": "token_address", "description": "Token address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.6790457, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.7402709, "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, "primary_key": [], "time_spine": 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": "402b7c1bdb70173295cdd1972d2e800c0a40e6026f681d31d686f3f3f40e0770"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109927.7393827, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_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_arbitrum_mainnet') }}\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_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": "fct_perp_market_history_arbitrum_mainnet", "package": null, "version": null}, {"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.fct_perp_market_history_arbitrum_mainnet", "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 null as market_address,\n market_symbol,\n price\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_mainnet\"\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_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_previous_order_expired_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_previous_order_expired_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_previous_order_expired_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_previous_order_expired_arbitrum_mainnet"], "alias": "fct_perp_previous_order_expired_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "e1c87d1a382aab673b427b715ea195ec84f8efc38d3e8a912e39205e0e441558"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.765042, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_previous_order_expired_arbitrum_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_arbitrum_mainnet\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_previous_order_expired_arbitrum_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_arbitrum_mainnet\".\"perp_previous_order_expired_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_markets_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_markets_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_markets_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_markets_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_markets_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_markets_arbitrum_mainnet"], "alias": "fct_perp_markets_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "1945897a1f0d1b20bec695b67ada86f7225c5a39dc454e72a149d32ba5309789"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Market creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_name": {"name": "market_name", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.7718446, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_markets_arbitrum_mainnet\"", "raw_code": "with arbitrum 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_arbitrum_mainnet') }}\n)\n\nselect *\nfrom\n arbitrum", "language": "sql", "refs": [{"name": "perp_market_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_markets_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "with arbitrum 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_arbitrum_mainnet\".\"perp_market_created_arbitrum_mainnet\"\n)\n\nselect *\nfrom\n arbitrum", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_orders_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_orders_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_orders_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_orders_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_orders_arbitrum_mainnet"], "alias": "fct_perp_orders_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "e3061698a6d3d91c332c77185b5fcb996e243af79261427c0a2d4fada88dbf36"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.7707748, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_orders_arbitrum_mainnet\"", "raw_code": "with arbitrum 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_arbitrum_mainnet') }}\n as oc\n left join {{ ref('fct_perp_markets_arbitrum_mainnet') }} as markets\n on oc.market_id = markets.id\n)\n\nselect *\nfrom\n arbitrum", "language": "sql", "refs": [{"name": "perp_order_committed_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_committed_arbitrum_mainnet", "model.synthetix.fct_perp_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_orders_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "with arbitrum 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_arbitrum_mainnet\".\"perp_order_committed_arbitrum_mainnet\"\n as oc\n left join \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_markets_arbitrum_mainnet\" as markets\n on oc.market_id = markets.id\n)\n\nselect *\nfrom\n arbitrum", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_collateral_balances_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_collateral_balances_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_collateral_balances_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_collateral_balances_arbitrum_mainnet"], "alias": "fct_perp_collateral_balances_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "6188802795d2cb7158a2c2a63bb7b5719a0f7f95015dae35c088590b437d07c8"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_id": {"name": "collateral_id", "description": "Market ID of the collateral, from the spot market", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_symbol": {"name": "synth_symbol", "description": "Symbol of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_type": {"name": "event_type", "description": "Description of the event, e.g. 'transfer' or 'liquidation'", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "Amount of the collateral token that was transferred", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_balance": {"name": "account_balance", "description": "Balance of the collateral token in the account after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_balance": {"name": "total_balance", "description": "Total balance of the collateral token in the perps system after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta_usd": {"name": "amount_delta_usd", "description": "USD value of the collateral token that was transferred", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_balance_usd": {"name": "account_balance_usd", "description": "USD value of the collateral token in the account after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_balance_usd": {"name": "total_balance_usd", "description": "Total USD value of the collateral token in the perps system after the transfer", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.7799463, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_arbitrum_mainnet\"", "raw_code": "with synths as (\n select\n synth_market_id as collateral_id,\n synth_token_address\n from\n {{ ref('spot_synth_registered_arbitrum_mainnet') }}\n),\n\ntransfers as (\n select\n cm.block_number,\n cm.block_timestamp as ts,\n cm.transaction_hash,\n cm.collateral_id,\n synths.synth_token_address,\n CAST(cm.account_id as text) as account_id,\n {{ convert_wei('cm.amount_delta') }} as amount_delta\n from\n {{ ref('perp_collateral_modified_arbitrum_mainnet') }} as cm\n inner join synths\n on cm.collateral_id = synths.collateral_id\n),\n\nliq_tx as (\n select distinct\n transaction_hash,\n CAST(account_id as text) as account_id\n from\n {{ ref('perp_account_liquidation_attempt_arbitrum_mainnet') }}\n),\n\ndistributors as (\n select\n CAST(rd.distributor_address as text) as distributor_address,\n CAST(rd.token_symbol as text) as token_symbol,\n rd.synth_token_address,\n synths.collateral_id\n from\n {{ ref('arbitrum_mainnet_reward_distributors') }} as rd\n inner join synths\n on rd.synth_token_address = synths.synth_token_address\n),\n\nliquidations as (\n select\n rd.block_number,\n rd.block_timestamp as ts,\n -rd.amount / 1e18 as amount_delta,\n liq_tx.transaction_hash,\n rd.collateral_type,\n distributors.token_symbol,\n distributors.synth_token_address,\n CAST(liq_tx.account_id as text) as account_id,\n distributors.collateral_id\n from\n {{ ref('core_rewards_distributed_arbitrum_mainnet') }} as rd\n inner join liq_tx\n on rd.transaction_hash = liq_tx.transaction_hash\n inner join distributors\n on rd.distributor = distributors.distributor_address\n),\n\nnet_transfers as (\n select\n events.ts,\n events.transaction_hash,\n events.event_type,\n events.collateral_id,\n events.synth_token_address,\n synths.synth_symbol,\n events.account_id,\n prices.price,\n events.amount_delta,\n SUM(events.amount_delta) over (\n partition by events.account_id, events.collateral_id\n order by events.ts\n ) as account_balance,\n SUM(events.amount_delta) over (\n partition by events.collateral_id\n order by events.ts\n ) as total_balance\n from (\n select\n transfers.ts,\n transfers.transaction_hash,\n transfers.collateral_id,\n transfers.synth_token_address,\n transfers.account_id,\n transfers.amount_delta,\n 'transfer' as event_type\n from\n transfers\n union all\n select\n liquidations.ts,\n liquidations.transaction_hash,\n liquidations.collateral_id,\n liquidations.synth_token_address,\n liquidations.account_id,\n liquidations.amount_delta,\n 'liquidation' as event_type\n from\n liquidations\n ) as events\n inner join {{ ref('arbitrum_mainnet_synths') }} as synths\n on events.collateral_id = synths.synth_market_id\n left join {{ ref('fct_prices_hourly_arbitrum_mainnet') }} as prices\n on\n synths.token_symbol = prices.market_symbol\n and DATE_TRUNC('hour', events.ts) = prices.ts\n)\n\nselect\n net_transfers.ts,\n net_transfers.transaction_hash,\n net_transfers.event_type,\n net_transfers.collateral_id,\n net_transfers.synth_token_address,\n net_transfers.synth_symbol,\n net_transfers.account_id,\n net_transfers.price,\n net_transfers.amount_delta,\n net_transfers.amount_delta * net_transfers.price as amount_delta_usd,\n net_transfers.account_balance,\n net_transfers.account_balance * net_transfers.price as account_balance_usd,\n net_transfers.total_balance,\n net_transfers.total_balance * net_transfers.price as total_balance_usd\nfrom\n net_transfers", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}, {"name": "perp_collateral_modified_arbitrum_mainnet", "package": null, "version": null}, {"name": "perp_account_liquidation_attempt_arbitrum_mainnet", "package": null, "version": null}, {"name": "arbitrum_mainnet_reward_distributors", "package": null, "version": null}, {"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}, {"name": "arbitrum_mainnet_synths", "package": null, "version": null}, {"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet", "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "seed.synthetix.arbitrum_mainnet_reward_distributors", "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "seed.synthetix.arbitrum_mainnet_synths", "model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_collateral_balances_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "with synths as (\n select\n synth_market_id as collateral_id,\n synth_token_address\n from\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\n),\n\ntransfers as (\n select\n cm.block_number,\n cm.block_timestamp as ts,\n cm.transaction_hash,\n cm.collateral_id,\n synths.synth_token_address,\n CAST(cm.account_id as text) as account_id,\n \n cm.amount_delta / 1e18\n as amount_delta\n from\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_arbitrum_mainnet\" as cm\n inner join synths\n on cm.collateral_id = synths.collateral_id\n),\n\nliq_tx as (\n select distinct\n transaction_hash,\n CAST(account_id as text) as account_id\n from\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_arbitrum_mainnet\"\n),\n\ndistributors as (\n select\n CAST(rd.distributor_address as text) as distributor_address,\n CAST(rd.token_symbol as text) as token_symbol,\n rd.synth_token_address,\n synths.collateral_id\n from\n \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\" as rd\n inner join synths\n on rd.synth_token_address = synths.synth_token_address\n),\n\nliquidations as (\n select\n rd.block_number,\n rd.block_timestamp as ts,\n -rd.amount / 1e18 as amount_delta,\n liq_tx.transaction_hash,\n rd.collateral_type,\n distributors.token_symbol,\n distributors.synth_token_address,\n CAST(liq_tx.account_id as text) as account_id,\n distributors.collateral_id\n from\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\" as rd\n inner join liq_tx\n on rd.transaction_hash = liq_tx.transaction_hash\n inner join distributors\n on rd.distributor = distributors.distributor_address\n),\n\nnet_transfers as (\n select\n events.ts,\n events.transaction_hash,\n events.event_type,\n events.collateral_id,\n events.synth_token_address,\n synths.synth_symbol,\n events.account_id,\n prices.price,\n events.amount_delta,\n SUM(events.amount_delta) over (\n partition by events.account_id, events.collateral_id\n order by events.ts\n ) as account_balance,\n SUM(events.amount_delta) over (\n partition by events.collateral_id\n order by events.ts\n ) as total_balance\n from (\n select\n transfers.ts,\n transfers.transaction_hash,\n transfers.collateral_id,\n transfers.synth_token_address,\n transfers.account_id,\n transfers.amount_delta,\n 'transfer' as event_type\n from\n transfers\n union all\n select\n liquidations.ts,\n liquidations.transaction_hash,\n liquidations.collateral_id,\n liquidations.synth_token_address,\n liquidations.account_id,\n liquidations.amount_delta,\n 'liquidation' as event_type\n from\n liquidations\n ) as events\n inner join \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_synths\" as synths\n on events.collateral_id = synths.synth_market_id\n left join \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\" as prices\n on\n synths.token_symbol = prices.market_symbol\n and DATE_TRUNC('hour', events.ts) = prices.ts\n)\n\nselect\n net_transfers.ts,\n net_transfers.transaction_hash,\n net_transfers.event_type,\n net_transfers.collateral_id,\n net_transfers.synth_token_address,\n net_transfers.synth_symbol,\n net_transfers.account_id,\n net_transfers.price,\n net_transfers.amount_delta,\n net_transfers.amount_delta * net_transfers.price as amount_delta_usd,\n net_transfers.account_balance,\n net_transfers.account_balance * net_transfers.price as account_balance_usd,\n net_transfers.total_balance,\n net_transfers.total_balance * net_transfers.price as total_balance_usd\nfrom\n net_transfers", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_accounts_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_accounts_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_accounts_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_accounts_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_accounts_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_accounts_arbitrum_mainnet"], "alias": "fct_perp_accounts_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "4a4fbf01e475ca1766f45bbb79ccefc7cff72be9d22f81899ab20b7ae428740b"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Account creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.7781465, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_accounts_arbitrum_mainnet\"", "raw_code": "with arbitrum 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_arbitrum_mainnet') }}\n)\n\nselect *\nfrom\n arbitrum", "language": "sql", "refs": [{"name": "perp_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_accounts_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "with arbitrum 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_arbitrum_mainnet\".\"perp_account_created_arbitrum_mainnet\"\n)\n\nselect *\nfrom\n arbitrum", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_liq_account_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_liq_account_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_liq_account_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_liq_account_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_liq_account_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_liq_account_arbitrum_mainnet"], "alias": "fct_perp_liq_account_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "88686390181e7d1112af69e60dacc10cdba25fd49e98e6f492f771357c562544"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_reward": {"name": "total_reward", "description": "Total reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.7772875, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_account_arbitrum_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_arbitrum_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_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_liq_account_arbitrum_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_arbitrum_mainnet\".\"perp_account_liquidation_attempt_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_collateral_modified_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_collateral_modified_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_collateral_modified_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_collateral_modified_arbitrum_mainnet"], "alias": "fct_perp_collateral_modified_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "1756c887070c5165d6eaaf79d4472614f1271073039a0746a9ff8af4f7106518"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.763252, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_modified_arbitrum_mainnet\"", "raw_code": "select\n cm.id,\n cm.block_timestamp,\n cm.account_id,\n cm.block_number,\n cm.transaction_hash,\n cm.contract,\n cm.event_name,\n synths.synth_symbol,\n cm.collateral_id as synth_market_id,\n synths.synth_token_address,\n cm.sender,\n {{ convert_wei(\"cm.amount_delta\") }} as amount_delta\nfrom\n {{ ref(\"perp_collateral_modified_arbitrum_mainnet\") }}\n as cm\ninner join {{ ref('arbitrum_mainnet_synths') }} as synths\n on cm.collateral_id = synths.synth_market_id", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_mainnet", "package": null, "version": null}, {"name": "arbitrum_mainnet_synths", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_collateral_modified_arbitrum_mainnet", "seed.synthetix.arbitrum_mainnet_synths"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_collateral_modified_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "select\n cm.id,\n cm.block_timestamp,\n cm.account_id,\n cm.block_number,\n cm.transaction_hash,\n cm.contract,\n cm.event_name,\n synths.synth_symbol,\n cm.collateral_id as synth_market_id,\n synths.synth_token_address,\n cm.sender,\n \n cm.amount_delta / 1e18\n as amount_delta\nfrom\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_arbitrum_mainnet\"\n as cm\ninner join \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_synths\" as synths\n on cm.collateral_id = synths.synth_market_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_liq_position_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_liq_position_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_liq_position_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_liq_position_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_liq_position_arbitrum_mainnet"], "alias": "fct_perp_liq_position_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "e2310f0ff757f1d251e4572ad3353a33cceabdac65d744b6ec38c4498590fa7f"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "position_size": {"name": "position_size", "description": "Liquidated position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.7764137, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_arbitrum_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_arbitrum_mainnet') }}\n),\n\nmarkets as (\n select\n id,\n market_symbol\n from\n {{ ref('fct_perp_markets_arbitrum_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_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_position_liquidated_arbitrum_mainnet", "model.synthetix.fct_perp_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_liq_position_arbitrum_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_arbitrum_mainnet\".\"perp_position_liquidated_arbitrum_mainnet\"\n),\n\nmarkets as (\n select\n id,\n market_symbol\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_markets_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_account_activity_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_account_activity_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_account_activity_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_account_activity_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_account_activity_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_account_activity_arbitrum_mainnet"], "alias": "fct_perp_account_activity_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "17c21c40d9c27f22a193a64f0e713f86d8844ce31591ef2a96e1c3558dcc972e"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet", "perp", "account_activity", "arbitrum", "mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet", "perp", "account_activity", "arbitrum", "mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Activity date", "meta": {}, "data_type": "date", "constraints": [], "quote": null, "tags": [], "granularity": null}, "dau": {"name": "dau", "description": "Daily active users", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "mau": {"name": "mau", "description": "Monthly active users", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_accounts_daily": {"name": "new_accounts_daily", "description": "Daily new accounts", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_accounts_monthly": {"name": "new_accounts_monthly", "description": "Monthly new accounts", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": ["perp", "account_activity", "arbitrum", "mainnet"], "schema": "arbitrum_mainnet", "materialized": "view"}, "created_at": 1734109927.7602797, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_account_activity_arbitrum_mainnet\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"perp\", \"account_activity\", \"arbitrum\", \"mainnet\"]\n) }}\n\nwith active_accounts as (\n select distinct\n date_trunc('day', ts) as activity_date,\n account_id\n from {{ ref('fct_perp_trades_arbitrum_mainnet') }}\n),\n\ndate_range as (\n select\n generate_series(\n date(min(activity_date)),\n date(max(activity_date)),\n interval '1 day'\n )::date as activity_date\n from active_accounts\n),\n\nactive_accounts_daily as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on date_range.activity_date = active_accounts.activity_date\n group by date_range.activity_date\n),\n\nactive_accounts_monthly as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on\n date_range.activity_date - interval '27 days'\n <= active_accounts.activity_date\n and date_range.activity_date >= active_accounts.activity_date\n group by date_range.activity_date\n),\n\nnew_accounts as (\n select\n min(activity_date) as start_date,\n account_id\n from active_accounts\n group by account_id\n),\n\nnew_accounts_daily as (\n select\n date_range.activity_date,\n count(new_accounts.account_id) as new_accounts\n from date_range\n left join new_accounts\n on date_range.activity_date = new_accounts.start_date\n group by date_range.activity_date, new_accounts.start_date\n),\n\nnew_accounts_monthly as (\n select distinct\n activity_date,\n sum(new_accounts) over (\n order by activity_date\n range between interval '27 days' preceding and current row\n ) as new_accounts\n from new_accounts_daily\n)\n\nselect\n dr.activity_date as ts,\n dau.active_accounts as dau,\n mau.active_accounts as mau,\n new_accounts_daily.new_accounts as new_accounts_daily,\n new_accounts_monthly.new_accounts as new_accounts_monthly\nfrom date_range as dr\nleft join active_accounts_daily as dau\n on dr.activity_date = dau.activity_date\nleft join active_accounts_monthly as mau\n on dr.activity_date = mau.activity_date\nleft join new_accounts_daily\n on dr.activity_date = new_accounts_daily.activity_date\nleft join new_accounts_monthly\n on dr.activity_date = new_accounts_monthly.activity_date\norder by ts desc", "language": "sql", "refs": [{"name": "fct_perp_trades_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_account_activity_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nwith active_accounts as (\n select distinct\n date_trunc('day', ts) as activity_date,\n account_id\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_mainnet\"\n),\n\ndate_range as (\n select\n generate_series(\n date(min(activity_date)),\n date(max(activity_date)),\n interval '1 day'\n )::date as activity_date\n from active_accounts\n),\n\nactive_accounts_daily as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on date_range.activity_date = active_accounts.activity_date\n group by date_range.activity_date\n),\n\nactive_accounts_monthly as (\n select\n date_range.activity_date,\n count(distinct active_accounts.account_id) as active_accounts\n from date_range\n left join active_accounts\n on\n date_range.activity_date - interval '27 days'\n <= active_accounts.activity_date\n and date_range.activity_date >= active_accounts.activity_date\n group by date_range.activity_date\n),\n\nnew_accounts as (\n select\n min(activity_date) as start_date,\n account_id\n from active_accounts\n group by account_id\n),\n\nnew_accounts_daily as (\n select\n date_range.activity_date,\n count(new_accounts.account_id) as new_accounts\n from date_range\n left join new_accounts\n on date_range.activity_date = new_accounts.start_date\n group by date_range.activity_date, new_accounts.start_date\n),\n\nnew_accounts_monthly as (\n select distinct\n activity_date,\n sum(new_accounts) over (\n order by activity_date\n range between interval '27 days' preceding and current row\n ) as new_accounts\n from new_accounts_daily\n)\n\nselect\n dr.activity_date as ts,\n dau.active_accounts as dau,\n mau.active_accounts as mau,\n new_accounts_daily.new_accounts as new_accounts_daily,\n new_accounts_monthly.new_accounts as new_accounts_monthly\nfrom date_range as dr\nleft join active_accounts_daily as dau\n on dr.activity_date = dau.activity_date\nleft join active_accounts_monthly as mau\n on dr.activity_date = mau.activity_date\nleft join new_accounts_daily\n on dr.activity_date = new_accounts_daily.activity_date\nleft join new_accounts_monthly\n on dr.activity_date = new_accounts_monthly.activity_date\norder by 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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_trades_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_trades_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_trades_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_trades_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_trades_arbitrum_mainnet"], "alias": "fct_perp_trades_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "af531c0419e7ad91a4c209b8321ed456e5489c21b6f1c383c9e5c20ee67f4770"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fill_price": {"name": "fill_price", "description": "Fill price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pnl": {"name": "pnl", "description": "PnL (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accrued_funding": {"name": "accrued_funding", "description": "Accrued funding (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trade_size": {"name": "trade_size", "description": "Trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "position_size": {"name": "position_size", "description": "Position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_fees": {"name": "total_fees", "description": "Total fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "Referral fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Collected fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_reward": {"name": "settlement_reward", "description": "Settlement reward (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "Account tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "notional_trade_size": {"name": "notional_trade_size", "description": "Notional trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "notional_position_size": {"name": "notional_position_size", "description": "Notional position size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "lp_fees": {"name": "lp_fees", "description": "LP fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "Exchange fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.7680802, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_mainnet\"", "raw_code": "with arbitrum 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_arbitrum_mainnet') }} as pos\n left join {{ ref('fct_perp_markets_arbitrum_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 arbitrum", "language": "sql", "refs": [{"name": "perp_order_settled_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_settled_arbitrum_mainnet", "model.synthetix.fct_perp_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_trades_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "with arbitrum 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_arbitrum_mainnet\".\"perp_order_settled_arbitrum_mainnet\" as pos\n left join \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_markets_arbitrum_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 arbitrum", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_pnl_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_pnl_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_pnl_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_pnl_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_pnl_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_pnl_arbitrum_mainnet"], "alias": "fct_perp_pnl_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "df3643a87cc07ff7b1e6520be20d6b020aee8d2adfbfc331b1459a3313bdcd38"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_pnl": {"name": "market_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.7689168, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_pnl_arbitrum_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_arbitrum_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_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/perp/fct_perp_pnl_arbitrum_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_arbitrum_mainnet\".\"core_vault_debt_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_interest_charged_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_interest_charged_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_interest_charged_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_interest_charged_arbitrum_mainnet"], "alias": "fct_perp_interest_charged_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "39d04f696c38fca61dd2798f9089ac25a08b783d6d1f888e355960e06947dbd4"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest": {"name": "interest", "description": "Interest amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.761756, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_interest_charged_arbitrum_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_arbitrum_mainnet\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_interest_charged_arbitrum_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_arbitrum_mainnet\".\"perp_interest_charged_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.fct_perp_market_history_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_market_history_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp/fct_perp_market_history_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/fct_perp_market_history_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "fct_perp_market_history_arbitrum_mainnet"], "alias": "fct_perp_market_history_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "8a4e731386072799dabb394e099ca3b3637a256b7d5d298410c79784d1996928"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "skew": {"name": "skew", "description": "Skew (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "Size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "Size delta (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_rate": {"name": "funding_rate", "description": "Funding rate (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_velocity": {"name": "funding_velocity", "description": "Funding velocity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "funding_rate_apr": {"name": "funding_rate_apr", "description": "Funding rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_rate_apr": {"name": "long_rate_apr", "description": "Long rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_rate_apr": {"name": "short_rate_apr", "description": "Short rate APR (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "prev_size": {"name": "prev_size", "description": "Previous size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_oi_usd": {"name": "market_oi_usd", "description": "Market open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_oi_usd": {"name": "total_oi_usd", "description": "Total open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_oi": {"name": "long_oi", "description": "Long open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_oi": {"name": "short_oi", "description": "Short open interest (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "long_oi_pct": {"name": "long_oi_pct", "description": "Long open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "short_oi_pct": {"name": "short_oi_pct", "description": "Short open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109927.7748067, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_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 LAG({{ convert_wei('size') }}, 1, 0) over (\n partition by m.market_symbol\n order by\n mu.block_timestamp\n ) as prev_size\n from\n {{ ref('perp_market_updated_arbitrum_mainnet') }} as mu\n left join {{ ref('fct_perp_markets_arbitrum_mainnet') }} as m\n on mu.market_id = m.id\n),\n\noi as (\n select\n id,\n ts,\n size * price as market_oi_usd,\n LAG(\n size * price,\n 1,\n 0\n ) over (\n partition by market_symbol\n order by\n ts asc\n ) as prev_market_oi_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\n from\n base\n),\n\ntotal_oi as (\n select\n id,\n SUM(\n market_oi_usd - prev_market_oi_usd\n ) over (\n order by\n ts asc\n ) as total_oi_usd\n from\n oi\n)\n\nselect\n base.*,\n ROUND(\n oi.market_oi_usd,\n 2\n ) as market_oi_usd,\n ROUND(\n total_oi.total_oi_usd,\n 2\n ) as total_oi_usd,\n ROUND(\n oi.long_oi,\n 2\n ) as long_oi,\n ROUND(\n oi.short_oi,\n 2\n ) as short_oi,\n oi.long_oi_pct,\n oi.short_oi_pct\nfrom\n base\ninner join oi\n on base.id = oi.id\ninner join total_oi\n on base.id = total_oi.id", "language": "sql", "refs": [{"name": "perp_market_updated_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_market_updated_arbitrum_mainnet", "model.synthetix.fct_perp_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/fct_perp_market_history_arbitrum_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 LAG(\n size / 1e18\n, 1, 0) over (\n partition by m.market_symbol\n order by\n mu.block_timestamp\n ) as prev_size\n from\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_updated_arbitrum_mainnet\" as mu\n left join \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_markets_arbitrum_mainnet\" as m\n on mu.market_id = m.id\n),\n\noi as (\n select\n id,\n ts,\n size * price as market_oi_usd,\n LAG(\n size * price,\n 1,\n 0\n ) over (\n partition by market_symbol\n order by\n ts asc\n ) as prev_market_oi_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\n from\n base\n),\n\ntotal_oi as (\n select\n id,\n SUM(\n market_oi_usd - prev_market_oi_usd\n ) over (\n order by\n ts asc\n ) as total_oi_usd\n from\n oi\n)\n\nselect\n base.*,\n ROUND(\n oi.market_oi_usd,\n 2\n ) as market_oi_usd,\n ROUND(\n total_oi.total_oi_usd,\n 2\n ) as total_oi_usd,\n ROUND(\n oi.long_oi,\n 2\n ) as long_oi,\n ROUND(\n oi.short_oi,\n 2\n ) as short_oi,\n oi.long_oi_pct,\n oi.short_oi_pct\nfrom\n base\ninner join oi\n on base.id = oi.id\ninner join total_oi\n on base.id = total_oi.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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.1236691, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.1332562, "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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_core_account_activity_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_account_activity_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_account_activity_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_account_activity_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_account_activity_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_account_activity_arbitrum_mainnet"], "alias": "fct_core_account_activity_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "33ac3ab061ea38c1884e7423d6b29520b1d6a0b4462e6c94669e6c82a106ea21"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet", "core", "account_activity", "daily", "arbitrum", "mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet", "core", "account_activity", "daily", "arbitrum", "mainnet"], "description": "Daily number of accounts by action (Delegated, Withdrawn, Claimed)", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_action": {"name": "account_action", "description": "Type of LP action", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["core", "account_activity", "daily", "arbitrum", "mainnet"], "schema": "arbitrum_mainnet", "materialized": "view"}, "created_at": 1734109928.1205087, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_activity_arbitrum_mainnet\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"core\", \"account_activity\", \"daily\", \"arbitrum\", \"mainnet\"]\n) }}\n\nwith delegated as (\n select distinct\n block_timestamp,\n account_id,\n 'Delegated' as account_action\n from {{ ref('core_delegation_updated_arbitrum_mainnet') }}\n),\n\nwithdrawn as (\n select\n block_timestamp,\n account_id,\n 'Withdrawn' as account_action\n from {{ ref('core_withdrawn_arbitrum_mainnet') }}\n),\n\nclaimed as (\n select\n block_timestamp,\n account_id,\n 'Claimed' as account_action\n from {{ ref('core_rewards_claimed_arbitrum_mainnet') }}\n),\n\ncombined as (\n select * from delegated\n union all\n select * from withdrawn\n union all\n select * from claimed\n)\n\nselect\n block_timestamp,\n account_action,\n account_id\nfrom combined", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet", "model.synthetix.core_withdrawn_arbitrum_mainnet", "model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_activity_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nwith delegated as (\n select distinct\n block_timestamp,\n account_id,\n 'Delegated' as account_action\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\n\nwithdrawn as (\n select\n block_timestamp,\n account_id,\n 'Withdrawn' as account_action\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\n),\n\nclaimed as (\n select\n block_timestamp,\n account_id,\n 'Claimed' as account_action\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\n),\n\ncombined as (\n select * from delegated\n union all\n select * from withdrawn\n union all\n select * from claimed\n)\n\nselect\n block_timestamp,\n account_action,\n account_id\nfrom combined", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.1301982, "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, "primary_key": [], "time_spine": 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": "5c6352500de6460efe8c4498dabe9337e04efd46f56d7ca6f01e3b7698bb9849"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.1386416, "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.min_ts)),\n date_trunc('hour', max(t.max_ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select\n min(ts_start) as min_ts,\n max(\n ts_start + \"duration\" * '1 second'::INTERVAL\n ) as max_ts\n from\n {{ ref('fct_pool_rewards_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 where\n r.\"duration\" > 0\n),\n\nstreamed_rewards as (\n select\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\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 least(\n d.ts + '1 hour'::INTERVAL - greatest(\n d.ts,\n d.ts_start\n ),\n least(\n d.ts_start + d.\"duration\" * '1 second'::INTERVAL,\n d.ts + '1 hour'::INTERVAL\n ) - d.ts\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) as amount\n from\n hourly_distributions as d\n where\n d.distributor_index = 1\n),\n\ninstant_rewards as (\n select\n date_trunc(\n 'hour',\n ts\n ) as ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n rewards_distributed\n where\n \"duration\" = 0\n),\n\ncombined as (\n select\n combo.ts,\n combo.pool_id,\n combo.collateral_type,\n combo.distributor,\n combo.token_symbol,\n combo.amount,\n p.price\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n streamed_rewards\n union all\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n instant_rewards\n ) as combo\n left join {{ ref('fct_prices_hourly_arbitrum_mainnet') }} as p\n on\n combo.token_symbol = p.market_symbol\n and combo.ts = p.ts\n)\n\nselect\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n sum(amount) as amount,\n sum(\n amount * price\n ) as rewards_usd\nfrom\n combined\ngroup by\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol", "language": "sql", "refs": [{"name": "fct_pool_rewards_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_rewards_arbitrum_mainnet", "model.synthetix.fct_pool_debt_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.min_ts)),\n date_trunc('hour', max(t.max_ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select\n min(ts_start) as min_ts,\n max(\n ts_start + \"duration\" * '1 second'::INTERVAL\n ) as max_ts\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_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 where\n r.\"duration\" > 0\n),\n\nstreamed_rewards as (\n select\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\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 least(\n d.ts + '1 hour'::INTERVAL - greatest(\n d.ts,\n d.ts_start\n ),\n least(\n d.ts_start + d.\"duration\" * '1 second'::INTERVAL,\n d.ts + '1 hour'::INTERVAL\n ) - d.ts\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) as amount\n from\n hourly_distributions as d\n where\n d.distributor_index = 1\n),\n\ninstant_rewards as (\n select\n date_trunc(\n 'hour',\n ts\n ) as ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n rewards_distributed\n where\n \"duration\" = 0\n),\n\ncombined as (\n select\n combo.ts,\n combo.pool_id,\n combo.collateral_type,\n combo.distributor,\n combo.token_symbol,\n combo.amount,\n p.price\n from\n (\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n streamed_rewards\n union all\n select\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount\n from\n instant_rewards\n ) as combo\n left join \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\" as p\n on\n combo.token_symbol = p.market_symbol\n and combo.ts = p.ts\n)\n\nselect\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n sum(amount) as amount,\n sum(\n amount * price\n ) as rewards_usd\nfrom\n combined\ngroup by\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.1372833, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109923.3122783, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.1292915, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.1268945, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Reward amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.1225104, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.1284585, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.132211, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.131165, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount issued", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.134531, "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, "primary_key": [], "time_spine": 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": "5f72b157d9aada8da9462d23c86a85924f1c898cf032cc39415628095776337e"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": 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}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.1362653, "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 lower(pnl.collateral_type) = lower(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 lower(pnl.collateral_type) = lower(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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_core_active_stakers_daily_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_active_stakers_daily_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_active_stakers_daily_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_active_stakers_daily_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_active_stakers_daily_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_active_stakers_daily_arbitrum_mainnet"], "alias": "fct_core_active_stakers_daily_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "ef889c5316709d63e63622e3107ef95e784d2580866b74453cb8d531f20b1616"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet", "core", "active_stakers", "daily", "arbitrum", "mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet", "core", "active_stakers", "daily", "arbitrum", "mainnet"], "description": "Daily number of active stakers", "columns": {"block_date": {"name": "block_date", "description": "Date", "meta": {}, "data_type": "date", "constraints": [], "quote": null, "tags": [], "granularity": null}, "nof_stakers_daily": {"name": "nof_stakers_daily", "description": "Number of active stakers daily", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["core", "active_stakers", "daily", "arbitrum", "mainnet"], "schema": "arbitrum_mainnet", "materialized": "view"}, "created_at": 1734109928.1212008, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_active_stakers_daily_arbitrum_mainnet\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"core\", \"active_stakers\", \"daily\", \"arbitrum\", \"mainnet\"]\n) }}\n\nwith delegation_updated as (\n select\n block_timestamp,\n account_id,\n amount\n from {{ ref('core_delegation_updated_arbitrum_mainnet') }}\n),\n\ndim as (\n select\n d.block_date,\n accounts_unique.account_id\n from (\n select\n generate_series(\n date_trunc('day', date('2023-12-15')),\n date_trunc('day', current_date), '1 day'::interval\n ) as block_date\n ) as d\n cross join (\n select distinct account_id from delegation_updated\n ) as accounts_unique\n),\n\nstakers as (\n select\n dim.block_date,\n dim.account_id,\n case\n when coalesce(last(delegation_updated.amount) over (\n partition by dim.account_id\n order by dim.block_date\n rows between unbounded preceding and current row\n ), 0) = 0 then 0\n else 1\n end as is_staking\n from dim\n left join delegation_updated on\n dim.block_date = date(delegation_updated.block_timestamp)\n and dim.account_id = delegation_updated.account_id\n)\n\nselect\n block_date,\n sum(is_staking) as nof_stakers_daily\nfrom stakers\ngroup by block_date", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_active_stakers_daily_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nwith delegation_updated as (\n select\n block_timestamp,\n account_id,\n amount\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\n\ndim as (\n select\n d.block_date,\n accounts_unique.account_id\n from (\n select\n generate_series(\n date_trunc('day', date('2023-12-15')),\n date_trunc('day', current_date), '1 day'::interval\n ) as block_date\n ) as d\n cross join (\n select distinct account_id from delegation_updated\n ) as accounts_unique\n),\n\nstakers as (\n select\n dim.block_date,\n dim.account_id,\n case\n when coalesce(last(delegation_updated.amount) over (\n partition by dim.account_id\n order by dim.block_date\n rows between unbounded preceding and current row\n ), 0) = 0 then 0\n else 1\n end as is_staking\n from dim\n left join delegation_updated on\n dim.block_date = date(delegation_updated.block_timestamp)\n and dim.account_id = delegation_updated.account_id\n)\n\nselect\n block_date,\n sum(is_staking) as nof_stakers_daily\nfrom stakers\ngroup by block_date", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": 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": "6085c52f4d689cc792e2e3975736044c7a82006f74a8a358111294facb91b4fd"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": 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}, "event_time": null, "concurrent_batches": null, "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": 1734109923.3559537, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_reward_arbitrum_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nwith dim as (\n\n select\n t.ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token\n from\n (\n select\n ts,\n collateral_type,\n pool_id,\n collateral_value\n from\n {{ ref('fct_pool_pnl_hourly_arbitrum_mainnet') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) as t\n cross join (\n select distinct token_symbol\n from\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_mainnet') }}\n ) as p\n group by\n t.ts,\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 LOWER(dim.collateral_type)\n = LOWER(reward_hourly_token.collateral_type)\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nwith dim as (\n\n select\n t.ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token\n from\n (\n select\n ts,\n collateral_type,\n pool_id,\n collateral_value\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) as t\n cross join (\n select 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.ts,\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 LOWER(dim.collateral_type)\n = LOWER(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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_stats_daily_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_stats_daily_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp_stats/fct_perp_stats_daily_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp_stats/fct_perp_stats_daily_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_stats_daily_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp_stats", "fct_perp_stats_daily_arbitrum_mainnet"], "alias": "fct_perp_stats_daily_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "c928856dafeee00feb8b4523501949b1a17146e937cb94d9bde534258b7f0d35"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109928.4110816, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_stats_daily_arbitrum_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_arbitrum_mainnet') }}\ngroup by\n DATE_TRUNC(\n 'day',\n ts\n )", "language": "sql", "refs": [{"name": "fct_perp_stats_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_stats_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_stats_daily_arbitrum_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_arbitrum_mainnet\".\"fct_perp_stats_hourly_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_keeper_stats_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_keeper_stats_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp_stats", "fct_perp_keeper_stats_hourly_arbitrum_mainnet"], "alias": "fct_perp_keeper_stats_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "110d58c27e2371add91d20a0790eaee5acfc98bdb45a6cf0fe20b1db5313966a"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109928.414266, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_keeper_stats_hourly_arbitrum_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_arbitrum_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_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_hourly_arbitrum_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_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_keeper_stats_daily_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_keeper_stats_daily_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_daily_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_daily_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp_stats", "fct_perp_keeper_stats_daily_arbitrum_mainnet"], "alias": "fct_perp_keeper_stats_daily_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "d0f09044e03bc5f0e2bde4c259252779b13638423708e896c713f918b33b22f2"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109928.4152656, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_keeper_stats_daily_arbitrum_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_arbitrum_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_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_keeper_stats_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_keeper_stats_daily_arbitrum_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_arbitrum_mainnet\".\"fct_perp_keeper_stats_hourly_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_account_stats_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_account_stats_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp_stats/fct_perp_account_stats_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp_stats/fct_perp_account_stats_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_account_stats_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp_stats", "fct_perp_account_stats_hourly_arbitrum_mainnet"], "alias": "fct_perp_account_stats_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "eb5a4e93dd169996712670c1a1dcece2091b95b355d5b008d1ed4963231ef007"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109928.416195, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_account_stats_hourly_arbitrum_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_arbitrum_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_arbitrum_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_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_perp_liq_position_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_arbitrum_mainnet", "model.synthetix.fct_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_account_stats_hourly_arbitrum_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_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_mainnet\"\n),\n\nliq as (\n select\n ts,\n account_id,\n amount_liquidated,\n 1 as liquidations\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_tracking_stats_daily_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_tracking_stats_daily_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_daily_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_daily_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp_stats", "fct_perp_tracking_stats_daily_arbitrum_mainnet"], "alias": "fct_perp_tracking_stats_daily_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "d1f98ecb1afec0dbef91babb35bface6bf31645156dcfd18bf4eaf8bf2848bfb"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109928.4086847, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_tracking_stats_daily_arbitrum_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_arbitrum_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_arbitrum_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_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_perp_trades_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_tracking_stats_hourly_arbitrum_mainnet", "model.synthetix.fct_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_daily_arbitrum_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_arbitrum_mainnet\".\"fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_market_stats_daily_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_market_stats_daily_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp_stats/fct_perp_market_stats_daily_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp_stats/fct_perp_market_stats_daily_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_market_stats_daily_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp_stats", "fct_perp_market_stats_daily_arbitrum_mainnet"], "alias": "fct_perp_market_stats_daily_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "b4819221785ae10b1df73b6ce6bfbea45ffefe7e973e6e61cf162f298fbc20cd"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109928.4133677, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_stats_daily_arbitrum_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_arbitrum_mainnet') }}\ngroup by\n DATE_TRUNC(\n 'day',\n ts\n ),\n market_symbol", "language": "sql", "refs": [{"name": "fct_perp_market_stats_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_market_stats_daily_arbitrum_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_arbitrum_mainnet\".\"fct_perp_market_stats_hourly_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_tracking_stats_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_tracking_stats_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp_stats", "fct_perp_tracking_stats_hourly_arbitrum_mainnet"], "alias": "fct_perp_tracking_stats_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "55c4a19d3ee2592a8c16123d4e40554256dbeadd0fc80211b7210c86fff62e28"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109928.4075372, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_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_arbitrum_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_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_perp_trades_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_tracking_stats_hourly_arbitrum_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_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_account_stats_daily_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_account_stats_daily_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp_stats/fct_perp_account_stats_daily_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp_stats/fct_perp_account_stats_daily_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_account_stats_daily_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp_stats", "fct_perp_account_stats_daily_arbitrum_mainnet"], "alias": "fct_perp_account_stats_daily_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "c10ad1fc4b8463bb0c988683a8e286935f49ae462118d765dbef23ff57706d97"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109928.417086, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_account_stats_daily_arbitrum_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_arbitrum_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_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_account_stats_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_account_stats_daily_arbitrum_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_arbitrum_mainnet\".\"fct_perp_account_stats_hourly_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_stats_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_stats_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp_stats/fct_perp_stats_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp_stats/fct_perp_stats_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_stats_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp_stats", "fct_perp_stats_hourly_arbitrum_mainnet"], "alias": "fct_perp_stats_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f820499c8e6dc60421c1baccf2250a1aafeaef6adc1e4e627b1a88897fec3277"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109928.409771, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_stats_hourly_arbitrum_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_arbitrum_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_arbitrum_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_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_perp_liq_account_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_arbitrum_mainnet", "model.synthetix.fct_perp_liq_account_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_stats_hourly_arbitrum_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_arbitrum_mainnet\".\"fct_perp_market_stats_hourly_arbitrum_mainnet\"\n),\n\nliq as (\n select\n ts,\n total_reward,\n 1 as liquidated_accounts\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_account_arbitrum_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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_perp_market_stats_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_perp_market_stats_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/perp_stats/fct_perp_market_stats_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp_stats/fct_perp_market_stats_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_perp_market_stats_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp_stats", "fct_perp_market_stats_hourly_arbitrum_mainnet"], "alias": "fct_perp_market_stats_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "2b922ee6951c02cfdf67ef68ba08b25b6606758d8f644f9e4a484994cfcde6e5"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1734109928.412227, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_stats_hourly_arbitrum_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_arbitrum_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_arbitrum_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_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_perp_liq_position_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_arbitrum_mainnet", "model.synthetix.fct_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp_stats/fct_perp_market_stats_hourly_arbitrum_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_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_mainnet\"\n),\n\nliq as (\n select\n ts,\n market_symbol,\n amount_liquidated,\n 1 as liquidations\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_arbitrum_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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4190564, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4181764, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool (Spartan Council pool)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of collateral (SNX)", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "staker": {"name": "staker", "description": "Address of the staker", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_amount": {"name": "collateral_amount", "description": "Amount of collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt_amount": {"name": "debt_amount", "description": "Amount of debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.460594, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4467573, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": 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}, "event_time": null, "concurrent_batches": null, "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": 1734109923.4043586, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4475877, "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, "primary_key": [], "time_spine": null}, "model.synthetix.fct_core_active_stakers_daily_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_active_stakers_daily_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_active_stakers_daily_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_active_stakers_daily_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_active_stakers_daily_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_active_stakers_daily_eth_mainnet"], "alias": "fct_core_active_stakers_daily_eth_mainnet", "checksum": {"name": "sha256", "checksum": "a2f6b222687af3b68c0507e168eb4c2a5847a0981d84e50cbabdb12de6b1591f"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet", "core", "active_stakers", "daily", "eth", "mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet", "core", "active_stakers", "daily", "eth", "mainnet"], "description": "Daily number of active stakers", "columns": {"block_date": {"name": "block_date", "description": "Date", "meta": {}, "data_type": "date", "constraints": [], "quote": null, "tags": [], "granularity": null}, "nof_stakers_daily": {"name": "nof_stakers_daily", "description": "Number of active stakers daily", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["core", "active_stakers", "daily", "eth", "mainnet"], "schema": "eth_mainnet", "materialized": "view"}, "created_at": 1734109928.4392467, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_active_stakers_daily_eth_mainnet\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"core\", \"active_stakers\", \"daily\", \"eth\", \"mainnet\"]\n) }}\n\nwith delegation_updated as (\n select\n block_timestamp,\n account_id,\n amount\n from {{ ref('core_delegation_updated_eth_mainnet') }}\n),\n\ndim as (\n select\n d.block_date,\n accounts_unique.account_id\n from (\n select\n generate_series(\n date_trunc('day', date('2023-12-15')),\n date_trunc('day', current_date), '1 day'::interval\n ) as block_date\n ) as d\n cross join (\n select distinct account_id from delegation_updated\n ) as accounts_unique\n),\n\nstakers as (\n select\n dim.block_date,\n dim.account_id,\n case\n when coalesce(last(delegation_updated.amount) over (\n partition by dim.account_id\n order by dim.block_date\n rows between unbounded preceding and current row\n ), 0) = 0 then 0\n else 1\n end as is_staking\n from dim\n left join delegation_updated on\n dim.block_date = date(delegation_updated.block_timestamp)\n and dim.account_id = delegation_updated.account_id\n)\n\nselect\n block_date,\n sum(is_staking) as nof_stakers_daily\nfrom stakers\ngroup by block_date", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_active_stakers_daily_eth_mainnet.sql", "compiled": true, "compiled_code": "\n\nwith delegation_updated as (\n select\n block_timestamp,\n account_id,\n amount\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n),\n\ndim as (\n select\n d.block_date,\n accounts_unique.account_id\n from (\n select\n generate_series(\n date_trunc('day', date('2023-12-15')),\n date_trunc('day', current_date), '1 day'::interval\n ) as block_date\n ) as d\n cross join (\n select distinct account_id from delegation_updated\n ) as accounts_unique\n),\n\nstakers as (\n select\n dim.block_date,\n dim.account_id,\n case\n when coalesce(last(delegation_updated.amount) over (\n partition by dim.account_id\n order by dim.block_date\n rows between unbounded preceding and current row\n ), 0) = 0 then 0\n else 1\n end as is_staking\n from dim\n left join delegation_updated on\n dim.block_date = date(delegation_updated.block_timestamp)\n and dim.account_id = delegation_updated.account_id\n)\n\nselect\n block_date,\n sum(is_staking) as nof_stakers_daily\nfrom stakers\ngroup by block_date", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": null}, "model.synthetix.fct_core_account_activity_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_account_activity_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_account_activity_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_account_activity_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_account_activity_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_account_activity_eth_mainnet"], "alias": "fct_core_account_activity_eth_mainnet", "checksum": {"name": "sha256", "checksum": "c6912b51efec07b48bf6e15b9c88344e698fa1f1e52b07e504a373a99f912553"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet", "core", "account_activity", "daily", "eth", "mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet", "core", "account_activity", "daily", "eth", "mainnet"], "description": "Daily number of accounts by action (Delegated, Withdrawn, Claimed)", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_action": {"name": "account_action", "description": "Type of LP action", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": ["core", "account_activity", "daily", "eth", "mainnet"], "schema": "eth_mainnet", "materialized": "view"}, "created_at": 1734109928.438554, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_account_activity_eth_mainnet\"", "raw_code": "{{ config(\n materialized = \"view\",\n tags = [\"core\", \"account_activity\", \"daily\", \"eth\", \"mainnet\"]\n) }}\n\nwith delegated as (\n select distinct\n block_timestamp,\n account_id,\n 'Delegated' as account_action\n from {{ ref('core_delegation_updated_eth_mainnet') }}\n),\n\nwithdrawn as (\n select\n block_timestamp,\n account_id,\n 'Withdrawn' as account_action\n from {{ ref('core_withdrawn_eth_mainnet') }}\n),\n\nclaimed as (\n select\n block_timestamp,\n account_id,\n 'Claimed' as account_action\n from {{ ref('core_rewards_claimed_eth_mainnet') }}\n),\n\ncombined as (\n select * from delegated\n union all\n select * from withdrawn\n union all\n select * from claimed\n)\n\nselect\n block_timestamp,\n account_action,\n account_id\nfrom combined", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}, {"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}, {"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet", "model.synthetix.core_withdrawn_eth_mainnet", "model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_activity_eth_mainnet.sql", "compiled": true, "compiled_code": "\n\nwith delegated as (\n select distinct\n block_timestamp,\n account_id,\n 'Delegated' as account_action\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n),\n\nwithdrawn as (\n select\n block_timestamp,\n account_id,\n 'Withdrawn' as account_action\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\n),\n\nclaimed as (\n select\n block_timestamp,\n account_id,\n 'Claimed' as account_action\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\n),\n\ncombined as (\n select * from delegated\n union all\n select * from withdrawn\n union all\n select * from claimed\n)\n\nselect\n block_timestamp,\n account_action,\n account_id\nfrom combined", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4556866, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Reward amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4405265, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_debt_migrated": {"name": "hourly_debt_migrated", "description": "Hourly debt migrated from V2x to V3", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4451873, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4506278, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4416118, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4494536, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount issued", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.452811, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4515805, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.448486, "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, "primary_key": [], "time_spine": 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": "d47052afb7a4c9c3c121244668e7eb9fd002a7346507610b5465e1aded84a62f"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Hourly timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_debt_migrated": {"name": "hourly_debt_migrated", "description": "Hourly debt migrated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4615963, "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 date_trunc('hour', 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 date_trunc('hour', 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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109923.4600332, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": 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}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_debt_migrated": {"name": "hourly_debt_migrated", "description": "Hourly debt migrated from V2x to V3", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.454698, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "hourly_amount": {"name": "hourly_amount", "description": "Hourly rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_distributed": {"name": "amount_distributed", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109928.4580524, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.4193158, "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", "blocks_parquet"], ["raw_base_sepolia", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_base_sepolia.blocks_parquet", "source.synthetix.raw_base_sepolia.block"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql", "compiled": true, "compiled_code": "with indexer_blocks as (\n select\n timestamp as ts,\n CAST(\n number as INTEGER\n ) as block_number\n from\n \"analytics\".\"raw_base_sepolia\".\"block\"\n),\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, "primary_key": ["block_number"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.4502075, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.4546819, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.4440558, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.4467568, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.4487782, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.456572, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.4523642, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.4585638, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "buyer": {"name": "buyer", "description": "Address of the buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "usd": {"name": "usd", "description": "Value in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.7230778, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expected_price_time": {"name": "expected_price_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.7571084, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "super_market_id": {"name": "super_market_id", "description": "ID of the super market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.7749784, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.7543406, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "perps_market_id": {"name": "perps_market_id", "description": "ID of the perps market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.771722, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Sender address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.768237, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_position_size": {"name": "current_position_size", "description": "Current position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.7640746, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_funding_rate": {"name": "current_funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_funding_velocity": {"name": "current_funding_velocity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.762032, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "fill_price": {"name": "fill_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_reward": {"name": "settlement_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_fees": {"name": "total_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pnl": {"name": "pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accrued_funding": {"name": "accrued_funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_size": {"name": "new_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.7594926, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "Tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.7698638, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest": {"name": "interest", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.773087, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "reward": {"name": "reward", "description": "Reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "full_liquidation": {"name": "full_liquidation", "description": "Whether it is a full or partial liquidation", "meta": {}, "data_type": "boolean", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109929.7665558, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.1028912, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.1147132, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.1200585, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.1125247, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.0994883, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.0975585, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.122525, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.1011314, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.116551, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.1213572, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.109179, "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, "primary_key": ["id", "market_id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.1076646, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the liquidator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.10536, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.1107893, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.1183167, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.6003327, "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, "primary_key": ["block_number"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.6137745, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.6205273, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.622141, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.612201, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.6152277, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.6170077, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.6099977, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.6189756, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "buyer": {"name": "buyer", "description": "Address of the buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "usd": {"name": "usd", "description": "Value in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.8831282, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "perps_market_id": {"name": "perps_market_id", "description": "ID of the perps market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.9283078, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.914493, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Sender address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.925159, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expected_price_time": {"name": "expected_price_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.9164739, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "Tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.9268005, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "fill_price": {"name": "fill_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_reward": {"name": "settlement_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_fees": {"name": "total_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pnl": {"name": "pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accrued_funding": {"name": "accrued_funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_size": {"name": "new_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.9185436, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "reward": {"name": "reward", "description": "Reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "full_liquidation": {"name": "full_liquidation", "description": "Whether it is a full or partial liquidation", "meta": {}, "data_type": "boolean", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.9236085, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest": {"name": "interest", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.929729, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "super_market_id": {"name": "super_market_id", "description": "ID of the super market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.931195, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_funding_rate": {"name": "current_funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_funding_velocity": {"name": "current_funding_velocity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.9203303, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_position_size": {"name": "current_position_size", "description": "Current position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109930.9219835, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2742057, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2536664, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the liquidator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2589436, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.255342, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2675948, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2657545, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.275392, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2624154, "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, "primary_key": ["id", "market_id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2693362, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.257106, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2729146, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2639906, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2608864, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2517526, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.2711954, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.748697, "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", "blocks_parquet"], ["raw_arbitrum_sepolia", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "source.synthetix.raw_arbitrum_sepolia.block"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "with indexer_blocks as (\n select\n timestamp as ts,\n CAST(\n number as INTEGER\n ) as block_number\n from\n \"analytics\".\"raw_arbitrum_sepolia\".\"block\"\n),\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, "primary_key": ["block_number"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.7652638, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.7582908, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.7634914, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.7672033, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.7604628, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.7687755, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.7704132, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109931.7620366, "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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_market_created_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_market_created_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/perp/perp_market_created_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/perp_market_created_arbitrum_sepolia.sql", "unique_id": "model.synthetix.perp_market_created_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "perp_market_created_arbitrum_sepolia"], "alias": "perp_market_created_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "38a91ad96684020959df47f0773e87f47253f0ff05f409a44a4733f98cde76c6"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "perps_market_id": {"name": "perps_market_id", "description": "ID of the perps market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1734109932.0443256, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_created_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'perps_market_proxy',\n 'market_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "perps_market_proxy_event_market_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_market_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_market_created_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_order_committed_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_order_committed_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/perp/perp_order_committed_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/perp_order_committed_arbitrum_sepolia.sql", "unique_id": "model.synthetix.perp_order_committed_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "perp_order_committed_arbitrum_sepolia"], "alias": "perp_order_committed_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "9bd64829b28426f68246e0d77ce962caedbd762e3e441f3d62dc2f5344ecc999"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expected_price_time": {"name": "expected_price_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1734109932.0321834, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_order_committed_arbitrum_sepolia\"", "raw_code": "with current_events as (\n {{ get_event_data(\n 'arbitrum',\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 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_arbitrum_sepolia", "perps_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_order_committed_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "with current_events as (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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 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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_interest_rate_updated_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/perp/perp_interest_rate_updated_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/perp_interest_rate_updated_arbitrum_sepolia.sql", "unique_id": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "perp_interest_rate_updated_arbitrum_sepolia"], "alias": "perp_interest_rate_updated_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "8d6396cad4b25760b772ed258b74805143b5372014f2dfb05065bb2841c58074"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "super_market_id": {"name": "super_market_id", "description": "ID of the super market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1734109932.047147, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_rate_updated_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'perps_market_proxy',\n 'interest_rate_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "perps_market_proxy_event_interest_rate_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_interest_rate_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_interest_rate_updated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_account_liquidation_attempt_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/perp/perp_account_liquidation_attempt_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/perp_account_liquidation_attempt_arbitrum_sepolia.sql", "unique_id": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "perp_account_liquidation_attempt_arbitrum_sepolia"], "alias": "perp_account_liquidation_attempt_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "e0b2f44536d6bbba1b31b25d6b73f194fb7fca837c489f9b32ccce177b59e784"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "reward": {"name": "reward", "description": "Reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "full_liquidation": {"name": "full_liquidation", "description": "Whether it is a full or partial liquidation", "meta": {}, "data_type": "boolean", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1734109932.039419, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'perps_market_proxy',\n 'account_liquidation_attempt'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "perps_market_proxy_event_account_liquidation_attempt"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_account_liquidation_attempt"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_account_liquidation_attempt_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_account_created_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_account_created_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/perp/perp_account_created_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/perp_account_created_arbitrum_sepolia.sql", "unique_id": "model.synthetix.perp_account_created_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "perp_account_created_arbitrum_sepolia"], "alias": "perp_account_created_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "21b624bfaa495d6ebd7140d0fcd113bb65342c3773f68c0cd89abdea586b637a"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1734109932.0302632, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_created_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'perps_market_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "perps_market_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_account_created_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_order_settled_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_order_settled_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/perp/perp_order_settled_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/perp_order_settled_arbitrum_sepolia.sql", "unique_id": "model.synthetix.perp_order_settled_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "perp_order_settled_arbitrum_sepolia"], "alias": "perp_order_settled_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "4faca44d4765cf65e6f5d8dfa4714c0d2c31e9bfa33a8d6eee1cdd33367a4b9b"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "fill_price": {"name": "fill_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_reward": {"name": "settlement_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_fees": {"name": "total_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pnl": {"name": "pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accrued_funding": {"name": "accrued_funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_size": {"name": "new_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1734109932.03434, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_order_settled_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'perps_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "perps_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_order_settled_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_position_liquidated_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_position_liquidated_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/perp/perp_position_liquidated_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/perp_position_liquidated_arbitrum_sepolia.sql", "unique_id": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "perp_position_liquidated_arbitrum_sepolia"], "alias": "perp_position_liquidated_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "2f332a1eeb731b42ea70f3cae5bf0a6b38754c23faa1304fca7fb20fa25d0102"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_position_size": {"name": "current_position_size", "description": "Current position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1734109932.0378752, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'perps_market_proxy',\n 'position_liquidated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "perps_market_proxy_event_position_liquidated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_position_liquidated"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_position_liquidated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_interest_charged_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_interest_charged_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/perp/perp_interest_charged_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/perp_interest_charged_arbitrum_sepolia.sql", "unique_id": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "perp_interest_charged_arbitrum_sepolia"], "alias": "perp_interest_charged_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "eefeae9e3cedbc1e156efa84b7aa39102d6831d66305654cc895354f997b9ad8"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest": {"name": "interest", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1734109932.0456886, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_charged_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'perps_market_proxy',\n 'interest_charged'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "perps_market_proxy_event_interest_charged"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_interest_charged"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_interest_charged_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_collateral_modified_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_collateral_modified_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/perp/perp_collateral_modified_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/perp_collateral_modified_arbitrum_sepolia.sql", "unique_id": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "perp_collateral_modified_arbitrum_sepolia"], "alias": "perp_collateral_modified_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "bec80bd7eff129df4595a944e7e724f321d9ce497635a6e160b35bff3bc23b4f"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_id": {"name": "collateral_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Sender address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1734109932.0411115, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'perps_market_proxy',\n 'collateral_modified'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "perps_market_proxy_event_collateral_modified"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_collateral_modified"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_collateral_modified_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_previous_order_expired_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_previous_order_expired_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/perp/perp_previous_order_expired_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/perp_previous_order_expired_arbitrum_sepolia.sql", "unique_id": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "perp_previous_order_expired_arbitrum_sepolia"], "alias": "perp_previous_order_expired_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "d189c5ba0cee584c7ba1917851bbc47bcdec7766b14d8b6abf8bf7601485d9c0"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "Tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1734109932.0428035, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_previous_order_expired_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'perps_market_proxy',\n 'previous_order_expired'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "perps_market_proxy_event_previous_order_expired"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_previous_order_expired"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_previous_order_expired_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_market_updated_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "perp_market_updated_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/perp/perp_market_updated_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/perp_market_updated_arbitrum_sepolia.sql", "unique_id": "model.synthetix.perp_market_updated_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "perp_market_updated_arbitrum_sepolia"], "alias": "perp_market_updated_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "7afc6ccf3bab8efbdf69f97d14fbb79e54136bb3e7e8f267ddd8f31ce9a27622"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_funding_rate": {"name": "current_funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_funding_velocity": {"name": "current_funding_velocity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1734109932.0361927, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_updated_arbitrum_sepolia\"", "raw_code": "with current_events as (\n {{ get_event_data(\n 'arbitrum',\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 interest_rate\nfrom\n current_events", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "perps_market_proxy_event_market_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_market_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/perp_market_updated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "with current_events as (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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 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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.3793106, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.389764, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.3761837, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.3776975, "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, "primary_key": ["id", "market_id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.3690345, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.386652, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.372427, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.384734, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the liquidator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.3742223, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.3829374, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.3884318, "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, "primary_key": ["id"], "time_spine": 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": "a3f3baac8b342a9d2b949eba481e4efc60955ea6e87411a07f2cc036acb07887"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.3810813, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'rewards_claimed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_rewards_claimed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.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_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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.390947, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.3706832, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.36715, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.944375, "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", "blocks_parquet"], ["raw_arbitrum_mainnet", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_arbitrum_mainnet.blocks_parquet", "source.synthetix.raw_arbitrum_mainnet.block"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "with indexer_blocks as (\n select\n timestamp as ts,\n CAST(\n number as INTEGER\n ) as block_number\n from\n \"analytics\".\"raw_arbitrum_mainnet\".\"block\"\n),\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, "primary_key": ["block_number"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.9577308, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.9644437, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.9540222, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.9660692, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.9591951, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.9609642, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.9561603, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109932.9628935, "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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_interest_rate_updated_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/perp/perp_interest_rate_updated_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/perp_interest_rate_updated_arbitrum_mainnet.sql", "unique_id": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "perp_interest_rate_updated_arbitrum_mainnet"], "alias": "perp_interest_rate_updated_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "03b22b246208084402a481057fc3830d237f045fc14b5d5799a40ea74a366a3f"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "super_market_id": {"name": "super_market_id", "description": "ID of the super market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1734109933.2439246, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_rate_updated_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'perps_market_proxy',\n 'interest_rate_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "perps_market_proxy_event_interest_rate_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_interest_rate_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_interest_rate_updated_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_order_committed_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_order_committed_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/perp/perp_order_committed_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/perp_order_committed_arbitrum_mainnet.sql", "unique_id": "model.synthetix.perp_order_committed_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "perp_order_committed_arbitrum_mainnet"], "alias": "perp_order_committed_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "a9f9bf2aa5fd2e44b2659d9f1c0848a754816d710a2b253d5663cf9c8e27084a"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "expected_price_time": {"name": "expected_price_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1734109933.229008, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_order_committed_arbitrum_mainnet\"", "raw_code": "with current_events as (\n {{ get_event_data(\n 'arbitrum',\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 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_arbitrum_mainnet", "perps_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_order_committed_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "with current_events as (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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 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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_account_liquidation_attempt_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/perp/perp_account_liquidation_attempt_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/perp_account_liquidation_attempt_arbitrum_mainnet.sql", "unique_id": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "perp_account_liquidation_attempt_arbitrum_mainnet"], "alias": "perp_account_liquidation_attempt_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "be1ed09464045325000bafb6d3eb4577855ac3ac5996a21aa1c13457ea8a1527"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "reward": {"name": "reward", "description": "Reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "full_liquidation": {"name": "full_liquidation", "description": "Whether it is a full or partial liquidation", "meta": {}, "data_type": "boolean", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1734109933.2362716, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'perps_market_proxy',\n 'account_liquidation_attempt'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "perps_market_proxy_event_account_liquidation_attempt"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_account_liquidation_attempt"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_account_liquidation_attempt_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_market_updated_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_market_updated_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/perp/perp_market_updated_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/perp_market_updated_arbitrum_mainnet.sql", "unique_id": "model.synthetix.perp_market_updated_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "perp_market_updated_arbitrum_mainnet"], "alias": "perp_market_updated_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "428a70764bb310db8a15fc1af8d29ee690dbec6cb56a8a50d8268d14c2d91c3f"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_funding_rate": {"name": "current_funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_funding_velocity": {"name": "current_funding_velocity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1734109933.2330453, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_updated_arbitrum_mainnet\"", "raw_code": "with current_events as (\n {{ get_event_data(\n 'arbitrum',\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 interest_rate\nfrom\n current_events", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "perps_market_proxy_event_market_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_market_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_market_updated_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "with current_events as (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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 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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_order_settled_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_order_settled_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/perp/perp_order_settled_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/perp_order_settled_arbitrum_mainnet.sql", "unique_id": "model.synthetix.perp_order_settled_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "perp_order_settled_arbitrum_mainnet"], "alias": "perp_order_settled_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "744cd646b9256dc736bea8e428bfdc67b4e47567bd4071124dae63e2a13dec65"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "fill_price": {"name": "fill_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settlement_reward": {"name": "settlement_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "total_fees": {"name": "total_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pnl": {"name": "pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "accrued_funding": {"name": "accrued_funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "new_size": {"name": "new_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1734109933.231231, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_order_settled_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'perps_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "perps_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_order_settled_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_position_liquidated_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_position_liquidated_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/perp/perp_position_liquidated_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/perp_position_liquidated_arbitrum_mainnet.sql", "unique_id": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "perp_position_liquidated_arbitrum_mainnet"], "alias": "perp_position_liquidated_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "bc3c2dbb49422139c8c0769bbd2647dc0e1b2c50f8613fabecac25af070eef8c"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "current_position_size": {"name": "current_position_size", "description": "Current position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1734109933.2347643, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'perps_market_proxy',\n 'position_liquidated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "perps_market_proxy_event_position_liquidated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_position_liquidated"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_position_liquidated_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_account_created_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_account_created_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/perp/perp_account_created_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/perp_account_created_arbitrum_mainnet.sql", "unique_id": "model.synthetix.perp_account_created_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "perp_account_created_arbitrum_mainnet"], "alias": "perp_account_created_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "a496236e9c9a10e4d6e95d1ff53756df7deab464fc321408706a759111e1f49d"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1734109933.2271128, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_created_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'perps_market_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "perps_market_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_account_created_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_collateral_modified_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_collateral_modified_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/perp/perp_collateral_modified_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/perp_collateral_modified_arbitrum_mainnet.sql", "unique_id": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "perp_collateral_modified_arbitrum_mainnet"], "alias": "perp_collateral_modified_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "2f517d1f2b0bdfb4a040a92f07c9797a2d83e761c11a305c2ee97450ab7deb10"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_id": {"name": "collateral_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Sender address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1734109933.2379806, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'perps_market_proxy',\n 'collateral_modified'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "perps_market_proxy_event_collateral_modified"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_collateral_modified"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_collateral_modified_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_previous_order_expired_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_previous_order_expired_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/perp/perp_previous_order_expired_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/perp_previous_order_expired_arbitrum_mainnet.sql", "unique_id": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "perp_previous_order_expired_arbitrum_mainnet"], "alias": "perp_previous_order_expired_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "a7a7a8076deb243cb66d0153400de1ef3d3b7fceb109520b15af9942124f7ef8"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "tracking_code": {"name": "tracking_code", "description": "Tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1734109933.239641, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_previous_order_expired_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'perps_market_proxy',\n 'previous_order_expired'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "perps_market_proxy_event_previous_order_expired"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_previous_order_expired"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_previous_order_expired_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_market_created_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_market_created_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/perp/perp_market_created_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/perp_market_created_arbitrum_mainnet.sql", "unique_id": "model.synthetix.perp_market_created_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "perp_market_created_arbitrum_mainnet"], "alias": "perp_market_created_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "db14653b000adafe10c5838946f54283dd1b4f656378672fc9444c69f358bdbf"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "perps_market_id": {"name": "perps_market_id", "description": "ID of the perps market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1734109933.2411284, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_created_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'perps_market_proxy',\n 'market_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "perps_market_proxy_event_market_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_market_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_market_created_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.perp_interest_charged_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "perp_interest_charged_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/perp/perp_interest_charged_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/perp_interest_charged_arbitrum_mainnet.sql", "unique_id": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "perp_interest_charged_arbitrum_mainnet"], "alias": "perp_interest_charged_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "05fd26a5254449d5ada932a638891a8ec8773c2db791b794b60f12ed743f27e7"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "interest": {"name": "interest", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1734109933.2425075, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_charged_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'perps_market_proxy',\n 'interest_charged'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "perps_market_proxy_event_interest_charged"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_interest_charged"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/perp_interest_charged_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.5822108, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.5786061, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.5737455, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.569949, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the liquidator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.5717967, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.587246, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.5681608, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.5768168, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.5883782, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.5665317, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.575253, "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, "primary_key": ["id", "market_id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.5646102, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.5841715, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.585906, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109933.580447, "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, "primary_key": ["id"], "time_spine": null}, "model.synthetix.spartan_vote_recorded_snax_mainnet": {"database": "analytics", "schema": "prod_raw_snax_mainnet", "name": "spartan_vote_recorded_snax_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/snax/mainnet/spartan_vote_recorded_snax_mainnet.sql", "original_file_path": "models/raw/snax/mainnet/spartan_vote_recorded_snax_mainnet.sql", "unique_id": "model.synthetix.spartan_vote_recorded_snax_mainnet", "fqn": ["synthetix", "raw", "snax", "mainnet", "spartan_vote_recorded_snax_mainnet"], "alias": "spartan_vote_recorded_snax_mainnet", "checksum": {"name": "sha256", "checksum": "7f8b7a0829318bb2f4a88bddb881d95dae80b799542da7ca54fd855b737a8049"}, "config": {"enabled": true, "alias": null, "schema": "raw_snax_mainnet", "database": null, "tags": ["snax_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["snax_mainnet"], "description": "Records of voting events on the Spartan Council governance proxy", "columns": {"id": {"name": "id", "description": "Unique identifier for the event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Name of the event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "chain_id": {"name": "chain_id", "description": "Identifier of the blockchain network", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "voter": {"name": "voter", "description": "Ethereum address of the voter", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "epoch_id": {"name": "epoch_id", "description": "Identifier of the voting epoch", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Hash of the transaction containing the vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "candidates": {"name": "candidates", "description": "Array of candidate addresses voted for", "meta": {}, "data_type": "array", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height where the vote was recorded", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "voting_power": {"name": "voting_power", "description": "Voting power used in this vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract handling the vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/snax/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "snax_mainnet", "schema": "raw_snax_mainnet"}, "created_at": 1734109934.065437, "relation_name": "\"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_mainnet\"", "raw_code": "{{ get_event_data(\n 'snax',\n 'mainnet',\n 'spartan_governance_proxy',\n 'vote_recorded'\n) }}", "language": "sql", "refs": [], "sources": [["raw_snax_mainnet", "spartan_governance_proxy_event_vote_recorded"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_snax_mainnet.spartan_governance_proxy_event_vote_recorded"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/spartan_vote_recorded_snax_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_snax_mainnet\".\"spartan_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, "primary_key": ["id", "transaction_hash"], "time_spine": null}, "model.synthetix.blocks_snax_mainnet": {"database": "analytics", "schema": "prod_raw_snax_mainnet", "name": "blocks_snax_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/snax/mainnet/blocks_snax_mainnet.sql", "original_file_path": "models/raw/snax/mainnet/blocks_snax_mainnet.sql", "unique_id": "model.synthetix.blocks_snax_mainnet", "fqn": ["synthetix", "raw", "snax", "mainnet", "blocks_snax_mainnet"], "alias": "blocks_snax_mainnet", "checksum": {"name": "sha256", "checksum": "cf5585f75ac4e3a34f5e28b0f32dc97a4416b23d1388fdee896ff8d55a66ecc9"}, "config": {"enabled": true, "alias": null, "schema": "raw_snax_mainnet", "database": null, "tags": ["snax_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["snax_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "UTC timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/snax/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "snax_mainnet", "schema": "raw_snax_mainnet"}, "created_at": 1734109934.0614378, "relation_name": "\"analytics\".\"prod_raw_snax_mainnet\".\"blocks_snax_mainnet\"", "raw_code": "select distinct\n \"timestamp\" as ts,\n CAST(\n \"number\" as INTEGER\n ) as block_number\nfrom\n {{ source(\n 'raw_snax_mainnet',\n 'block'\n ) }}", "language": "sql", "refs": [], "sources": [["raw_snax_mainnet", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_snax_mainnet.block"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/blocks_snax_mainnet.sql", "compiled": true, "compiled_code": "select distinct\n \"timestamp\" as ts,\n CAST(\n \"number\" as INTEGER\n ) as block_number\nfrom\n \"analytics\".\"raw_snax_mainnet\".\"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, "primary_key": ["block_number"], "time_spine": null}, "model.synthetix.ambassador_vote_withdrawn_snax_mainnet": {"database": "analytics", "schema": "prod_raw_snax_mainnet", "name": "ambassador_vote_withdrawn_snax_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/snax/mainnet/ambassador_vote_withdrawn_snax_mainnet.sql", "original_file_path": "models/raw/snax/mainnet/ambassador_vote_withdrawn_snax_mainnet.sql", "unique_id": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "fqn": ["synthetix", "raw", "snax", "mainnet", "ambassador_vote_withdrawn_snax_mainnet"], "alias": "ambassador_vote_withdrawn_snax_mainnet", "checksum": {"name": "sha256", "checksum": "f1d13f4e8e16d5cbfe777e5827482e91bcac50e3420cd2f767face50bd072833"}, "config": {"enabled": true, "alias": null, "schema": "raw_snax_mainnet", "database": null, "tags": ["snax_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["snax_mainnet"], "description": "Records of votes withdrawn from the Ambassador Council governance proxy", "columns": {"id": {"name": "id", "description": "Unique identifier for the vote withdrawal event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Name of the event (always 'VoteWithdrawn' for this table)", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "chain_id": {"name": "chain_id", "description": "Identifier of the blockchain network", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "voter": {"name": "voter", "description": "Ethereum address of the voter who withdrew their vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Hash of the transaction containing the vote withdrawal", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height where the vote withdrawal was recorded", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract handling the vote withdrawal", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/snax/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "snax_mainnet", "schema": "raw_snax_mainnet"}, "created_at": 1734109934.0737407, "relation_name": "\"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_withdrawn_snax_mainnet\"", "raw_code": "{{ get_event_data(\n 'snax',\n 'mainnet',\n 'ambassador_governance_proxy',\n 'vote_withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_snax_mainnet", "ambassador_governance_proxy_event_vote_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_snax_mainnet.ambassador_governance_proxy_event_vote_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/ambassador_vote_withdrawn_snax_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_snax_mainnet\".\"ambassador_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, "primary_key": ["id", "transaction_hash"], "time_spine": null}, "model.synthetix.ambassador_vote_recorded_snax_mainnet": {"database": "analytics", "schema": "prod_raw_snax_mainnet", "name": "ambassador_vote_recorded_snax_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/snax/mainnet/ambassador_vote_recorded_snax_mainnet.sql", "original_file_path": "models/raw/snax/mainnet/ambassador_vote_recorded_snax_mainnet.sql", "unique_id": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "fqn": ["synthetix", "raw", "snax", "mainnet", "ambassador_vote_recorded_snax_mainnet"], "alias": "ambassador_vote_recorded_snax_mainnet", "checksum": {"name": "sha256", "checksum": "9948ebd83af080f9bdd59c307690dc269ea68207281efaf1ec689106e1815fbe"}, "config": {"enabled": true, "alias": null, "schema": "raw_snax_mainnet", "database": null, "tags": ["snax_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["snax_mainnet"], "description": "Records of voting events on the Ambassador Council governance proxy", "columns": {"id": {"name": "id", "description": "Unique identifier for the event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Name of the event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "chain_id": {"name": "chain_id", "description": "Identifier of the blockchain network", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "voter": {"name": "voter", "description": "Ethereum address of the voter", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "epoch_id": {"name": "epoch_id", "description": "Identifier of the voting epoch", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Hash of the transaction containing the vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "candidates": {"name": "candidates", "description": "Array of candidate addresses voted for", "meta": {}, "data_type": "array", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height where the vote was recorded", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "voting_power": {"name": "voting_power", "description": "Voting power used in this vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract handling the vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/snax/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "snax_mainnet", "schema": "raw_snax_mainnet"}, "created_at": 1734109934.0721843, "relation_name": "\"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_mainnet\"", "raw_code": "{{ get_event_data(\n 'snax',\n 'mainnet',\n 'ambassador_governance_proxy',\n 'vote_recorded'\n) }}", "language": "sql", "refs": [], "sources": [["raw_snax_mainnet", "ambassador_governance_proxy_event_vote_recorded"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_snax_mainnet.ambassador_governance_proxy_event_vote_recorded"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/ambassador_vote_recorded_snax_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_snax_mainnet\".\"ambassador_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, "primary_key": ["id", "transaction_hash"], "time_spine": null}, "model.synthetix.treasury_vote_recorded_snax_mainnet": {"database": "analytics", "schema": "prod_raw_snax_mainnet", "name": "treasury_vote_recorded_snax_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/snax/mainnet/treasury_vote_recorded_snax_mainnet.sql", "original_file_path": "models/raw/snax/mainnet/treasury_vote_recorded_snax_mainnet.sql", "unique_id": "model.synthetix.treasury_vote_recorded_snax_mainnet", "fqn": ["synthetix", "raw", "snax", "mainnet", "treasury_vote_recorded_snax_mainnet"], "alias": "treasury_vote_recorded_snax_mainnet", "checksum": {"name": "sha256", "checksum": "4c1ab6f48b3e6cb54429437a3acad3e757e087e882f5df6b175148c24c8d5230"}, "config": {"enabled": true, "alias": null, "schema": "raw_snax_mainnet", "database": null, "tags": ["snax_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["snax_mainnet"], "description": "Records of voting events on the Treasury Council governance proxy", "columns": {"id": {"name": "id", "description": "Unique identifier for the event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Name of the event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "chain_id": {"name": "chain_id", "description": "Identifier of the blockchain network", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "voter": {"name": "voter", "description": "Ethereum address of the voter", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "epoch_id": {"name": "epoch_id", "description": "Identifier of the voting epoch", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Hash of the transaction containing the vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "candidates": {"name": "candidates", "description": "Array of candidate addresses voted for", "meta": {}, "data_type": "array", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height where the vote was recorded", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "voting_power": {"name": "voting_power", "description": "Voting power used in this vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract handling the vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/snax/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "snax_mainnet", "schema": "raw_snax_mainnet"}, "created_at": 1734109934.0688763, "relation_name": "\"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_mainnet\"", "raw_code": "{{ get_event_data(\n 'snax',\n 'mainnet',\n 'treasury_governance_proxy',\n 'vote_recorded'\n) }}", "language": "sql", "refs": [], "sources": [["raw_snax_mainnet", "treasury_governance_proxy_event_vote_recorded"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_snax_mainnet.treasury_governance_proxy_event_vote_recorded"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/treasury_vote_recorded_snax_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_snax_mainnet\".\"treasury_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, "primary_key": ["id", "transaction_hash"], "time_spine": null}, "model.synthetix.treasury_vote_withdrawn_snax_mainnet": {"database": "analytics", "schema": "prod_raw_snax_mainnet", "name": "treasury_vote_withdrawn_snax_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/snax/mainnet/treasury_vote_withdrawn_snax_mainnet.sql", "original_file_path": "models/raw/snax/mainnet/treasury_vote_withdrawn_snax_mainnet.sql", "unique_id": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "fqn": ["synthetix", "raw", "snax", "mainnet", "treasury_vote_withdrawn_snax_mainnet"], "alias": "treasury_vote_withdrawn_snax_mainnet", "checksum": {"name": "sha256", "checksum": "918fdd17a5c63126c847a4758f33b149fb25d875f6b846bbd858beaf537bbed5"}, "config": {"enabled": true, "alias": null, "schema": "raw_snax_mainnet", "database": null, "tags": ["snax_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["snax_mainnet"], "description": "Records of votes withdrawn from the Treasury Council governance proxy", "columns": {"id": {"name": "id", "description": "Unique identifier for the vote withdrawal event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Name of the event (always 'VoteWithdrawn' for this table)", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "chain_id": {"name": "chain_id", "description": "Identifier of the blockchain network", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "voter": {"name": "voter", "description": "Ethereum address of the voter who withdrew their vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Hash of the transaction containing the vote withdrawal", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height where the vote withdrawal was recorded", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract handling the vote withdrawal", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/snax/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "snax_mainnet", "schema": "raw_snax_mainnet"}, "created_at": 1734109934.0704556, "relation_name": "\"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_withdrawn_snax_mainnet\"", "raw_code": "{{ get_event_data(\n 'snax',\n 'mainnet',\n 'treasury_governance_proxy',\n 'vote_withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_snax_mainnet", "treasury_governance_proxy_event_vote_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_snax_mainnet.treasury_governance_proxy_event_vote_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/treasury_vote_withdrawn_snax_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_snax_mainnet\".\"treasury_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, "primary_key": ["id", "transaction_hash"], "time_spine": null}, "model.synthetix.spartan_vote_withdrawn_snax_mainnet": {"database": "analytics", "schema": "prod_raw_snax_mainnet", "name": "spartan_vote_withdrawn_snax_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/snax/mainnet/spartan_vote_withdrawn_snax_mainnet.sql", "original_file_path": "models/raw/snax/mainnet/spartan_vote_withdrawn_snax_mainnet.sql", "unique_id": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "fqn": ["synthetix", "raw", "snax", "mainnet", "spartan_vote_withdrawn_snax_mainnet"], "alias": "spartan_vote_withdrawn_snax_mainnet", "checksum": {"name": "sha256", "checksum": "f73de5f73d0d33efdef9b76b3405d6262f7aaf56ebf41cefbbce519154951b29"}, "config": {"enabled": true, "alias": null, "schema": "raw_snax_mainnet", "database": null, "tags": ["snax_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["snax_mainnet"], "description": "Records of votes withdrawn from the Spartan Council governance proxy", "columns": {"id": {"name": "id", "description": "Unique identifier for the vote withdrawal event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Name of the event (always 'VoteWithdrawn' for this table)", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "chain_id": {"name": "chain_id", "description": "Identifier of the blockchain network", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "voter": {"name": "voter", "description": "Ethereum address of the voter who withdrew their vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Hash of the transaction containing the vote withdrawal", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height where the vote withdrawal was recorded", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract handling the vote withdrawal", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/snax/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "snax_mainnet", "schema": "raw_snax_mainnet"}, "created_at": 1734109934.0670245, "relation_name": "\"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_withdrawn_snax_mainnet\"", "raw_code": "{{ get_event_data(\n 'snax',\n 'mainnet',\n 'spartan_governance_proxy',\n 'vote_withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_snax_mainnet", "spartan_governance_proxy_event_vote_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_snax_mainnet.spartan_governance_proxy_event_vote_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/spartan_vote_withdrawn_snax_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_snax_mainnet\".\"spartan_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, "primary_key": ["id", "transaction_hash"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Name of the event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "chain_id": {"name": "chain_id", "description": "Identifier of the blockchain network", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "voter": {"name": "voter", "description": "Ethereum address of the voter", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "epoch_id": {"name": "epoch_id", "description": "Identifier of the voting epoch", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Hash of the transaction containing the vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "candidates": {"name": "candidates", "description": "Array of candidate addresses voted for", "meta": {}, "data_type": "array", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height where the vote was recorded", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "voting_power": {"name": "voting_power", "description": "Voting power used in this vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract handling the vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.2387042, "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, "primary_key": ["id", "transaction_hash"], "time_spine": 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": "a79cb261541dfe1bdf37ff11b77b30d27dec26d0615e53bfc62686adbf09061f"}, "config": {"enabled": true, "alias": null, "schema": "raw_snax_testnet", "database": null, "tags": ["snax_testnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["snax_testnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "UTC timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.2369287, "relation_name": "\"analytics\".\"prod_raw_snax_testnet\".\"blocks_snax_testnet\"", "raw_code": "select distinct\n \"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 distinct\n \"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, "primary_key": ["block_number"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Name of the event (always 'VoteWithdrawn' for this table)", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "chain_id": {"name": "chain_id", "description": "Identifier of the blockchain network", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "voter": {"name": "voter", "description": "Ethereum address of the voter who withdrew their vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "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": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Hash of the transaction containing the vote withdrawal", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height where the vote withdrawal was recorded", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract handling the vote withdrawal", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.240252, "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, "primary_key": ["id", "transaction_hash"], "time_spine": null}, "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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.292813, "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", "block"], ["raw_eth_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_eth_mainnet.block", "source.synthetix.raw_eth_mainnet.blocks_parquet"]}, "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, "primary_key": ["block_number"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.3132274, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.3265438, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.3074248, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.318087, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.3163402, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.3252149, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_amount": {"name": "collateral_amount", "description": "Amount of SNX collateral being migrated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt_amount": {"name": "debt_amount", "description": "Amount of SNX debt being migrated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.3038764, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.3217363, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.302192, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.3235133, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.3057756, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.319913, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the liquidator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.3112957, "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, "primary_key": ["id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": [], "granularity": null}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.3276944, "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, "primary_key": [], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.31475, "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, "primary_key": ["id", "market_id"], "time_spine": 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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": [], "granularity": null}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": [], "granularity": null}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": [], "granularity": null}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": [], "granularity": null}}, "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": 1734109934.309449, "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, "primary_key": ["id"], "time_spine": null}, "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": "573b6a0e69a9f670a3a8df9f9e7b36db4bfe150ed26022dbb669f55fc9accc54"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1734109934.8942049, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_sepolia_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "base_sepolia_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/base_sepolia_tokens.csv", "original_file_path": "seeds/tokens/base_sepolia_tokens.csv", "unique_id": "seed.synthetix.base_sepolia_tokens", "fqn": ["synthetix", "tokens", "base_sepolia_tokens"], "alias": "base_sepolia_tokens", "checksum": {"name": "sha256", "checksum": "6d857d226ef3dcdb580890560110248fa4b99151125bf3dabf4492fe4c3540b9"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1734109934.8967628, "relation_name": "\"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_mainnet_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "base_mainnet_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/base_mainnet_tokens.csv", "original_file_path": "seeds/tokens/base_mainnet_tokens.csv", "unique_id": "seed.synthetix.base_mainnet_tokens", "fqn": ["synthetix", "tokens", "base_mainnet_tokens"], "alias": "base_mainnet_tokens", "checksum": {"name": "sha256", "checksum": "fa824a5833a2016791178ca64c456e8269786194fd7aec1ee3b76215303f41f5"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1734109934.8958995, "relation_name": "\"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109924.843907, "relation_name": "\"analytics\".\"prod_seeds\".\"eth_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": "6bec1144092b9a6bb82dbd00ca896d75d5588989bbbc0246489b224f7ba889ff"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1734109934.8951473, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"", "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, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109924.8482583, "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.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": "672a05ea24f51138cbbecce725f5b7a4f59e5f1a6118ef4331a72a06d471ae39"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1734109934.8919473, "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.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": "336e8d9d340fcb142c258748dc73f805d7760734fcc0a83ffda3c2863f2daa3b"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1734109934.8934722, "relation_name": "\"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_mainnet_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "base_mainnet_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/base_mainnet_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/base_mainnet_reward_distributors.csv", "unique_id": "seed.synthetix.base_mainnet_reward_distributors", "fqn": ["synthetix", "reward_distributors", "base_mainnet_reward_distributors"], "alias": "base_mainnet_reward_distributors", "checksum": {"name": "sha256", "checksum": "c6997ef743c73b8643d6ba70ab5e76b02cc03404896145b42583e213d9089605"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1734109934.8927174, "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.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": "dea3ed3a8bde603cfbd8a08db4343123807ab6d382c1ae5c72b5c74c2774e222"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": [], "granularity": null}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": [], "granularity": null}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1734109934.8909128, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.eth_mainnet_synths": {"database": "analytics", "schema": "prod_seeds", "name": "eth_mainnet_synths", "resource_type": "seed", "package_name": "synthetix", "path": "synths/eth_mainnet_synths.csv", "original_file_path": "seeds/synths/eth_mainnet_synths.csv", "unique_id": "seed.synthetix.eth_mainnet_synths", "fqn": ["synthetix", "synths", "eth_mainnet_synths"], "alias": "eth_mainnet_synths", "checksum": {"name": "sha256", "checksum": "01b742d3f759243b355bd9b90de23854b923b3801843477504e85992ec59cf3c"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109924.8590546, "relation_name": "\"analytics\".\"prod_seeds\".\"eth_mainnet_synths\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_mainnet_synths": {"database": "analytics", "schema": "prod_seeds", "name": "base_mainnet_synths", "resource_type": "seed", "package_name": "synthetix", "path": "synths/base_mainnet_synths.csv", "original_file_path": "seeds/synths/base_mainnet_synths.csv", "unique_id": "seed.synthetix.base_mainnet_synths", "fqn": ["synthetix", "synths", "base_mainnet_synths"], "alias": "base_mainnet_synths", "checksum": {"name": "sha256", "checksum": "83b03283a7e24265e71f9c14684b87d0607e1a9174051b263420a63a48d783c1"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109924.8611813, "relation_name": "\"analytics\".\"prod_seeds\".\"base_mainnet_synths\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.arbitrum_mainnet_synths": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_mainnet_synths", "resource_type": "seed", "package_name": "synthetix", "path": "synths/arbitrum_mainnet_synths.csv", "original_file_path": "seeds/synths/arbitrum_mainnet_synths.csv", "unique_id": "seed.synthetix.arbitrum_mainnet_synths", "fqn": ["synthetix", "synths", "arbitrum_mainnet_synths"], "alias": "arbitrum_mainnet_synths", "checksum": {"name": "sha256", "checksum": "aa99012491dd56774a9147618189d89b7d830b6609933a37b5d2b8ce7256fd1c"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109924.863323, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_mainnet_synths\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_sepolia_synths": {"database": "analytics", "schema": "prod_seeds", "name": "base_sepolia_synths", "resource_type": "seed", "package_name": "synthetix", "path": "synths/base_sepolia_synths.csv", "original_file_path": "seeds/synths/base_sepolia_synths.csv", "unique_id": "seed.synthetix.base_sepolia_synths", "fqn": ["synthetix", "synths", "base_sepolia_synths"], "alias": "base_sepolia_synths", "checksum": {"name": "sha256", "checksum": "71df2236720329aaa96c9026d4d0baaa53604c56685259aa6ee09e32c0695cdf"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109924.8655322, "relation_name": "\"analytics\".\"prod_seeds\".\"base_sepolia_synths\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.arbitrum_sepolia_synths": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_sepolia_synths", "resource_type": "seed", "package_name": "synthetix", "path": "synths/arbitrum_sepolia_synths.csv", "original_file_path": "seeds/synths/arbitrum_sepolia_synths.csv", "unique_id": "seed.synthetix.arbitrum_sepolia_synths", "fqn": ["synthetix", "synths", "arbitrum_sepolia_synths"], "alias": "arbitrum_sepolia_synths", "checksum": {"name": "sha256", "checksum": "ea7ba1d70991f1faea3b300c4229a7c92543cb03ffc95c4d175719b15345bc31"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "batch_size": null, "lookback": 1, "begin": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "event_time": null, "concurrent_batches": null, "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": 1734109924.8676813, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_sepolia_synths\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "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": 1734109925.1426566, "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": 1734109925.1446161, "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": 1734109925.14631, "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": 1734109925.1480358, "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": 1734109925.1700785, "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": 1734109925.1718154, "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": 1734109925.1734846, "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": 1734109925.1751788, "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": 1734109925.176963, "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": 1734109925.1786113, "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": 1734109925.180287, "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": 1734109925.1819308, "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": 1734109925.1862917, "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": 1734109925.188004, "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": 1734109925.1896682, "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": 1734109925.1914864, "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": 1734109925.1931608, "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": 1734109925.1973004, "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": 1734109925.1998847, "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": 1734109925.2015235, "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": 1734109925.2031908, "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": 1734109925.204823, "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": 1734109925.2065876, "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": 1734109925.2082446, "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": 1734109925.209878, "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": 1734109925.211547, "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": 1734109925.2131999, "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": 1734109925.2174077, "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": 1734109925.2218242, "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": 1734109925.2237403, "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": 1734109925.2254272, "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": 1734109925.22713, "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": 1734109925.2311099, "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": 1734109925.2327898, "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": 1734109925.23444, "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": 1734109925.2361147, "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_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": 1734109925.2467878, "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": 1734109925.2484708, "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": 1734109925.2501495, "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": 1734109925.2543802, "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": 1734109925.256102, "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": 1734109925.2603683, "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": 1734109925.262058, "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": 1734109925.2663019, "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": 1734109925.2680254, "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": 1734109925.2722619, "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": 1734109925.273945, "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": 1734109925.2756417, "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": 1734109925.2798917, "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": 1734109925.2815797, "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": 1734109925.2862797, "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": 1734109925.2879899, "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": 1734109925.2922041, "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": 1734109925.293908, "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": 1734109925.2981281, "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": 1734109925.2998526, "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": 1734109925.3015168, "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": 1734109925.3031995, "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": 1734109925.304944, "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": 1734109925.3066447, "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": 1734109925.3106902, "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": 1734109925.3123856, "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": 1734109925.3162565, "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": 1734109925.3181071, "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_perp_account_activity_base_sepolia_ts.11c7283b87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_ts.11c7283b87", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_account_activity_base_sepolia_ts"], "alias": "not_null_fct_perp_account_activity_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": 1734109925.3643787, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_base_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_account_activity_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_account_activity_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_account_activity_base_sepolia", "attached_node": "model.synthetix.fct_perp_account_activity_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_dau.c87efa2ebe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_base_sepolia_dau", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_base_sepolia_dau.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_dau.c87efa2ebe", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_account_activity_base_sepolia_dau"], "alias": "not_null_fct_perp_account_activity_base_sepolia_dau", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109925.3660882, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_base_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_account_activity_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_dau.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect dau\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_account_activity_base_sepolia\"\nwhere dau is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "dau", "file_key_name": "models.fct_perp_account_activity_base_sepolia", "attached_node": "model.synthetix.fct_perp_account_activity_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "dau", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_mau.482322aa86": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_base_sepolia_mau", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_base_sepolia_mau.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_mau.482322aa86", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_account_activity_base_sepolia_mau"], "alias": "not_null_fct_perp_account_activity_base_sepolia_mau", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109925.3677816, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_base_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_account_activity_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_base_sepolia_mau.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect mau\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_account_activity_base_sepolia\"\nwhere mau is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "mau", "file_key_name": "models.fct_perp_account_activity_base_sepolia", "attached_node": "model.synthetix.fct_perp_account_activity_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "mau", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_new_accounts_daily.44600d3a64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_base_sepolia_new_accounts_daily", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_acti_e631d7b20dbe7074e88afd04936d2dd2.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_new_accounts_daily.44600d3a64", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_account_activity_base_sepolia_new_accounts_daily"], "alias": "not_null_fct_perp_account_acti_e631d7b20dbe7074e88afd04936d2dd2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_account_acti_e631d7b20dbe7074e88afd04936d2dd2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_account_acti_e631d7b20dbe7074e88afd04936d2dd2"}, "created_at": 1734109925.369442, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_account_acti_e631d7b20dbe7074e88afd04936d2dd2\") }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_base_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_account_activity_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_e631d7b20dbe7074e88afd04936d2dd2.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect new_accounts_daily\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_account_activity_base_sepolia\"\nwhere new_accounts_daily is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "new_accounts_daily", "file_key_name": "models.fct_perp_account_activity_base_sepolia", "attached_node": "model.synthetix.fct_perp_account_activity_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "new_accounts_daily", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_new_accounts_monthly.4d411e3958": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_base_sepolia_new_accounts_monthly", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_acti_16fc7f23db0fa98aecffbf265254aa18.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_base_sepolia_new_accounts_monthly.4d411e3958", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_account_activity_base_sepolia_new_accounts_monthly"], "alias": "not_null_fct_perp_account_acti_16fc7f23db0fa98aecffbf265254aa18", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_account_acti_16fc7f23db0fa98aecffbf265254aa18", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_account_acti_16fc7f23db0fa98aecffbf265254aa18"}, "created_at": 1734109925.3711202, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_account_acti_16fc7f23db0fa98aecffbf265254aa18\") }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_base_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_account_activity_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_16fc7f23db0fa98aecffbf265254aa18.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect new_accounts_monthly\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_account_activity_base_sepolia\"\nwhere new_accounts_monthly is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "new_accounts_monthly", "file_key_name": "models.fct_perp_account_activity_base_sepolia", "attached_node": "model.synthetix.fct_perp_account_activity_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "new_accounts_monthly", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_base_sepolia')) }}"}, "namespace": null}}, "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": 1734109925.3728583, "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": 1734109925.3745408, "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": 1734109925.376187, "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": 1734109925.3778396, "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": 1734109925.3795087, "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": 1734109925.3812122, "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": 1734109925.3828568, "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": 1734109925.384519, "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": 1734109925.3928185, "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": 1734109925.3945477, "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": 1734109925.3988204, "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": 1734109925.4005818, "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": 1734109925.4048455, "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": 1734109925.4065523, "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": 1734109925.4082556, "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": 1734109925.4099402, "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": 1734109925.4117723, "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": 1734109925.4134073, "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": 1734109925.4150872, "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": 1734109925.4167814, "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": 1734109925.421419, "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": 1734109925.423143, "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": 1734109925.4274116, "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": 1734109925.4291186, "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": 1734109925.4308567, "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": 1734109925.4327414, "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": 1734109925.4344509, "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": 1734109925.4361277, "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": 1734109925.437876, "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": 1734109925.439576, "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": 1734109925.4413543, "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": 1734109925.4457934, "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": 1734109925.4476986, "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": 1734109925.4518237, "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": 1734109925.4539707, "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": 1734109925.4580379, "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": 1734109925.4598932, "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": 1734109925.4615693, "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": 1734109925.463233, "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": 1734109925.464867, "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": 1734109925.4665043, "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": 1734109925.4682338, "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": 1734109925.469895, "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": 1734109925.4741776, "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": 1734109925.475888, "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": 1734109925.47753, "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": 1734109925.4791875, "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": 1734109925.4834065, "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": 1734109925.4850805, "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": 1734109925.4867532, "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": 1734109925.488518, "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": 1734109925.4901552, "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": 1734109925.4918313, "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": 1734109925.496057, "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": 1734109925.497724, "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": 1734109925.5019422, "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": 1734109925.5036595, "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": 1734109925.507881, "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": 1734109925.509573, "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": 1734109925.5137808, "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": 1734109925.5154703, "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": 1734109925.5171218, "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": 1734109925.5187948, "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": 1734109925.5204566, "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": 1734109925.522226, "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": 1734109925.52643, "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": 1734109925.5282738, "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": 1734109925.532401, "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": 1734109925.5340633, "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": 1734109925.5362375, "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": 1734109925.5402954, "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": 1734109925.5421157, "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": 1734109925.543789, "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": 1734109925.5454178, "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": 1734109925.547065, "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": 1734109925.5486922, "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": 1734109925.5504286, "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": 1734109925.5520735, "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": 1734109925.556373, "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": 1734109925.558047, "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": 1734109925.5597594, "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": 1734109925.561414, "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": 1734109925.565595, "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": 1734109925.56729, "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": 1734109925.568937, "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": 1734109925.5707808, "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": 1734109925.5724552, "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": 1734109925.574091, "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": 1734109925.5757577, "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": 1734109925.5773947, "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": 1734109925.5791335, "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": 1734109925.5807648, "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": 1734109925.5824263, "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": 1734109925.586647, "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": 1734109925.5883105, "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": 1734109925.5899534, "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": 1734109925.5916212, "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": 1734109925.5934372, "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": 1734109925.5951185, "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": 1734109925.596776, "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": 1734109925.5984352, "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": 1734109925.600176, "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": 1734109925.6017802, "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": 1734109925.6034315, "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_prev_size.7412e3b81a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_prev_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_prev_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_prev_size.7412e3b81a", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_prev_size"], "alias": "not_null_fct_perp_market_history_base_sepolia_prev_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": 1734109925.6050375, "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_prev_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect prev_size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere prev_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "prev_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": "prev_size", "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_prev_size__True__0.94719eaa70": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_prev_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_bcfdf737f33cd2eae7ffddf9f664dcbe.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_prev_size__True__0.94719eaa70", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_prev_size__True__0"], "alias": "dbt_utils_accepted_range_fct_p_bcfdf737f33cd2eae7ffddf9f664dcbe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_bcfdf737f33cd2eae7ffddf9f664dcbe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_bcfdf737f33cd2eae7ffddf9f664dcbe"}, "created_at": 1734109925.6066923, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_bcfdf737f33cd2eae7ffddf9f664dcbe\") }}", "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_bcfdf737f33cd2eae7ffddf9f664dcbe.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 prev_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": "prev_size", "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": "prev_size", "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_oi_usd.4f34c2eb05": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_market_oi_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_market_oi_usd.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_oi_usd.4f34c2eb05", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_market_oi_usd"], "alias": "not_null_fct_perp_market_history_base_sepolia_market_oi_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": 1734109925.6108878, "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_oi_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_oi_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere market_oi_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_oi_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": "market_oi_usd", "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_oi_usd__True__0.f845c8d179": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_oi_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_dad44808f73cf753587a38a5eaaf5ba6.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_oi_usd__True__0.f845c8d179", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_oi_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_dad44808f73cf753587a38a5eaaf5ba6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_dad44808f73cf753587a38a5eaaf5ba6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_dad44808f73cf753587a38a5eaaf5ba6"}, "created_at": 1734109925.6125915, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_dad44808f73cf753587a38a5eaaf5ba6\") }}", "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_dad44808f73cf753587a38a5eaaf5ba6.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_oi_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": "market_oi_usd", "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_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_total_oi_usd.d633cebd30": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_total_oi_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_total_oi_usd.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_total_oi_usd.d633cebd30", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_total_oi_usd"], "alias": "not_null_fct_perp_market_history_base_sepolia_total_oi_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": 1734109925.616894, "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_total_oi_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_oi_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere total_oi_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_oi_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": "total_oi_usd", "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_total_oi_usd__True__0.70aa1121cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_total_oi_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_60cb8b800a7a7dde19a25a05fd1993d6.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_total_oi_usd__True__0.70aa1121cf", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_total_oi_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_60cb8b800a7a7dde19a25a05fd1993d6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_60cb8b800a7a7dde19a25a05fd1993d6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_60cb8b800a7a7dde19a25a05fd1993d6"}, "created_at": 1734109925.6186488, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_60cb8b800a7a7dde19a25a05fd1993d6\") }}", "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_60cb8b800a7a7dde19a25a05fd1993d6.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 total_oi_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": "total_oi_usd", "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": "total_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_oi.0f82ebafce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_long_oi", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_long_oi.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_oi.0f82ebafce", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_long_oi"], "alias": "not_null_fct_perp_market_history_base_sepolia_long_oi", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109925.6231894, "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_oi.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect long_oi\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere long_oi is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_oi", "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_oi", "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_long_oi__True__0.e6b5ed98ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_long_oi__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_1841f1aaf0d4a728f0fe501f45320918.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_long_oi__True__0.e6b5ed98ab", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_long_oi__True__0"], "alias": "dbt_utils_accepted_range_fct_p_1841f1aaf0d4a728f0fe501f45320918", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_1841f1aaf0d4a728f0fe501f45320918", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_1841f1aaf0d4a728f0fe501f45320918"}, "created_at": 1734109925.6248648, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_1841f1aaf0d4a728f0fe501f45320918\") }}", "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_1841f1aaf0d4a728f0fe501f45320918.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 long_oi >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_oi", "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": "long_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_oi.dfbca5e945": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_short_oi", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_short_oi.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_oi.dfbca5e945", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_short_oi"], "alias": "not_null_fct_perp_market_history_base_sepolia_short_oi", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109925.6290755, "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_oi.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect short_oi\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere short_oi is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_oi", "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_oi", "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_short_oi__True__0.01eeacdf05": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_short_oi__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_bc49726926805f457ae098cefb44322f.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_short_oi__True__0.01eeacdf05", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_short_oi__True__0"], "alias": "dbt_utils_accepted_range_fct_p_bc49726926805f457ae098cefb44322f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_bc49726926805f457ae098cefb44322f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_bc49726926805f457ae098cefb44322f"}, "created_at": 1734109925.6307864, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_bc49726926805f457ae098cefb44322f\") }}", "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_bc49726926805f457ae098cefb44322f.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 short_oi >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_oi", "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": "short_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1734109925.635068, "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": 1734109925.6367426, "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": 1734109925.638407, "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": 1734109925.640053, "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": 1734109925.6418, "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": 1734109925.6434908, "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": 1734109925.6451852, "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": 1734109925.6468813, "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": 1734109925.6511135, "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": 1734109925.65279, "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": 1734109925.654478, "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": 1734109925.6587145, "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": 1734109925.6603985, "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": 1734109925.6646507, "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": 1734109925.6663337, "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": 1734109925.6680336, "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": 1734109925.669903, "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": 1734109925.6740098, "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": 1734109925.6756968, "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": 1734109925.6775424, "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": 1734109925.679202, "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_perp_collateral_balances_base_sepolia_ts.71ad0dbc51": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_balances_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_ts.71ad0dbc51", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_balances_base_sepolia_ts"], "alias": "not_null_fct_perp_collateral_balances_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": 1734109925.6808796, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_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_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_transaction_hash.91f74feda4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_57dd6e71d63027de6713c427503d3a2a.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_transaction_hash.91f74feda4", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_balances_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_collateral_b_57dd6e71d63027de6713c427503d3a2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_57dd6e71d63027de6713c427503d3a2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_57dd6e71d63027de6713c427503d3a2a"}, "created_at": 1734109925.6825576, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_57dd6e71d63027de6713c427503d3a2a\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_57dd6e71d63027de6713c427503d3a2a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_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_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_collateral_id.aecff52f67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_sepolia_collateral_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_46b58854835cd4401ebd8775684aef09.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_collateral_id.aecff52f67", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_balances_base_sepolia_collateral_id"], "alias": "not_null_fct_perp_collateral_b_46b58854835cd4401ebd8775684aef09", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_46b58854835cd4401ebd8775684aef09", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_46b58854835cd4401ebd8775684aef09"}, "created_at": 1734109925.6842978, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_46b58854835cd4401ebd8775684aef09\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_46b58854835cd4401ebd8775684aef09.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_base_sepolia\"\nwhere collateral_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_id", "file_key_name": "models.fct_perp_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_synth_token_address.a79650fc4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_sepolia_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_555eb2002c313ec00f0d120bfc28ad1f.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_synth_token_address.a79650fc4b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_balances_base_sepolia_synth_token_address"], "alias": "not_null_fct_perp_collateral_b_555eb2002c313ec00f0d120bfc28ad1f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_555eb2002c313ec00f0d120bfc28ad1f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_555eb2002c313ec00f0d120bfc28ad1f"}, "created_at": 1734109925.6859012, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_555eb2002c313ec00f0d120bfc28ad1f\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_555eb2002c313ec00f0d120bfc28ad1f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_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.fct_perp_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_token_address", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_synth_symbol.2c78f613ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_sepolia_synth_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_balances_base_sepolia_synth_symbol.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_synth_symbol.2c78f613ac", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_balances_base_sepolia_synth_symbol"], "alias": "not_null_fct_perp_collateral_balances_base_sepolia_synth_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": 1734109925.6876037, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_synth_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_base_sepolia\"\nwhere synth_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_symbol", "file_key_name": "models.fct_perp_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_symbol", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_event_type.a711fcead6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_sepolia_event_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_balances_base_sepolia_event_type.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_event_type.a711fcead6", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_balances_base_sepolia_event_type"], "alias": "not_null_fct_perp_collateral_balances_base_sepolia_event_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": 1734109925.6892173, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_event_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_base_sepolia\"\nwhere event_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_type", "file_key_name": "models.fct_perp_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_type", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_amount_delta.36e38848f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_sepolia_amount_delta", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_balances_base_sepolia_amount_delta.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_amount_delta.36e38848f2", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_balances_base_sepolia_amount_delta"], "alias": "not_null_fct_perp_collateral_balances_base_sepolia_amount_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": 1734109925.69085, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_base_sepolia_amount_delta.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delta\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_base_sepolia\"\nwhere amount_delta is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delta", "file_key_name": "models.fct_perp_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delta", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_account_balance.57eaade64d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_sepolia_account_balance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_1423ead140547cd6b658a956c10d36b3.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_account_balance.57eaade64d", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_balances_base_sepolia_account_balance"], "alias": "not_null_fct_perp_collateral_b_1423ead140547cd6b658a956c10d36b3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_1423ead140547cd6b658a956c10d36b3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_1423ead140547cd6b658a956c10d36b3"}, "created_at": 1734109925.6925693, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_1423ead140547cd6b658a956c10d36b3\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_1423ead140547cd6b658a956c10d36b3.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_balance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_base_sepolia\"\nwhere account_balance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_balance", "file_key_name": "models.fct_perp_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_sepolia_account_balance__True__0.ba878826df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_balances_base_sepolia_account_balance__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e59e47e70e9b2aa83712346884614621.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_sepolia_account_balance__True__0.ba878826df", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_collateral_balances_base_sepolia_account_balance__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e59e47e70e9b2aa83712346884614621", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e59e47e70e9b2aa83712346884614621", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_e59e47e70e9b2aa83712346884614621"}, "created_at": 1734109925.6941872, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e59e47e70e9b2aa83712346884614621\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e59e47e70e9b2aa83712346884614621.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- 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_balance >= 0\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_balance", "file_key_name": "models.fct_perp_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_total_balance.d18382e843": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_sepolia_total_balance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_badc45fba33606f7df6ad5bb0eae1325.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_total_balance.d18382e843", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_balances_base_sepolia_total_balance"], "alias": "not_null_fct_perp_collateral_b_badc45fba33606f7df6ad5bb0eae1325", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_badc45fba33606f7df6ad5bb0eae1325", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_badc45fba33606f7df6ad5bb0eae1325"}, "created_at": 1734109925.6985219, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_badc45fba33606f7df6ad5bb0eae1325\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_badc45fba33606f7df6ad5bb0eae1325.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_balance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_base_sepolia\"\nwhere total_balance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_balance", "file_key_name": "models.fct_perp_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_sepolia_total_balance__True__0.285571ff56": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_balances_base_sepolia_total_balance__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_79a7008c507781129f636896ba0d1292.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_sepolia_total_balance__True__0.285571ff56", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_collateral_balances_base_sepolia_total_balance__True__0"], "alias": "dbt_utils_accepted_range_fct_p_79a7008c507781129f636896ba0d1292", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_79a7008c507781129f636896ba0d1292", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_79a7008c507781129f636896ba0d1292"}, "created_at": 1734109925.7001889, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_79a7008c507781129f636896ba0d1292\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_79a7008c507781129f636896ba0d1292.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- 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_balance >= 0\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_balance", "file_key_name": "models.fct_perp_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_amount_delta_usd.cecfa33867": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_sepolia_amount_delta_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_ec8f2b96e79012a9e73ce517ef91685c.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_amount_delta_usd.cecfa33867", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_balances_base_sepolia_amount_delta_usd"], "alias": "not_null_fct_perp_collateral_b_ec8f2b96e79012a9e73ce517ef91685c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_ec8f2b96e79012a9e73ce517ef91685c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_ec8f2b96e79012a9e73ce517ef91685c"}, "created_at": 1734109925.7048318, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_ec8f2b96e79012a9e73ce517ef91685c\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_ec8f2b96e79012a9e73ce517ef91685c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delta_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_base_sepolia\"\nwhere amount_delta_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delta_usd", "file_key_name": "models.fct_perp_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delta_usd", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_account_balance_usd.42b7f430e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_sepolia_account_balance_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_9e40e86186b7e2f3711c0222059e2a63.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_sepolia_account_balance_usd.42b7f430e9", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_balances_base_sepolia_account_balance_usd"], "alias": "not_null_fct_perp_collateral_b_9e40e86186b7e2f3711c0222059e2a63", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_9e40e86186b7e2f3711c0222059e2a63", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_9e40e86186b7e2f3711c0222059e2a63"}, "created_at": 1734109925.7064972, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_9e40e86186b7e2f3711c0222059e2a63\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_9e40e86186b7e2f3711c0222059e2a63.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_balance_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_balances_base_sepolia\"\nwhere account_balance_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_balance_usd", "file_key_name": "models.fct_perp_collateral_balances_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_balance_usd", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_base_sepolia_block_timestamp.7e113000a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_activity_base_sepolia_block_timestamp.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_base_sepolia_block_timestamp.7e113000a1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_activity_base_sepolia_block_timestamp"], "alias": "not_null_fct_core_account_activity_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": 1734109925.7410836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_base_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_activity_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_activity_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_activity_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_core_account_activity_base_sepolia", "attached_node": "model.synthetix.fct_core_account_activity_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_core_account_activity_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_base_sepolia_account_action.35ccccb136": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_base_sepolia_account_action", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_activity_base_sepolia_account_action.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_base_sepolia_account_action.35ccccb136", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_activity_base_sepolia_account_action"], "alias": "not_null_fct_core_account_activity_base_sepolia_account_action", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109925.7428143, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_base_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_activity_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_activity_base_sepolia_account_action.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_action\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_activity_base_sepolia\"\nwhere account_action is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_action", "file_key_name": "models.fct_core_account_activity_base_sepolia", "attached_node": "model.synthetix.fct_core_account_activity_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_action", "model": "{{ get_where_subquery(ref('fct_core_account_activity_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_account_activity_base_sepolia_account_action__Delegated__Withdrawn__Claimed.3cf2f9cfe5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_account_activity_base_sepolia_account_action__Delegated__Withdrawn__Claimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_accou_dc1d7e4e531da9caa014b9f84d202a1f.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_account_activity_base_sepolia_account_action__Delegated__Withdrawn__Claimed.3cf2f9cfe5", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "accepted_values_fct_core_account_activity_base_sepolia_account_action__Delegated__Withdrawn__Claimed"], "alias": "accepted_values_fct_core_accou_dc1d7e4e531da9caa014b9f84d202a1f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_accou_dc1d7e4e531da9caa014b9f84d202a1f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_accou_dc1d7e4e531da9caa014b9f84d202a1f"}, "created_at": 1734109925.744504, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_accou_dc1d7e4e531da9caa014b9f84d202a1f\") }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_account_activity_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_accou_dc1d7e4e531da9caa014b9f84d202a1f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n account_action as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_account_activity_base_sepolia\"\n group by account_action\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Delegated','Withdrawn','Claimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_action", "file_key_name": "models.fct_core_account_activity_base_sepolia", "attached_node": "model.synthetix.fct_core_account_activity_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Delegated", "Withdrawn", "Claimed"], "column_name": "account_action", "model": "{{ get_where_subquery(ref('fct_core_account_activity_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_base_sepolia_account_id.a01fed41fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_activity_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_base_sepolia_account_id.a01fed41fc", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_activity_base_sepolia_account_id"], "alias": "not_null_fct_core_account_activity_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": 1734109925.7497737, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_base_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_activity_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_activity_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_activity_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_activity_base_sepolia", "attached_node": "model.synthetix.fct_core_account_activity_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_activity_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_active_stakers_daily_base_sepolia_block_date.d4bff9ac64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_active_stakers_daily_base_sepolia_block_date", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_active_stakers_daily_base_sepolia_block_date.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_active_stakers_daily_base_sepolia_block_date.d4bff9ac64", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_active_stakers_daily_base_sepolia_block_date"], "alias": "not_null_fct_core_active_stakers_daily_base_sepolia_block_date", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109925.7515078, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_active_stakers_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_core_active_stakers_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_active_stakers_daily_base_sepolia_block_date.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_date\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_active_stakers_daily_base_sepolia\"\nwhere block_date is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_date", "file_key_name": "models.fct_core_active_stakers_daily_base_sepolia", "attached_node": "model.synthetix.fct_core_active_stakers_daily_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_date", "model": "{{ get_where_subquery(ref('fct_core_active_stakers_daily_base_sepolia')) }}"}, "namespace": null}}, "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": 1734109925.7531784, "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": 1734109925.7550297, "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": 1734109925.7567952, "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": 1734109925.76106, "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": 1734109925.7627883, "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": 1734109925.7644663, "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": 1734109925.766132, "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": 1734109925.7678366, "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": 1734109925.7720315, "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": 1734109925.7737105, "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": 1734109925.7755597, "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": 1734109925.777252, "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": 1734109925.7813673, "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": 1734109925.7832255, "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": 1734109925.7848632, "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": 1734109925.7894704, "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": 1734109925.7911904, "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": 1734109925.7928584, "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": 1734109925.797131, "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": 1734109925.7988272, "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": 1734109925.8005004, "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": 1734109925.804753, "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": 1734109925.8064766, "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": 1734109925.8081467, "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": 1734109925.809918, "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": 1734109925.8115914, "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": 1734109925.8132179, "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": 1734109925.8149025, "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": 1734109925.8191242, "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": 1734109925.8208182, "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": 1734109925.8225017, "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": 1734109925.826712, "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": 1734109925.8283718, "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": 1734109925.8300025, "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": 1734109925.8317707, "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": 1734109925.8334246, "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": 1734109925.835079, "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": 1734109925.8367195, "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": 1734109925.8383532, "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": 1734109925.840116, "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": 1734109925.8417172, "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": 1734109925.8433604, "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": 1734109925.844985, "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": 1734109925.850635, "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": 1734109925.8525178, "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": 1734109925.8566203, "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": 1734109925.8582966, "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": 1734109925.8601408, "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": 1734109925.8618073, "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": 1734109925.8634982, "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": 1734109925.8651297, "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": 1734109925.86692, "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": 1734109925.8685749, "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": 1734109925.8701968, "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": 1734109925.8718762, "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": 1734109925.8763788, "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": 1734109925.8780675, "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": 1734109925.8797514, "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": 1734109925.8839579, "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": 1734109925.8856225, "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": 1734109925.8873138, "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": 1734109925.8890917, "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": 1734109925.8908002, "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": 1734109925.8924606, "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": 1734109925.8941162, "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": 1734109925.8983274, "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": 1734109925.90005, "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": 1734109925.9017413, "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": 1734109925.9035418, "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": 1734109925.9051902, "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": 1734109925.909326, "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": 1734109925.9112034, "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": 1734109925.9128742, "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": 1734109925.914552, "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": 1734109925.9161992, "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": 1734109925.9179463, "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": 1734109925.9196148, "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": 1734109925.923887, "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": 1734109925.925553, "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": 1734109925.9272263, "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": 1734109925.928875, "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": 1734109925.9305358, "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": 1734109925.9322772, "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": 1734109925.9363854, "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": 1734109925.938269, "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": 1734109925.9400387, "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": 1734109925.9441266, "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": 1734109925.9459314, "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": 1734109925.9476101, "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": 1734109925.949231, "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": 1734109925.9508953, "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": 1734109925.9550986, "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": 1734109925.956761, "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": 1734109925.9584382, "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": 1734109925.9628353, "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": 1734109925.9645178, "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": 1734109925.966167, "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": 1734109925.9679976, "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": 1734109925.9720688, "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": 1734109925.9739041, "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": 1734109925.9756374, "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": 1734109925.9799092, "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": 1734109925.9815748, "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": 1734109925.983263, "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": 1734109925.9875405, "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": 1734109925.9892035, "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": 1734109925.9909, "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_amount.f5bf39a8d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_sepolia_amount.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.f5bf39a8d8", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_amount"], "alias": "not_null_fct_pool_rewards_token_hourly_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": 1734109925.992522, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_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_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "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_amount__True__0.8db4f3d98c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_168fddbf6e51c571cf3cf7d332e2f38d.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__True__0.8db4f3d98c", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_168fddbf6e51c571cf3cf7d332e2f38d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_168fddbf6e51c571cf3cf7d332e2f38d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_168fddbf6e51c571cf3cf7d332e2f38d"}, "created_at": 1734109925.994257, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_168fddbf6e51c571cf3cf7d332e2f38d\") }}", "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_168fddbf6e51c571cf3cf7d332e2f38d.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 >= 0\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_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", "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": 1734109925.9983623, "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": 1734109926.0002737, "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_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": 1734109926.0278816, "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": 1734109926.029784, "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": 1734109926.031503, "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": 1734109926.033195, "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": 1734109926.0374553, "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": 1734109926.0391665, "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": 1734109926.0408235, "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": 1734109926.042477, "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": 1734109926.0445144, "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": 1734109926.046175, "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": 1734109926.0478466, "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": 1734109926.0495043, "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": 1734109926.05384, "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": 1734109926.0555656, "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": 1734109926.0572212, "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": 1734109926.0590239, "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": 1734109926.0607102, "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": 1734109926.0648081, "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": 1734109926.066711, "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": 1734109926.0683913, "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": 1734109926.070034, "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": 1734109926.0717118, "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": 1734109926.0734556, "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": 1734109926.0751054, "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": 1734109926.0767448, "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": 1734109926.0784256, "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": 1734109926.0800986, "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": 1734109926.0843134, "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": 1734109926.0880413, "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": 1734109926.0899298, "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": 1734109926.0916345, "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": 1734109926.0933962, "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": 1734109926.0974007, "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": 1734109926.099097, "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": 1734109926.1007566, "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": 1734109926.10247, "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_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": 1734109926.1104414, "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": 1734109926.1123192, "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": 1734109926.1140077, "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": 1734109926.1183035, "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": 1734109926.1200552, "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": 1734109926.1242995, "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": 1734109926.1259825, "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": 1734109926.130125, "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": 1734109926.1324043, "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": 1734109926.1365104, "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": 1734109926.1383655, "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": 1734109926.1400948, "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": 1734109926.1443126, "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": 1734109926.1460147, "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": 1734109926.1500905, "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": 1734109926.1519654, "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": 1734109926.1560147, "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": 1734109926.1580513, "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": 1734109926.1621625, "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": 1734109926.163872, "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": 1734109926.165696, "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": 1734109926.1673717, "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": 1734109926.1689918, "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": 1734109926.1706698, "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": 1734109926.1746411, "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": 1734109926.1763105, "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": 1734109926.1803305, "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": 1734109926.1820414, "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_perp_account_activity_base_mainnet_ts.4e1523873c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_ts.4e1523873c", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_account_activity_base_mainnet_ts"], "alias": "not_null_fct_perp_account_activity_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": 1734109926.2073498, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_base_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_account_activity_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_account_activity_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_account_activity_base_mainnet", "attached_node": "model.synthetix.fct_perp_account_activity_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_dau.a786475217": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_base_mainnet_dau", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_base_mainnet_dau.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_dau.a786475217", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_account_activity_base_mainnet_dau"], "alias": "not_null_fct_perp_account_activity_base_mainnet_dau", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109926.2090435, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_base_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_account_activity_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_dau.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect dau\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_account_activity_base_mainnet\"\nwhere dau is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "dau", "file_key_name": "models.fct_perp_account_activity_base_mainnet", "attached_node": "model.synthetix.fct_perp_account_activity_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "dau", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_mau.f4b29c398e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_base_mainnet_mau", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_base_mainnet_mau.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_mau.f4b29c398e", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_account_activity_base_mainnet_mau"], "alias": "not_null_fct_perp_account_activity_base_mainnet_mau", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109926.210735, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_base_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_account_activity_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_base_mainnet_mau.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect mau\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_account_activity_base_mainnet\"\nwhere mau is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "mau", "file_key_name": "models.fct_perp_account_activity_base_mainnet", "attached_node": "model.synthetix.fct_perp_account_activity_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "mau", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_new_accounts_daily.59f0fcd49f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_base_mainnet_new_accounts_daily", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_acti_3da0fa4b1939a8bc6760ab58773c07f8.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_new_accounts_daily.59f0fcd49f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_account_activity_base_mainnet_new_accounts_daily"], "alias": "not_null_fct_perp_account_acti_3da0fa4b1939a8bc6760ab58773c07f8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_account_acti_3da0fa4b1939a8bc6760ab58773c07f8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_account_acti_3da0fa4b1939a8bc6760ab58773c07f8"}, "created_at": 1734109926.2128687, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_account_acti_3da0fa4b1939a8bc6760ab58773c07f8\") }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_base_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_account_activity_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_3da0fa4b1939a8bc6760ab58773c07f8.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect new_accounts_daily\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_account_activity_base_mainnet\"\nwhere new_accounts_daily is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "new_accounts_daily", "file_key_name": "models.fct_perp_account_activity_base_mainnet", "attached_node": "model.synthetix.fct_perp_account_activity_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "new_accounts_daily", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_new_accounts_monthly.a064412063": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_base_mainnet_new_accounts_monthly", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_acti_65018bcdea7a72ed37c671b785a51ed3.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_base_mainnet_new_accounts_monthly.a064412063", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_account_activity_base_mainnet_new_accounts_monthly"], "alias": "not_null_fct_perp_account_acti_65018bcdea7a72ed37c671b785a51ed3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_account_acti_65018bcdea7a72ed37c671b785a51ed3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_account_acti_65018bcdea7a72ed37c671b785a51ed3"}, "created_at": 1734109926.2145703, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_account_acti_65018bcdea7a72ed37c671b785a51ed3\") }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_base_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_account_activity_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_65018bcdea7a72ed37c671b785a51ed3.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect new_accounts_monthly\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_account_activity_base_mainnet\"\nwhere new_accounts_monthly is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "new_accounts_monthly", "file_key_name": "models.fct_perp_account_activity_base_mainnet", "attached_node": "model.synthetix.fct_perp_account_activity_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "new_accounts_monthly", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_base_mainnet')) }}"}, "namespace": null}}, "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": 1734109926.2162108, "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": 1734109926.217856, "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": 1734109926.2195137, "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": 1734109926.2212355, "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": 1734109926.2229073, "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": 1734109926.2245228, "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": 1734109926.2261348, "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": 1734109926.2279122, "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": 1734109926.2319715, "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": 1734109926.2336404, "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": 1734109926.237841, "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": 1734109926.2395613, "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": 1734109926.2438335, "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": 1734109926.245527, "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": 1734109926.2472486, "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": 1734109926.2490482, "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": 1734109926.2507308, "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": 1734109926.2523487, "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": 1734109926.2539692, "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": 1734109926.2557323, "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": 1734109926.2597973, "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": 1734109926.261462, "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": 1734109926.2656653, "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": 1734109926.2673569, "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": 1734109926.2691512, "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": 1734109926.2708478, "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": 1734109926.272478, "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": 1734109926.2741, "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": 1734109926.275765, "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": 1734109926.2775254, "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": 1734109926.2791812, "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": 1734109926.283378, "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": 1734109926.2850826, "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": 1734109926.2892056, "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": 1734109926.29107, "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": 1734109926.295164, "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": 1734109926.297273, "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": 1734109926.2989614, "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": 1734109926.3006206, "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": 1734109926.3022633, "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": 1734109926.30392, "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": 1734109926.3056593, "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": 1734109926.3074903, "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": 1734109926.3118422, "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": 1734109926.3135197, "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": 1734109926.3151937, "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": 1734109926.3168406, "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": 1734109926.3210876, "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": 1734109926.3227932, "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": 1734109926.3244395, "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": 1734109926.3261902, "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": 1734109926.3278565, "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": 1734109926.3294978, "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": 1734109926.333708, "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": 1734109926.3354197, "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": 1734109926.3396716, "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": 1734109926.3413463, "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": 1734109926.3455825, "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": 1734109926.3473005, "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": 1734109926.3515186, "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": 1734109926.3531864, "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": 1734109926.3548424, "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": 1734109926.3564746, "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": 1734109926.358133, "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": 1734109926.3599114, "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": 1734109926.364086, "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": 1734109926.365916, "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": 1734109926.3700001, "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": 1734109926.3716989, "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": 1734109926.3735447, "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": 1734109926.3776443, "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": 1734109926.379878, "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": 1734109926.3815572, "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": 1734109926.3832533, "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": 1734109926.3849, "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": 1734109926.3865595, "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": 1734109926.3883057, "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": 1734109926.3899481, "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": 1734109926.3942008, "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": 1734109926.3959115, "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": 1734109926.397565, "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": 1734109926.3992302, "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": 1734109926.4034762, "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": 1734109926.4051588, "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": 1734109926.40685, "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": 1734109926.408613, "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": 1734109926.4102597, "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": 1734109926.4119198, "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": 1734109926.4135509, "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": 1734109926.4151936, "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": 1734109926.4169152, "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": 1734109926.418582, "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": 1734109926.4202502, "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": 1734109926.4244652, "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": 1734109926.426114, "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": 1734109926.4278896, "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": 1734109926.4295335, "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": 1734109926.4314058, "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": 1734109926.4330645, "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": 1734109926.434711, "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": 1734109926.4363341, "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": 1734109926.4380686, "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": 1734109926.4397037, "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": 1734109926.44132, "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_prev_size.9edab680c8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_prev_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_prev_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_prev_size.9edab680c8", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_prev_size"], "alias": "not_null_fct_perp_market_history_base_mainnet_prev_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": 1734109926.4430273, "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_prev_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect prev_size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere prev_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "prev_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": "prev_size", "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_prev_size__True__0.10c23dc280": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_prev_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_b6fc1d1ecacc1ac68d53108ecb80a40e.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_prev_size__True__0.10c23dc280", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_prev_size__True__0"], "alias": "dbt_utils_accepted_range_fct_p_b6fc1d1ecacc1ac68d53108ecb80a40e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_b6fc1d1ecacc1ac68d53108ecb80a40e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_b6fc1d1ecacc1ac68d53108ecb80a40e"}, "created_at": 1734109926.444687, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_b6fc1d1ecacc1ac68d53108ecb80a40e\") }}", "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_b6fc1d1ecacc1ac68d53108ecb80a40e.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 prev_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": "prev_size", "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": "prev_size", "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_oi_usd.5931c83a6e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_market_oi_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_market_oi_usd.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_oi_usd.5931c83a6e", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_market_oi_usd"], "alias": "not_null_fct_perp_market_history_base_mainnet_market_oi_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": 1734109926.4488893, "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_oi_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_oi_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere market_oi_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_oi_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": "market_oi_usd", "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_oi_usd__True__0.ba5189fe54": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_oi_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d471f50cc8feff954da0f5ec3ebcf944.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_oi_usd__True__0.ba5189fe54", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_oi_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_d471f50cc8feff954da0f5ec3ebcf944", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d471f50cc8feff954da0f5ec3ebcf944", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_d471f50cc8feff954da0f5ec3ebcf944"}, "created_at": 1734109926.4506025, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_d471f50cc8feff954da0f5ec3ebcf944\") }}", "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_d471f50cc8feff954da0f5ec3ebcf944.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_oi_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": "market_oi_usd", "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_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_total_oi_usd.dacf6f4eea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_total_oi_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_total_oi_usd.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_total_oi_usd.dacf6f4eea", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_total_oi_usd"], "alias": "not_null_fct_perp_market_history_base_mainnet_total_oi_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": 1734109926.4548175, "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_total_oi_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_oi_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere total_oi_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_oi_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": "total_oi_usd", "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_total_oi_usd__True__0.8010bbacea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_total_oi_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_970d594071f994791d128c81c6d5c97b.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_total_oi_usd__True__0.8010bbacea", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_total_oi_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_970d594071f994791d128c81c6d5c97b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_970d594071f994791d128c81c6d5c97b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_970d594071f994791d128c81c6d5c97b"}, "created_at": 1734109926.4565113, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_970d594071f994791d128c81c6d5c97b\") }}", "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_970d594071f994791d128c81c6d5c97b.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 total_oi_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": "total_oi_usd", "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": "total_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_oi.4f30d69bd5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_long_oi", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_long_oi.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_oi.4f30d69bd5", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_long_oi"], "alias": "not_null_fct_perp_market_history_base_mainnet_long_oi", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109926.4607666, "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_oi.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect long_oi\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere long_oi is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_oi", "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_oi", "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_long_oi__True__0.d6805161d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_long_oi__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_b714d771addf47be279a8e54e64befae.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_long_oi__True__0.d6805161d5", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_long_oi__True__0"], "alias": "dbt_utils_accepted_range_fct_p_b714d771addf47be279a8e54e64befae", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_b714d771addf47be279a8e54e64befae", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_b714d771addf47be279a8e54e64befae"}, "created_at": 1734109926.4625032, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_b714d771addf47be279a8e54e64befae\") }}", "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_b714d771addf47be279a8e54e64befae.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 long_oi >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_oi", "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": "long_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_oi.987f3728f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_short_oi", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_short_oi.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_oi.987f3728f2", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_short_oi"], "alias": "not_null_fct_perp_market_history_base_mainnet_short_oi", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109926.4671235, "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_oi.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect short_oi\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere short_oi is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_oi", "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_oi", "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_short_oi__True__0.cc21c1531b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_short_oi__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_268eb9957deef92cb1e05e24fca69586.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_short_oi__True__0.cc21c1531b", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_short_oi__True__0"], "alias": "dbt_utils_accepted_range_fct_p_268eb9957deef92cb1e05e24fca69586", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_268eb9957deef92cb1e05e24fca69586", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_268eb9957deef92cb1e05e24fca69586"}, "created_at": 1734109926.4688294, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_268eb9957deef92cb1e05e24fca69586\") }}", "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_268eb9957deef92cb1e05e24fca69586.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 short_oi >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_oi", "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": "short_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1734109926.4730914, "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": 1734109926.4747925, "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": 1734109926.4764383, "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": 1734109926.47809, "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": 1734109926.4798722, "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": 1734109926.4815083, "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": 1734109926.4831452, "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": 1734109926.4847953, "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": 1734109926.48906, "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": 1734109926.4907699, "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": 1734109926.4924705, "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": 1734109926.4966984, "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": 1734109926.4984133, "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": 1734109926.5026622, "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": 1734109926.5043335, "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": 1734109926.5059998, "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": 1734109926.5078084, "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": 1734109926.5119426, "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": 1734109926.5136147, "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": 1734109926.5154786, "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": 1734109926.5171385, "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_perp_collateral_balances_base_mainnet_ts.1a99836525": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_balances_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_ts.1a99836525", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_balances_base_mainnet_ts"], "alias": "not_null_fct_perp_collateral_balances_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": 1734109926.518803, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_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_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_transaction_hash.39c937a7b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_2596679826cfca047e5b4cad997f1bde.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_transaction_hash.39c937a7b3", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_balances_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_collateral_b_2596679826cfca047e5b4cad997f1bde", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_2596679826cfca047e5b4cad997f1bde", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_2596679826cfca047e5b4cad997f1bde"}, "created_at": 1734109926.5204642, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_2596679826cfca047e5b4cad997f1bde\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2596679826cfca047e5b4cad997f1bde.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_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_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_collateral_id.7f5bcd6ac4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_mainnet_collateral_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_74707aec82e3ce9b98faa38c31c937e4.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_collateral_id.7f5bcd6ac4", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_balances_base_mainnet_collateral_id"], "alias": "not_null_fct_perp_collateral_b_74707aec82e3ce9b98faa38c31c937e4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_74707aec82e3ce9b98faa38c31c937e4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_74707aec82e3ce9b98faa38c31c937e4"}, "created_at": 1734109926.5222087, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_74707aec82e3ce9b98faa38c31c937e4\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_74707aec82e3ce9b98faa38c31c937e4.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_base_mainnet\"\nwhere collateral_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_id", "file_key_name": "models.fct_perp_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_synth_token_address.6aa8d47004": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_mainnet_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_8a30d105d948cbc7000ddf085bec0b6e.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_synth_token_address.6aa8d47004", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_balances_base_mainnet_synth_token_address"], "alias": "not_null_fct_perp_collateral_b_8a30d105d948cbc7000ddf085bec0b6e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_8a30d105d948cbc7000ddf085bec0b6e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_8a30d105d948cbc7000ddf085bec0b6e"}, "created_at": 1734109926.5238676, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_8a30d105d948cbc7000ddf085bec0b6e\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_8a30d105d948cbc7000ddf085bec0b6e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_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.fct_perp_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_token_address", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_synth_symbol.6915a64c77": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_mainnet_synth_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_balances_base_mainnet_synth_symbol.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_synth_symbol.6915a64c77", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_balances_base_mainnet_synth_symbol"], "alias": "not_null_fct_perp_collateral_balances_base_mainnet_synth_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": 1734109926.5254724, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_synth_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_base_mainnet\"\nwhere synth_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_symbol", "file_key_name": "models.fct_perp_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_symbol", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_event_type.d0809405df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_mainnet_event_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_balances_base_mainnet_event_type.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_event_type.d0809405df", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_balances_base_mainnet_event_type"], "alias": "not_null_fct_perp_collateral_balances_base_mainnet_event_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": 1734109926.5271263, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_event_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_base_mainnet\"\nwhere event_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_type", "file_key_name": "models.fct_perp_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_type", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_amount_delta.3b1e1ace8a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_mainnet_amount_delta", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_balances_base_mainnet_amount_delta.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_amount_delta.3b1e1ace8a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_balances_base_mainnet_amount_delta"], "alias": "not_null_fct_perp_collateral_balances_base_mainnet_amount_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": 1734109926.5287712, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_base_mainnet_amount_delta.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delta\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_base_mainnet\"\nwhere amount_delta is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delta", "file_key_name": "models.fct_perp_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delta", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_account_balance.4e0c87c2a8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_mainnet_account_balance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_200bf8bf6d1290a83a4181df2e3eb1bf.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_account_balance.4e0c87c2a8", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_balances_base_mainnet_account_balance"], "alias": "not_null_fct_perp_collateral_b_200bf8bf6d1290a83a4181df2e3eb1bf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_200bf8bf6d1290a83a4181df2e3eb1bf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_200bf8bf6d1290a83a4181df2e3eb1bf"}, "created_at": 1734109926.5305421, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_200bf8bf6d1290a83a4181df2e3eb1bf\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_200bf8bf6d1290a83a4181df2e3eb1bf.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_balance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_base_mainnet\"\nwhere account_balance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_balance", "file_key_name": "models.fct_perp_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_mainnet_account_balance__True__0.d558974b62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_balances_base_mainnet_account_balance__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_6f6044b8c236dbe805b024b307717dd4.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_mainnet_account_balance__True__0.d558974b62", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_collateral_balances_base_mainnet_account_balance__True__0"], "alias": "dbt_utils_accepted_range_fct_p_6f6044b8c236dbe805b024b307717dd4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_6f6044b8c236dbe805b024b307717dd4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_6f6044b8c236dbe805b024b307717dd4"}, "created_at": 1734109926.5322173, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_6f6044b8c236dbe805b024b307717dd4\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_mainnet", "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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_6f6044b8c236dbe805b024b307717dd4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- 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_balance >= 0\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_balance", "file_key_name": "models.fct_perp_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_total_balance.78218714a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_mainnet_total_balance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_ccf3c90b9b209cbed7865fe30fe918d1.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_total_balance.78218714a3", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_balances_base_mainnet_total_balance"], "alias": "not_null_fct_perp_collateral_b_ccf3c90b9b209cbed7865fe30fe918d1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_ccf3c90b9b209cbed7865fe30fe918d1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_ccf3c90b9b209cbed7865fe30fe918d1"}, "created_at": 1734109926.5364857, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_ccf3c90b9b209cbed7865fe30fe918d1\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_ccf3c90b9b209cbed7865fe30fe918d1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_balance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_base_mainnet\"\nwhere total_balance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_balance", "file_key_name": "models.fct_perp_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_mainnet_total_balance__True__0.f700d43ea1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_balances_base_mainnet_total_balance__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_296adedccf36df0fc82152b8d2b5320e.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_base_mainnet_total_balance__True__0.f700d43ea1", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_collateral_balances_base_mainnet_total_balance__True__0"], "alias": "dbt_utils_accepted_range_fct_p_296adedccf36df0fc82152b8d2b5320e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_296adedccf36df0fc82152b8d2b5320e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_296adedccf36df0fc82152b8d2b5320e"}, "created_at": 1734109926.538151, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_296adedccf36df0fc82152b8d2b5320e\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_mainnet", "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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_296adedccf36df0fc82152b8d2b5320e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- 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_balance >= 0\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_balance", "file_key_name": "models.fct_perp_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_amount_delta_usd.3edc4b4ee4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_mainnet_amount_delta_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_699e07c565d2ec5f21061550f1f79808.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_amount_delta_usd.3edc4b4ee4", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_balances_base_mainnet_amount_delta_usd"], "alias": "not_null_fct_perp_collateral_b_699e07c565d2ec5f21061550f1f79808", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_699e07c565d2ec5f21061550f1f79808", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_699e07c565d2ec5f21061550f1f79808"}, "created_at": 1734109926.5424569, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_699e07c565d2ec5f21061550f1f79808\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_699e07c565d2ec5f21061550f1f79808.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delta_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_base_mainnet\"\nwhere amount_delta_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delta_usd", "file_key_name": "models.fct_perp_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delta_usd", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_account_balance_usd.57013177d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_base_mainnet_account_balance_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_c9baf04922ee2157ffff501b168cb521.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_base_mainnet_account_balance_usd.57013177d2", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_balances_base_mainnet_account_balance_usd"], "alias": "not_null_fct_perp_collateral_b_c9baf04922ee2157ffff501b168cb521", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_c9baf04922ee2157ffff501b168cb521", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_c9baf04922ee2157ffff501b168cb521"}, "created_at": 1734109926.544141, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_c9baf04922ee2157ffff501b168cb521\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_base_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_balances_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_c9baf04922ee2157ffff501b168cb521.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_balance_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_balances_base_mainnet\"\nwhere account_balance_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_balance_usd", "file_key_name": "models.fct_perp_collateral_balances_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_balance_usd", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_base_mainnet_block_timestamp.76eeb87508": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_activity_base_mainnet_block_timestamp.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_base_mainnet_block_timestamp.76eeb87508", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_activity_base_mainnet_block_timestamp"], "alias": "not_null_fct_core_account_activity_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": 1734109926.567108, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_base_mainnet", "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_activity_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_activity_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_activity_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_core_account_activity_base_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_core_account_activity_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_base_mainnet_account_action.9d7e27fe75": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_base_mainnet_account_action", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_activity_base_mainnet_account_action.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_base_mainnet_account_action.9d7e27fe75", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_activity_base_mainnet_account_action"], "alias": "not_null_fct_core_account_activity_base_mainnet_account_action", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109926.568788, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_base_mainnet", "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_activity_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_activity_base_mainnet_account_action.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_action\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_activity_base_mainnet\"\nwhere account_action is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_action", "file_key_name": "models.fct_core_account_activity_base_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_action", "model": "{{ get_where_subquery(ref('fct_core_account_activity_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_account_activity_base_mainnet_account_action__Delegated__Withdrawn__Claimed.18332843a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_account_activity_base_mainnet_account_action__Delegated__Withdrawn__Claimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_accou_1a4e025a7d56942bbd1a8ea3c32c45b3.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_account_activity_base_mainnet_account_action__Delegated__Withdrawn__Claimed.18332843a2", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "accepted_values_fct_core_account_activity_base_mainnet_account_action__Delegated__Withdrawn__Claimed"], "alias": "accepted_values_fct_core_accou_1a4e025a7d56942bbd1a8ea3c32c45b3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_accou_1a4e025a7d56942bbd1a8ea3c32c45b3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_accou_1a4e025a7d56942bbd1a8ea3c32c45b3"}, "created_at": 1734109926.5704918, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_accou_1a4e025a7d56942bbd1a8ea3c32c45b3\") }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_account_activity_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_accou_1a4e025a7d56942bbd1a8ea3c32c45b3.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n account_action as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_account_activity_base_mainnet\"\n group by account_action\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Delegated','Withdrawn','Claimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_action", "file_key_name": "models.fct_core_account_activity_base_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Delegated", "Withdrawn", "Claimed"], "column_name": "account_action", "model": "{{ get_where_subquery(ref('fct_core_account_activity_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_base_mainnet_account_id.b74fe5dfc2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_activity_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_base_mainnet_account_id.b74fe5dfc2", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_activity_base_mainnet_account_id"], "alias": "not_null_fct_core_account_activity_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": 1734109926.5746598, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_base_mainnet", "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_activity_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_activity_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_activity_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_activity_base_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_activity_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_active_stakers_daily_base_mainnet_block_date.e8394550e7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_active_stakers_daily_base_mainnet_block_date", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_active_stakers_daily_base_mainnet_block_date.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_active_stakers_daily_base_mainnet_block_date.e8394550e7", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_active_stakers_daily_base_mainnet_block_date"], "alias": "not_null_fct_core_active_stakers_daily_base_mainnet_block_date", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109926.576341, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_active_stakers_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_core_active_stakers_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_active_stakers_daily_base_mainnet_block_date.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_date\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_active_stakers_daily_base_mainnet\"\nwhere block_date is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_date", "file_key_name": "models.fct_core_active_stakers_daily_base_mainnet", "attached_node": "model.synthetix.fct_core_active_stakers_daily_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_date", "model": "{{ get_where_subquery(ref('fct_core_active_stakers_daily_base_mainnet')) }}"}, "namespace": null}}, "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": 1734109926.578014, "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": 1734109926.5798306, "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": 1734109926.5814664, "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": 1734109926.583103, "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": 1734109926.5847485, "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": 1734109926.5889995, "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": 1734109926.5907052, "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": 1734109926.5923777, "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": 1734109926.5966556, "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": 1734109926.598343, "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": 1734109926.6026096, "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": 1734109926.604281, "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": 1734109926.605955, "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": 1734109926.610153, "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": 1734109926.6119406, "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": 1734109926.613606, "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": 1734109926.6154153, "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": 1734109926.6171062, "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": 1734109926.6214283, "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": 1734109926.623138, "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": 1734109926.6248517, "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": 1734109926.6265464, "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": 1734109926.6308382, "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": 1734109926.6325078, "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": 1734109926.6341548, "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": 1734109926.6388135, "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": 1734109926.6404786, "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": 1734109926.6421444, "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": 1734109926.7051692, "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": 1734109926.7070198, "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": 1734109926.7087214, "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": 1734109926.713066, "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": 1734109926.7147613, "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": 1734109926.7164078, "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": 1734109926.718054, "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": 1734109926.7197201, "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": 1734109926.7214577, "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": 1734109926.7231297, "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": 1734109926.7274039, "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": 1734109926.7290702, "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": 1734109926.730769, "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": 1734109926.735016, "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": 1734109926.7366908, "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": 1734109926.738355, "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": 1734109926.739999, "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": 1734109926.7417588, "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": 1734109926.7434225, "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": 1734109926.7450583, "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": 1734109926.7467003, "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": 1734109926.7484498, "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": 1734109926.750064, "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": 1734109926.7517128, "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": 1734109926.7533355, "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": 1734109926.7575018, "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": 1734109926.7592213, "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": 1734109926.7634413, "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": 1734109926.7652009, "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": 1734109926.7668378, "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": 1734109926.7685907, "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": 1734109926.7702324, "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": 1734109926.771861, "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": 1734109926.7734556, "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": 1734109926.7750843, "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": 1734109926.776819, "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": 1734109926.7784998, "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": 1734109926.7830994, "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": 1734109926.784769, "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": 1734109926.7864456, "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": 1734109926.790676, "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": 1734109926.792341, "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": 1734109926.7939615, "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": 1734109926.7956412, "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": 1734109926.7974033, "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": 1734109926.7990792, "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": 1734109926.8007338, "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": 1734109926.8049643, "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": 1734109926.806662, "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": 1734109926.8083193, "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": 1734109926.8099635, "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": 1734109926.8117504, "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": 1734109926.8158412, "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": 1734109926.8176727, "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": 1734109926.8193748, "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": 1734109926.821022, "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": 1734109926.8226779, "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": 1734109926.8242967, "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": 1734109926.8260417, "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": 1734109926.83018, "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": 1734109926.8320608, "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": 1734109926.8337247, "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": 1734109926.8353796, "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": 1734109926.8370056, "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": 1734109926.8386633, "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": 1734109926.8428516, "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": 1734109926.8445187, "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": 1734109926.8463247, "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": 1734109926.8504345, "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": 1734109926.85212, "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": 1734109926.8539178, "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": 1734109926.855596, "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": 1734109926.8572419, "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": 1734109926.8614593, "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": 1734109926.8631432, "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": 1734109926.8647983, "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": 1734109926.869316, "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_pool_hourly_base_mainnet_ts.f9b0c31f8e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_pool_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_pool_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_ts.f9b0c31f8e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_pool_hourly_base_mainnet_ts"], "alias": "not_null_fct_pool_rewards_pool_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": 1734109926.8709962, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_pool_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_pool_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_pool_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_pool_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_pool_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_pool_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_pool_id.7caa7784fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_pool_hourly_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_pool_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_pool_hourly_base_mainnet_pool_id.7caa7784fe", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_pool_hourly_base_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_pool_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": 1734109926.8727188, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_pool_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_pool_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_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_pool_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_pool_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_pool_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_pool_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_pool_id__True__0.30606339f8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_101b80b7a60aba9e1559460447c6e1d6.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_pool_id__True__0.30606339f8", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_101b80b7a60aba9e1559460447c6e1d6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_101b80b7a60aba9e1559460447c6e1d6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_101b80b7a60aba9e1559460447c6e1d6"}, "created_at": 1734109926.8745337, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_101b80b7a60aba9e1559460447c6e1d6\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_pool_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_pool_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_101b80b7a60aba9e1559460447c6e1d6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_pool_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_pool_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_pool_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_pool_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_token_symbol.deb64d0827": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_pool_hourly_base_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_pool_hourly_base_mainnet_token_symbol.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_token_symbol.deb64d0827", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_pool_hourly_base_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_pool_hourly_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": 1734109926.878631, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_pool_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_pool_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_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_pool_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_pool_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_pool_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_pool_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_amount.e61f0abae3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_pool_hourly_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_pool_hourly_base_mainnet_amount.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_amount.e61f0abae3", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_pool_hourly_base_mainnet_amount"], "alias": "not_null_fct_pool_rewards_pool_hourly_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": 1734109926.8802931, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_pool_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_pool_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_hourly_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_pool_hourly_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_pool_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_pool_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_pool_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_amount__True__0.b67eb2dc17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d0c5bdf3a3e02f0d619d4207fd68fb2b.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_amount__True__0.b67eb2dc17", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_d0c5bdf3a3e02f0d619d4207fd68fb2b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d0c5bdf3a3e02f0d619d4207fd68fb2b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_d0c5bdf3a3e02f0d619d4207fd68fb2b"}, "created_at": 1734109926.8821359, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_d0c5bdf3a3e02f0d619d4207fd68fb2b\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_pool_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_pool_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d0c5bdf3a3e02f0d619d4207fd68fb2b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_pool_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 >= 0\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_pool_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_pool_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_pool_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_pool_hourly_base_mainnet_rewards_usd.70250ab142": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_pool_hourly_base_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_pool_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_pool_hourly_base_mainnet_rewards_usd.70250ab142", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_pool_hourly_base_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_pool_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": 1734109926.8862386, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_pool_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_pool_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_pool_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_pool_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_pool_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_pool_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_pool_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_rewards_usd__True__0.adf9b2435e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8d7c933abef2fe16f5739a3ab14ce6e2.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_rewards_usd__True__0.adf9b2435e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_pool_hourly_base_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8d7c933abef2fe16f5739a3ab14ce6e2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8d7c933abef2fe16f5739a3ab14ce6e2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_8d7c933abef2fe16f5739a3ab14ce6e2"}, "created_at": 1734109926.8881302, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8d7c933abef2fe16f5739a3ab14ce6e2\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_pool_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_pool_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_8d7c933abef2fe16f5739a3ab14ce6e2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_pool_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_pool_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_pool_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_pool_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": 1734109926.8922253, "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": 1734109926.8940682, "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": 1734109926.8957825, "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": 1734109926.8999422, "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_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": 1734109926.9017797, "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_amount.ee0d98f0ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_mainnet_amount.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.ee0d98f0ab", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_amount"], "alias": "not_null_fct_pool_rewards_token_hourly_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": 1734109926.9034753, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_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_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "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_amount__True__0.dbf212e433": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_64b6a85d9121b214cc7d109f2ecad049.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__True__0.dbf212e433", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_64b6a85d9121b214cc7d109f2ecad049", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_64b6a85d9121b214cc7d109f2ecad049", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_64b6a85d9121b214cc7d109f2ecad049"}, "created_at": 1734109926.905149, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_64b6a85d9121b214cc7d109f2ecad049\") }}", "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_64b6a85d9121b214cc7d109f2ecad049.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 >= 0\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_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", "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": 1734109926.909383, "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": 1734109926.9111063, "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_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": 1734109926.9312057, "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": 1734109926.933055, "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": 1734109926.934741, "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": 1734109926.9363916, "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": 1734109926.9406445, "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": 1734109926.9423199, "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": 1734109926.9440024, "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": 1734109926.9456322, "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": 1734109926.9477925, "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": 1734109926.9495423, "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": 1734109926.951219, "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": 1734109926.9528868, "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": 1734109926.9571037, "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": 1734109926.9587853, "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": 1734109926.9604464, "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": 1734109926.9622319, "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": 1734109926.9639153, "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": 1734109926.9680028, "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": 1734109926.9698498, "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": 1734109926.9715264, "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": 1734109926.9731686, "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": 1734109926.974815, "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": 1734109926.9765856, "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": 1734109926.9782853, "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": 1734109926.9799972, "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": 1734109926.981635, "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": 1734109926.9835405, "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": 1734109926.989626, "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": 1734109926.995056, "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": 1734109926.997767, "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": 1734109926.9997103, "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": 1734109927.0013921, "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": 1734109927.0056384, "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": 1734109927.0073514, "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": 1734109927.0090218, "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": 1734109927.0107384, "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_account_activity_arbitrum_sepolia_ts.2b3425759c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_ts.2b3425759c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_account_activity_arbitrum_sepolia_ts"], "alias": "not_null_fct_perp_account_activity_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": 1734109927.0360258, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_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_perp_account_activity_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_account_activity_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_perp_account_activity_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_account_activity_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_dau.9ae6180ef4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_arbitrum_sepolia_dau", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_arbitrum_sepolia_dau.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_dau.9ae6180ef4", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_account_activity_arbitrum_sepolia_dau"], "alias": "not_null_fct_perp_account_activity_arbitrum_sepolia_dau", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109927.0377212, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_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_perp_account_activity_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_dau.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect dau\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_account_activity_arbitrum_sepolia\"\nwhere dau is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "dau", "file_key_name": "models.fct_perp_account_activity_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_account_activity_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "dau", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_mau.58d94fa36c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_arbitrum_sepolia_mau", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_arbitrum_sepolia_mau.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_mau.58d94fa36c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_account_activity_arbitrum_sepolia_mau"], "alias": "not_null_fct_perp_account_activity_arbitrum_sepolia_mau", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109927.0399437, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_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_perp_account_activity_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_sepolia_mau.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect mau\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_account_activity_arbitrum_sepolia\"\nwhere mau is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "mau", "file_key_name": "models.fct_perp_account_activity_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_account_activity_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "mau", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_new_accounts_daily.18f4b9bc7f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_arbitrum_sepolia_new_accounts_daily", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_acti_4c42bf181f5f9c255a0a6add54e20393.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_new_accounts_daily.18f4b9bc7f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_account_activity_arbitrum_sepolia_new_accounts_daily"], "alias": "not_null_fct_perp_account_acti_4c42bf181f5f9c255a0a6add54e20393", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_account_acti_4c42bf181f5f9c255a0a6add54e20393", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_account_acti_4c42bf181f5f9c255a0a6add54e20393"}, "created_at": 1734109927.0416162, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_account_acti_4c42bf181f5f9c255a0a6add54e20393\") }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_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_perp_account_activity_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_4c42bf181f5f9c255a0a6add54e20393.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect new_accounts_daily\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_account_activity_arbitrum_sepolia\"\nwhere new_accounts_daily is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "new_accounts_daily", "file_key_name": "models.fct_perp_account_activity_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_account_activity_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "new_accounts_daily", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_new_accounts_monthly.6665a7f408": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_arbitrum_sepolia_new_accounts_monthly", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_acti_5caad5f5df5528ec6b04e4b7e1014033.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_sepolia_new_accounts_monthly.6665a7f408", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_account_activity_arbitrum_sepolia_new_accounts_monthly"], "alias": "not_null_fct_perp_account_acti_5caad5f5df5528ec6b04e4b7e1014033", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_account_acti_5caad5f5df5528ec6b04e4b7e1014033", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_account_acti_5caad5f5df5528ec6b04e4b7e1014033"}, "created_at": 1734109927.0432768, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_account_acti_5caad5f5df5528ec6b04e4b7e1014033\") }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_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_perp_account_activity_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_account_acti_5caad5f5df5528ec6b04e4b7e1014033.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect new_accounts_monthly\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_account_activity_arbitrum_sepolia\"\nwhere new_accounts_monthly is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "new_accounts_monthly", "file_key_name": "models.fct_perp_account_activity_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_account_activity_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "new_accounts_monthly", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_id.38605d52c9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_id.38605d52c9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_interest_charged_arbitrum_sepolia_id"], "alias": "not_null_fct_perp_interest_charged_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": 1734109927.044899, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_interest_charged_arbitrum_sepolia_id.418f459da1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_interest_charged_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_interest_charged_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_interest_charged_arbitrum_sepolia_id.418f459da1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "unique_fct_perp_interest_charged_arbitrum_sepolia_id"], "alias": "unique_fct_perp_interest_charged_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": 1734109927.0465467, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_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_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_block_timestamp.a258f49c6c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_cha_c6feb0ef41481f0da32aca4327138aa7.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_block_timestamp.a258f49c6c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_interest_charged_arbitrum_sepolia_block_timestamp"], "alias": "not_null_fct_perp_interest_cha_c6feb0ef41481f0da32aca4327138aa7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_interest_cha_c6feb0ef41481f0da32aca4327138aa7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_c6feb0ef41481f0da32aca4327138aa7"}, "created_at": 1734109927.0483084, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_interest_cha_c6feb0ef41481f0da32aca4327138aa7\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_c6feb0ef41481f0da32aca4327138aa7.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_block_number.bcf0e9c27a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_cha_966fec8c70830188852bf2d44861f9a5.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_block_number.bcf0e9c27a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_interest_charged_arbitrum_sepolia_block_number"], "alias": "not_null_fct_perp_interest_cha_966fec8c70830188852bf2d44861f9a5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_interest_cha_966fec8c70830188852bf2d44861f9a5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_966fec8c70830188852bf2d44861f9a5"}, "created_at": 1734109927.0499682, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_interest_cha_966fec8c70830188852bf2d44861f9a5\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_966fec8c70830188852bf2d44861f9a5.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_transaction_hash.a2955227b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_cha_66f4a069802a8fd343ebc461f0a85ca8.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_transaction_hash.a2955227b8", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_interest_charged_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_perp_interest_cha_66f4a069802a8fd343ebc461f0a85ca8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_interest_cha_66f4a069802a8fd343ebc461f0a85ca8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_66f4a069802a8fd343ebc461f0a85ca8"}, "created_at": 1734109927.0516465, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_interest_cha_66f4a069802a8fd343ebc461f0a85ca8\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_66f4a069802a8fd343ebc461f0a85ca8.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_contract.d14beb1667": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_arbitrum_sepolia_contract.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_contract.d14beb1667", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_interest_charged_arbitrum_sepolia_contract"], "alias": "not_null_fct_perp_interest_charged_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": 1734109927.0533378, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_event_name.08086a65e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_arbitrum_sepolia_event_name.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_event_name.08086a65e0", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_interest_charged_arbitrum_sepolia_event_name"], "alias": "not_null_fct_perp_interest_charged_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": 1734109927.0550976, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_interest_charged_arbitrum_sepolia_event_name__InterestCharged.51e1e7a8ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_interest_charged_arbitrum_sepolia_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_inter_37ce561b1ba2a4a7a928bb7227e23c66.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_interest_charged_arbitrum_sepolia_event_name__InterestCharged.51e1e7a8ae", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "accepted_values_fct_perp_interest_charged_arbitrum_sepolia_event_name__InterestCharged"], "alias": "accepted_values_fct_perp_inter_37ce561b1ba2a4a7a928bb7227e23c66", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_inter_37ce561b1ba2a4a7a928bb7227e23c66", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_37ce561b1ba2a4a7a928bb7227e23c66"}, "created_at": 1734109927.0567498, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_inter_37ce561b1ba2a4a7a928bb7227e23c66\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_37ce561b1ba2a4a7a928bb7227e23c66.sql", "compiled": true, "compiled_code": "\n \n \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_perp_interest_charged_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_account_id.90ca2a0ca7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_arbitrum_sepolia_account_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_account_id.90ca2a0ca7", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_interest_charged_arbitrum_sepolia_account_id"], "alias": "not_null_fct_perp_interest_charged_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": 1734109927.0608602, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_sepolia_account_id__True__0.9112ebe432": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0c8d554aef57f65069e51182a21e7266.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_sepolia_account_id__True__0.9112ebe432", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0c8d554aef57f65069e51182a21e7266", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0c8d554aef57f65069e51182a21e7266", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_0c8d554aef57f65069e51182a21e7266"}, "created_at": 1734109927.0627587, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0c8d554aef57f65069e51182a21e7266\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0c8d554aef57f65069e51182a21e7266.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_interest.9aabfab72d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_sepolia_interest", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_arbitrum_sepolia_interest.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_sepolia_interest.9aabfab72d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_interest_charged_arbitrum_sepolia_interest"], "alias": "not_null_fct_perp_interest_charged_arbitrum_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": 1734109927.0668714, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_sepolia_interest.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_interest_charged_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_sepolia_interest__True__0.c64881a8aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_sepolia_interest__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_5b5369d059ab0c4c8a7872cf214b9aab.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_sepolia_interest__True__0.c64881a8aa", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_sepolia_interest__True__0"], "alias": "dbt_utils_accepted_range_fct_p_5b5369d059ab0c4c8a7872cf214b9aab", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_5b5369d059ab0c4c8a7872cf214b9aab", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_5b5369d059ab0c4c8a7872cf214b9aab"}, "created_at": 1734109927.06876, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_5b5369d059ab0c4c8a7872cf214b9aab\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_5b5369d059ab0c4c8a7872cf214b9aab.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_interest_charged_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_id.8f1c27919f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_id.8f1c27919f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_modified_arbitrum_sepolia_id"], "alias": "not_null_fct_perp_collateral_modified_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": 1734109927.072882, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_collateral_modified_arbitrum_sepolia_id.7cb07d36dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_collateral_modified_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_collateral_modified_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_collateral_modified_arbitrum_sepolia_id.7cb07d36dc", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "unique_fct_perp_collateral_modified_arbitrum_sepolia_id"], "alias": "unique_fct_perp_collateral_modified_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": 1734109927.0748045, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_collateral_modified_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_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_block_timestamp.3899d28cda": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_a9963489f2d2d922278bbeded126996c.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_block_timestamp.3899d28cda", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_modified_arbitrum_sepolia_block_timestamp"], "alias": "not_null_fct_perp_collateral_m_a9963489f2d2d922278bbeded126996c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_a9963489f2d2d922278bbeded126996c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_a9963489f2d2d922278bbeded126996c"}, "created_at": 1734109927.076515, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_a9963489f2d2d922278bbeded126996c\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_a9963489f2d2d922278bbeded126996c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_modified_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.fct_perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_block_number.038db03a29": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_226bb0cf3724c2bad3df25f1aecb9c63.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_block_number.038db03a29", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_modified_arbitrum_sepolia_block_number"], "alias": "not_null_fct_perp_collateral_m_226bb0cf3724c2bad3df25f1aecb9c63", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_226bb0cf3724c2bad3df25f1aecb9c63", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_226bb0cf3724c2bad3df25f1aecb9c63"}, "created_at": 1734109927.0781927, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_226bb0cf3724c2bad3df25f1aecb9c63\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_226bb0cf3724c2bad3df25f1aecb9c63.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_transaction_hash.bd038969b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_c0765ddc930e394199ec9f482d4b4ab7.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_transaction_hash.bd038969b5", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_modified_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_perp_collateral_m_c0765ddc930e394199ec9f482d4b4ab7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_c0765ddc930e394199ec9f482d4b4ab7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_c0765ddc930e394199ec9f482d4b4ab7"}, "created_at": 1734109927.0798848, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_c0765ddc930e394199ec9f482d4b4ab7\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_c0765ddc930e394199ec9f482d4b4ab7.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_contract.b02eea7590": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_arbitrum_sepolia_contract.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_contract.b02eea7590", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_modified_arbitrum_sepolia_contract"], "alias": "not_null_fct_perp_collateral_modified_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": 1734109927.0815022, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_modified_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.fct_perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_event_name.09d14b4d4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_fa56dc58d06727cd1ad6f0e49d2c7adf.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_event_name.09d14b4d4b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_modified_arbitrum_sepolia_event_name"], "alias": "not_null_fct_perp_collateral_m_fa56dc58d06727cd1ad6f0e49d2c7adf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_fa56dc58d06727cd1ad6f0e49d2c7adf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_fa56dc58d06727cd1ad6f0e49d2c7adf"}, "created_at": 1734109927.0832872, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_fa56dc58d06727cd1ad6f0e49d2c7adf\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_fa56dc58d06727cd1ad6f0e49d2c7adf.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_collateral_modified_arbitrum_sepolia_event_name__CollateralModified.4bfeebcda9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_collateral_modified_arbitrum_sepolia_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_colla_f97a5d6ab4bb5d45282eedacc1657393.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_collateral_modified_arbitrum_sepolia_event_name__CollateralModified.4bfeebcda9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "accepted_values_fct_perp_collateral_modified_arbitrum_sepolia_event_name__CollateralModified"], "alias": "accepted_values_fct_perp_colla_f97a5d6ab4bb5d45282eedacc1657393", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_colla_f97a5d6ab4bb5d45282eedacc1657393", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_f97a5d6ab4bb5d45282eedacc1657393"}, "created_at": 1734109927.0849524, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_colla_f97a5d6ab4bb5d45282eedacc1657393\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_f97a5d6ab4bb5d45282eedacc1657393.sql", "compiled": true, "compiled_code": "\n \n \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_perp_collateral_modified_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_synth_market_id.7b6c2e9ecd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_5c6d904034a3bcf925083d6a45ce9fbd.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_synth_market_id.7b6c2e9ecd", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_modified_arbitrum_sepolia_synth_market_id"], "alias": "not_null_fct_perp_collateral_m_5c6d904034a3bcf925083d6a45ce9fbd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_5c6d904034a3bcf925083d6a45ce9fbd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_5c6d904034a3bcf925083d6a45ce9fbd"}, "created_at": 1734109927.0892353, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_5c6d904034a3bcf925083d6a45ce9fbd\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_5c6d904034a3bcf925083d6a45ce9fbd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_arbitrum_sepolia_synth_market_id__True__0.8692b0954c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_modified_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_32fc97a1cf93a1b0a6b26ff7d01b7992.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_arbitrum_sepolia_synth_market_id__True__0.8692b0954c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_collateral_modified_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_32fc97a1cf93a1b0a6b26ff7d01b7992", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_32fc97a1cf93a1b0a6b26ff7d01b7992", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_32fc97a1cf93a1b0a6b26ff7d01b7992"}, "created_at": 1734109927.0909407, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_32fc97a1cf93a1b0a6b26ff7d01b7992\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_32fc97a1cf93a1b0a6b26ff7d01b7992.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_sender.490b67952f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_arbitrum_sepolia_sender.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_sepolia_sender.490b67952f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_modified_arbitrum_sepolia_sender"], "alias": "not_null_fct_perp_collateral_modified_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": 1734109927.0950494, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_modified_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.fct_perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_id.8f347add74": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_id.8f347add74", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_id"], "alias": "not_null_fct_perp_previous_order_expired_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": 1734109927.0969152, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_previous_order_expired_arbitrum_sepolia_id.c4a0a04380": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_previous_order_expired_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_previous_order_expired_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_previous_order_expired_arbitrum_sepolia_id.c4a0a04380", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "unique_fct_perp_previous_order_expired_arbitrum_sepolia_id"], "alias": "unique_fct_perp_previous_order_expired_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": 1734109927.0986438, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_previous_order_expired_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_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_block_timestamp.ce344ae972": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_05ac559bc900e2803f6222630c9908b5.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_block_timestamp.ce344ae972", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_block_timestamp"], "alias": "not_null_fct_perp_previous_ord_05ac559bc900e2803f6222630c9908b5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_05ac559bc900e2803f6222630c9908b5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_05ac559bc900e2803f6222630c9908b5"}, "created_at": 1734109927.1003237, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_05ac559bc900e2803f6222630c9908b5\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_05ac559bc900e2803f6222630c9908b5.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_previous_order_expired_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.fct_perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_block_number.fbd3fb89cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_56bc1fcd0d1ee144995e1ebc45292c56.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_block_number.fbd3fb89cd", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_block_number"], "alias": "not_null_fct_perp_previous_ord_56bc1fcd0d1ee144995e1ebc45292c56", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_56bc1fcd0d1ee144995e1ebc45292c56", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_56bc1fcd0d1ee144995e1ebc45292c56"}, "created_at": 1734109927.1020348, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_56bc1fcd0d1ee144995e1ebc45292c56\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_56bc1fcd0d1ee144995e1ebc45292c56.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_transaction_hash.75fb5800ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_8e6622256cda3410901f4a77fea082e5.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_transaction_hash.75fb5800ee", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_perp_previous_ord_8e6622256cda3410901f4a77fea082e5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_8e6622256cda3410901f4a77fea082e5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_8e6622256cda3410901f4a77fea082e5"}, "created_at": 1734109927.1037962, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_8e6622256cda3410901f4a77fea082e5\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_8e6622256cda3410901f4a77fea082e5.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_contract.9368b6d3c9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_daa8831eac778a7953e3e359bc94008b.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_contract.9368b6d3c9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_contract"], "alias": "not_null_fct_perp_previous_ord_daa8831eac778a7953e3e359bc94008b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_daa8831eac778a7953e3e359bc94008b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_daa8831eac778a7953e3e359bc94008b"}, "created_at": 1734109927.105444, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_daa8831eac778a7953e3e359bc94008b\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_daa8831eac778a7953e3e359bc94008b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_previous_order_expired_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.fct_perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_event_name.867c7e9c9e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_832ddb66959408c19dbb6c0f30c41cf6.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_event_name.867c7e9c9e", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_event_name"], "alias": "not_null_fct_perp_previous_ord_832ddb66959408c19dbb6c0f30c41cf6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_832ddb66959408c19dbb6c0f30c41cf6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_832ddb66959408c19dbb6c0f30c41cf6"}, "created_at": 1734109927.107095, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_832ddb66959408c19dbb6c0f30c41cf6\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_832ddb66959408c19dbb6c0f30c41cf6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_previous_order_expired_arbitrum_sepolia_event_name__PreviousOrderExpired.48e00fa2d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_previous_order_expired_arbitrum_sepolia_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_previ_2730a16dc2b62cc7a9b68ecdd9ba92a4.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_previous_order_expired_arbitrum_sepolia_event_name__PreviousOrderExpired.48e00fa2d6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "accepted_values_fct_perp_previous_order_expired_arbitrum_sepolia_event_name__PreviousOrderExpired"], "alias": "accepted_values_fct_perp_previ_2730a16dc2b62cc7a9b68ecdd9ba92a4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_previ_2730a16dc2b62cc7a9b68ecdd9ba92a4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_2730a16dc2b62cc7a9b68ecdd9ba92a4"}, "created_at": 1734109927.1087413, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_previ_2730a16dc2b62cc7a9b68ecdd9ba92a4\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_2730a16dc2b62cc7a9b68ecdd9ba92a4.sql", "compiled": true, "compiled_code": "\n \n \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_perp_previous_order_expired_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_market_id.bf6ab6d240": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_a14484db01abde00713bfbdce086536d.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_market_id.bf6ab6d240", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_market_id"], "alias": "not_null_fct_perp_previous_ord_a14484db01abde00713bfbdce086536d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_a14484db01abde00713bfbdce086536d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_a14484db01abde00713bfbdce086536d"}, "created_at": 1734109927.112987, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_a14484db01abde00713bfbdce086536d\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_a14484db01abde00713bfbdce086536d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_sepolia_market_id__True__0.110e709d41": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_71c15b0e52d6cdf78db4c51f1b8a2fcb.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_sepolia_market_id__True__0.110e709d41", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_71c15b0e52d6cdf78db4c51f1b8a2fcb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_71c15b0e52d6cdf78db4c51f1b8a2fcb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_71c15b0e52d6cdf78db4c51f1b8a2fcb"}, "created_at": 1734109927.1146865, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_71c15b0e52d6cdf78db4c51f1b8a2fcb\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_71c15b0e52d6cdf78db4c51f1b8a2fcb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_account_id.b3fe07a0f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_c7aba1ee151a3cf5c3122396bec6c3bc.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_sepolia_account_id.b3fe07a0f6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_sepolia_account_id"], "alias": "not_null_fct_perp_previous_ord_c7aba1ee151a3cf5c3122396bec6c3bc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_c7aba1ee151a3cf5c3122396bec6c3bc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_c7aba1ee151a3cf5c3122396bec6c3bc"}, "created_at": 1734109927.1189914, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_c7aba1ee151a3cf5c3122396bec6c3bc\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c7aba1ee151a3cf5c3122396bec6c3bc.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_sepolia_account_id__True__0.923099e195": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e1da16f9ddb02f52e09d77a2bb8b3127.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_sepolia_account_id__True__0.923099e195", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e1da16f9ddb02f52e09d77a2bb8b3127", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e1da16f9ddb02f52e09d77a2bb8b3127", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_e1da16f9ddb02f52e09d77a2bb8b3127"}, "created_at": 1734109927.1206667, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e1da16f9ddb02f52e09d77a2bb8b3127\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e1da16f9ddb02f52e09d77a2bb8b3127.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_previous_order_expired_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.fct_perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_id.cc6815332b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_id.cc6815332b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_id"], "alias": "not_null_fct_perp_trades_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": 1734109927.125202, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_trades_arbitrum_sepolia_id.97727d3bc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_trades_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_trades_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_trades_arbitrum_sepolia_id.97727d3bc8", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "unique_fct_perp_trades_arbitrum_sepolia_id"], "alias": "unique_fct_perp_trades_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": 1734109927.1269066, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_trades_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_perp_trades_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_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_ts.7168a7dcb9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_ts.7168a7dcb9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_ts"], "alias": "not_null_fct_perp_trades_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": 1734109927.1286056, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_block_number.e05ab0ce3d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_block_number.e05ab0ce3d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_block_number"], "alias": "not_null_fct_perp_trades_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": 1734109927.1302457, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_transaction_hash.cdee9e9027": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_transaction_hash.cdee9e9027", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_perp_trades_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": 1734109927.1320074, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_contract.b7fc20d311": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_contract.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_contract.b7fc20d311", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_contract"], "alias": "not_null_fct_perp_trades_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": 1734109927.1336293, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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.fct_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_market_id.2c1fcea791": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_market_id.2c1fcea791", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_market_id"], "alias": "not_null_fct_perp_trades_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": 1734109927.135278, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_market_id__True__0.6123a5e0f8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8eebfb7454b8b2de313cec6e915e8d00.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_market_id__True__0.6123a5e0f8", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8eebfb7454b8b2de313cec6e915e8d00", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8eebfb7454b8b2de313cec6e915e8d00", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_8eebfb7454b8b2de313cec6e915e8d00"}, "created_at": 1734109927.136914, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8eebfb7454b8b2de313cec6e915e8d00\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8eebfb7454b8b2de313cec6e915e8d00.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_market_symbol.c6a6aa478b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_market_symbol.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_market_symbol.c6a6aa478b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_market_symbol"], "alias": "not_null_fct_perp_trades_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": 1734109927.1411335, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_account_id.87c909f789": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_account_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_account_id.87c909f789", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_account_id"], "alias": "not_null_fct_perp_trades_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": 1734109927.142848, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_fill_price.e01f35e7e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_fill_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_fill_price.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_fill_price.e01f35e7e0", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_fill_price"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.1444952, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_fill_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fill_price\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_fill_price__True__0.84d6f40700": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_fill_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_03102853af5eb766be3b73216c034f65.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_fill_price__True__0.84d6f40700", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_fill_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_03102853af5eb766be3b73216c034f65", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_03102853af5eb766be3b73216c034f65", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_03102853af5eb766be3b73216c034f65"}, "created_at": 1734109927.1462665, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_03102853af5eb766be3b73216c034f65\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_03102853af5eb766be3b73216c034f65.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_pnl.cd004b1f6c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_pnl.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_pnl.cd004b1f6c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_pnl"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.1503656, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pnl\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pnl", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_accrued_funding.d1353dabad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_accrued_funding", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_accrued_funding.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_accrued_funding.d1353dabad", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_accrued_funding"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.152066, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_accrued_funding.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect accrued_funding\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "accrued_funding", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_trade_size.2d16719cfa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_trade_size.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_trade_size.2d16719cfa", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_trade_size"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.1538942, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect trade_size\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_position_size.451b8cbb68": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_position_size.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_position_size.451b8cbb68", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_position_size"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.1555572, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_total_fees.76dcb57c24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_total_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_total_fees.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_total_fees.76dcb57c24", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_total_fees"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.1571932, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_total_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_fees\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_total_fees__True__0.7a97931ad2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_total_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c34c5714b957bba2192a57a73d8e840c.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_total_fees__True__0.7a97931ad2", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_total_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c34c5714b957bba2192a57a73d8e840c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c34c5714b957bba2192a57a73d8e840c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c34c5714b957bba2192a57a73d8e840c"}, "created_at": 1734109927.158858, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c34c5714b957bba2192a57a73d8e840c\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c34c5714b957bba2192a57a73d8e840c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_referral_fees.5aade6b5e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_referral_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_referral_fees.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_referral_fees.5aade6b5e5", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_referral_fees"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.1630576, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_referral_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referral_fees\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_referral_fees__True__0.f37cc98502": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_referral_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0c872c0cb7b424f4d0527e3e3893cad4.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_referral_fees__True__0.f37cc98502", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_referral_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0c872c0cb7b424f4d0527e3e3893cad4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0c872c0cb7b424f4d0527e3e3893cad4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_0c872c0cb7b424f4d0527e3e3893cad4"}, "created_at": 1734109927.1647663, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0c872c0cb7b424f4d0527e3e3893cad4\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0c872c0cb7b424f4d0527e3e3893cad4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_collected_fees.1a014bf126": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_collected_fees.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_collected_fees.1a014bf126", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_collected_fees"], "alias": "not_null_fct_perp_trades_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": 1734109927.168987, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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.fct_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_collected_fees__True__0.f8c115c059": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_5ee0d4d2eb53d0bf8493c4e29ce499f2.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_collected_fees__True__0.f8c115c059", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_5ee0d4d2eb53d0bf8493c4e29ce499f2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_5ee0d4d2eb53d0bf8493c4e29ce499f2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_5ee0d4d2eb53d0bf8493c4e29ce499f2"}, "created_at": 1734109927.1707308, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_5ee0d4d2eb53d0bf8493c4e29ce499f2\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_5ee0d4d2eb53d0bf8493c4e29ce499f2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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.fct_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_settlement_reward.aa985f0df2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_settlement_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_settlement_reward.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_settlement_reward.aa985f0df2", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_settlement_reward"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.1749275, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_settlement_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settlement_reward\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_settlement_reward__True__0.f9a75fbfd2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_settlement_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_f55271eda5cd0bb666f2625ecc8c950c.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_settlement_reward__True__0.f9a75fbfd2", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_settlement_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_f55271eda5cd0bb666f2625ecc8c950c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_f55271eda5cd0bb666f2625ecc8c950c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_f55271eda5cd0bb666f2625ecc8c950c"}, "created_at": 1734109927.1766055, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_f55271eda5cd0bb666f2625ecc8c950c\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f55271eda5cd0bb666f2625ecc8c950c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_tracking_code.653ddd5967": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_tracking_code", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_tracking_code.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_tracking_code.653ddd5967", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_tracking_code"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.180886, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_tracking_code.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tracking_code\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tracking_code", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_settler.bc87147eb6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_settler.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_settler.bc87147eb6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_settler"], "alias": "not_null_fct_perp_trades_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": 1734109927.1825953, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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.fct_perp_trades_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settler", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_notional_trade_size.96d394476f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_notional_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_notional_trade_size.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_notional_trade_size.96d394476f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_notional_trade_size"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.184262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_notional_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_trade_size\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_notional_position_size.718ab14890": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_notional_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbit_1b821452537a1f2a9f93f94c774a58e0.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_notional_position_size.718ab14890", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_notional_position_size"], "alias": "not_null_fct_perp_trades_arbit_1b821452537a1f2a9f93f94c774a58e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_trades_arbit_1b821452537a1f2a9f93f94c774a58e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_trades_arbit_1b821452537a1f2a9f93f94c774a58e0"}, "created_at": 1734109927.1858912, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_trades_arbit_1b821452537a1f2a9f93f94c774a58e0\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbit_1b821452537a1f2a9f93f94c774a58e0.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_position_size\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_lp_fees.e0ce3fdd00": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_lp_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_lp_fees.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_lp_fees.e0ce3fdd00", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_lp_fees"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.187677, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_lp_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect lp_fees\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_lp_fees__True__0.4031a219b2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_lp_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d0aec6280d097eb6c6aa06414296a731.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_lp_fees__True__0.4031a219b2", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_lp_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_d0aec6280d097eb6c6aa06414296a731", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d0aec6280d097eb6c6aa06414296a731", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_d0aec6280d097eb6c6aa06414296a731"}, "created_at": 1734109927.1893306, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(severity=\"warn\",alias=\"dbt_utils_accepted_range_fct_p_d0aec6280d097eb6c6aa06414296a731\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d0aec6280d097eb6c6aa06414296a731.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_exchange_fees.daa870eeea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_sepolia_exchange_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_sepolia_exchange_fees.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_sepolia_exchange_fees.daa870eeea", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_trades_arbitrum_sepolia_exchange_fees"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.1936755, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_trades_arbitrum_sepolia_exchange_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect exchange_fees\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_exchange_fees__True__0.8551cec8b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_exchange_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_6611babf7b889013ce7caa643092e72c.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_exchange_fees__True__0.8551cec8b5", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_sepolia_exchange_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_6611babf7b889013ce7caa643092e72c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_6611babf7b889013ce7caa643092e72c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_6611babf7b889013ce7caa643092e72c"}, "created_at": 1734109927.195389, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_6611babf7b889013ce7caa643092e72c\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_6611babf7b889013ce7caa643092e72c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_trades_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_pnl_arbitrum_sepolia_ts.9b3b9b4145": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_arbitrum_sepolia_ts.9b3b9b4145", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_pnl_arbitrum_sepolia_ts"], "alias": "not_null_fct_perp_pnl_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": 1734109927.1997085, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_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_perp_pnl_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_pnl_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_perp_pnl_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_pnl_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_pnl_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_pnl_arbitrum_sepolia_market_id.e7e798c2a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_arbitrum_sepolia_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_arbitrum_sepolia_market_id.e7e798c2a6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_pnl_arbitrum_sepolia_market_id"], "alias": "not_null_fct_perp_pnl_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": 1734109927.2013795, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_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_perp_pnl_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_pnl_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_perp_pnl_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_pnl_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_arbitrum_sepolia_market_id__True__0.78cda1ee25": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_pnl_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0282cd2183706900553f565b7dab07e1.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_arbitrum_sepolia_market_id__True__0.78cda1ee25", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_pnl_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0282cd2183706900553f565b7dab07e1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0282cd2183706900553f565b7dab07e1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_0282cd2183706900553f565b7dab07e1"}, "created_at": 1734109927.2030904, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0282cd2183706900553f565b7dab07e1\") }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_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_perp_pnl_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0282cd2183706900553f565b7dab07e1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_pnl_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_perp_pnl_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_pnl_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_id.0a35a6cefb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_id.0a35a6cefb", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_orders_arbitrum_sepolia_id"], "alias": "not_null_fct_perp_orders_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": 1734109927.2077312, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_orders_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_perp_orders_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_orders_arbitrum_sepolia_id.e2567e2470": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_orders_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_orders_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_orders_arbitrum_sepolia_id.e2567e2470", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "unique_fct_perp_orders_arbitrum_sepolia_id"], "alias": "unique_fct_perp_orders_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": 1734109927.2093952, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_orders_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_perp_orders_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_perp_orders_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_ts.ed27702e6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_ts.ed27702e6b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_orders_arbitrum_sepolia_ts"], "alias": "not_null_fct_perp_orders_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": 1734109927.2110393, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_orders_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_perp_orders_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_block_number.9a237cda1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_block_number.9a237cda1b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_orders_arbitrum_sepolia_block_number"], "alias": "not_null_fct_perp_orders_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": 1734109927.2128093, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_orders_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_perp_orders_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_transaction_hash.abdc2734c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_transaction_hash.abdc2734c4", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_orders_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_perp_orders_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": 1734109927.2144654, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_orders_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_perp_orders_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_contract.f0c534a661": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_sepolia_contract.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_contract.f0c534a661", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_orders_arbitrum_sepolia_contract"], "alias": "not_null_fct_perp_orders_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": 1734109927.2161005, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_orders_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.fct_perp_orders_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_market_id.e4f932e2e7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_sepolia_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_market_id.e4f932e2e7", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_orders_arbitrum_sepolia_market_id"], "alias": "not_null_fct_perp_orders_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": 1734109927.2177207, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_orders_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_perp_orders_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_arbitrum_sepolia_market_id__True__0.0950ca5dc6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_orders_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0d7dc918864053575845b11935887ba6.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_arbitrum_sepolia_market_id__True__0.0950ca5dc6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_orders_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0d7dc918864053575845b11935887ba6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0d7dc918864053575845b11935887ba6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_0d7dc918864053575845b11935887ba6"}, "created_at": 1734109927.219374, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0d7dc918864053575845b11935887ba6\") }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_0d7dc918864053575845b11935887ba6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_orders_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_perp_orders_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_market_symbol.2104bc133c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_sepolia_market_symbol.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_market_symbol.2104bc133c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_orders_arbitrum_sepolia_market_symbol"], "alias": "not_null_fct_perp_orders_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": 1734109927.2235465, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_orders_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_perp_orders_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_account_id.c9eae65168": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_sepolia_account_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_sepolia_account_id.c9eae65168", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_orders_arbitrum_sepolia_account_id"], "alias": "not_null_fct_perp_orders_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": 1734109927.2252178, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_orders_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_orders_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_perp_orders_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_id.1aae92d10b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_id.1aae92d10b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_markets_arbitrum_sepolia_id"], "alias": "not_null_fct_perp_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": 1734109927.2270463, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_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_perp_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_arbitrum_sepolia_id__True__0.809baf15c9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_markets_arbitrum_sepolia_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_5d6cf231c7bb30c41c45b99f3f6da2a1.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_arbitrum_sepolia_id__True__0.809baf15c9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_markets_arbitrum_sepolia_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_5d6cf231c7bb30c41c45b99f3f6da2a1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_5d6cf231c7bb30c41c45b99f3f6da2a1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_5d6cf231c7bb30c41c45b99f3f6da2a1"}, "created_at": 1734109927.2287147, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_5d6cf231c7bb30c41c45b99f3f6da2a1\") }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_5d6cf231c7bb30c41c45b99f3f6da2a1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_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_perp_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_created_ts.c925538049": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_arbitrum_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_arbitrum_sepolia_created_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_created_ts.c925538049", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_markets_arbitrum_sepolia_created_ts"], "alias": "not_null_fct_perp_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": 1734109927.232815, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_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_perp_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_block_number.29c62666b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_block_number.29c62666b5", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_markets_arbitrum_sepolia_block_number"], "alias": "not_null_fct_perp_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": 1734109927.2346964, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_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_perp_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_market_symbol.894efe853d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_arbitrum_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_arbitrum_sepolia_market_symbol.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_market_symbol.894efe853d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_markets_arbitrum_sepolia_market_symbol"], "alias": "not_null_fct_perp_markets_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": 1734109927.2363572, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_markets_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_perp_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_market_name.2fb670f3c9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_arbitrum_sepolia_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_arbitrum_sepolia_market_name.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_arbitrum_sepolia_market_name.2fb670f3c9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_markets_arbitrum_sepolia_market_name"], "alias": "not_null_fct_perp_markets_arbitrum_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": 1734109927.2380276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_markets_arbitrum_sepolia_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_markets_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_id.c07e81599c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_id.c07e81599c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_id"], "alias": "not_null_fct_perp_market_history_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": 1734109927.2397041, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_market_history_arbitrum_sepolia_id.5ebcf62272": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_market_history_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_market_history_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_market_history_arbitrum_sepolia_id.5ebcf62272", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "unique_fct_perp_market_history_arbitrum_sepolia_id"], "alias": "unique_fct_perp_market_history_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": 1734109927.241438, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_market_history_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_perp_market_history_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_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_ts.0a97082751": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_ts.0a97082751", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_ts"], "alias": "not_null_fct_perp_market_history_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": 1734109927.2431042, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_block_number.bf6af7baa5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_block_number.bf6af7baa5", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_block_number"], "alias": "not_null_fct_perp_market_history_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": 1734109927.2447274, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_transaction_hash.7c5d714791": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_histo_afb652fde55a7f2226e2af5611e0ea69.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_transaction_hash.7c5d714791", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_perp_market_histo_afb652fde55a7f2226e2af5611e0ea69", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_market_histo_afb652fde55a7f2226e2af5611e0ea69", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_market_histo_afb652fde55a7f2226e2af5611e0ea69"}, "created_at": 1734109927.2463675, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_market_histo_afb652fde55a7f2226e2af5611e0ea69\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_afb652fde55a7f2226e2af5611e0ea69.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_market_id.319db3ddd3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_market_id.319db3ddd3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_market_id"], "alias": "not_null_fct_perp_market_history_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": 1734109927.2480233, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_market_id__True__0.4fa717e8b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c7fa43d05c0ddd75de5587d7ade6e098.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_market_id__True__0.4fa717e8b8", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c7fa43d05c0ddd75de5587d7ade6e098", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c7fa43d05c0ddd75de5587d7ade6e098", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c7fa43d05c0ddd75de5587d7ade6e098"}, "created_at": 1734109927.249801, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c7fa43d05c0ddd75de5587d7ade6e098\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c7fa43d05c0ddd75de5587d7ade6e098.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_market_symbol.bf10fe08a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_market_symbol.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_market_symbol.bf10fe08a1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_market_symbol"], "alias": "not_null_fct_perp_market_history_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": 1734109927.253906, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_price.fb63891fb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_price.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_price.fb63891fb4", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_price"], "alias": "not_null_fct_perp_market_history_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": 1734109927.2557833, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_skew.dcf5d90983": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_skew", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_skew.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_skew.dcf5d90983", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_skew"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109927.2574472, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_skew.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect skew\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "skew", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_size.6a0b574e1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_size.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_size.6a0b574e1a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_size"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109927.2591252, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_size_delta.03007f03ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_size_delta", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_size_delta.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_size_delta.03007f03ad", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_size_delta"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109927.2607596, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_size_delta.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_delta\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size_delta", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate.0c7c4681c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate.0c7c4681c3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109927.262418, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_funding_velocity.b534721653": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_funding_velocity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_histo_f2cd79a163c2d1d51ca359bdd5a1a94e.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_funding_velocity.b534721653", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_funding_velocity"], "alias": "not_null_fct_perp_market_histo_f2cd79a163c2d1d51ca359bdd5a1a94e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_market_histo_f2cd79a163c2d1d51ca359bdd5a1a94e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_market_histo_f2cd79a163c2d1d51ca359bdd5a1a94e"}, "created_at": 1734109927.2642002, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_market_histo_f2cd79a163c2d1d51ca359bdd5a1a94e\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_f2cd79a163c2d1d51ca359bdd5a1a94e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_velocity\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_velocity", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_interest_rate.fd928f3550": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_interest_rate.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_interest_rate.fd928f3550", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_interest_rate"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109927.265824, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate_apr.e818a3e5bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_histo_ae93bd3fc6e929328800136685550ece.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate_apr.e818a3e5bf", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_funding_rate_apr"], "alias": "not_null_fct_perp_market_histo_ae93bd3fc6e929328800136685550ece", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_market_histo_ae93bd3fc6e929328800136685550ece", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_market_histo_ae93bd3fc6e929328800136685550ece"}, "created_at": 1734109927.2675517, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_market_histo_ae93bd3fc6e929328800136685550ece\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_ae93bd3fc6e929328800136685550ece.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate_apr\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_long_rate_apr.079c76b379": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_long_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_long_rate_apr.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_long_rate_apr.079c76b379", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_long_rate_apr"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109927.2691855, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_long_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect long_rate_apr\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "long_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_short_rate_apr.387df474b7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_short_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_histo_baea09cd8bd9b6b66228d8e77ac50f11.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_short_rate_apr.387df474b7", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_short_rate_apr"], "alias": "not_null_fct_perp_market_histo_baea09cd8bd9b6b66228d8e77ac50f11", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_market_histo_baea09cd8bd9b6b66228d8e77ac50f11", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_market_histo_baea09cd8bd9b6b66228d8e77ac50f11"}, "created_at": 1734109927.270945, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_market_histo_baea09cd8bd9b6b66228d8e77ac50f11\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_histo_baea09cd8bd9b6b66228d8e77ac50f11.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect short_rate_apr\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "short_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_prev_size.ba65490763": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_prev_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_prev_size.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_prev_size.ba65490763", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_prev_size"], "alias": "not_null_fct_perp_market_history_arbitrum_sepolia_prev_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": 1734109927.2725677, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_prev_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect prev_size\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_sepolia\"\nwhere prev_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "prev_size", "file_key_name": "models.fct_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "prev_size", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_prev_size__True__0.22f4d04d76": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_prev_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_bbb8a845e72ef59dc9c1552fb8ebc8d9.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_prev_size__True__0.22f4d04d76", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_prev_size__True__0"], "alias": "dbt_utils_accepted_range_fct_p_bbb8a845e72ef59dc9c1552fb8ebc8d9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_bbb8a845e72ef59dc9c1552fb8ebc8d9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_bbb8a845e72ef59dc9c1552fb8ebc8d9"}, "created_at": 1734109927.274197, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_bbb8a845e72ef59dc9c1552fb8ebc8d9\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bbb8a845e72ef59dc9c1552fb8ebc8d9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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 prev_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": "prev_size", "file_key_name": "models.fct_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "prev_size", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_market_oi_usd.1a801f1301": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_market_oi_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_market_oi_usd.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_market_oi_usd.1a801f1301", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_market_oi_usd"], "alias": "not_null_fct_perp_market_history_arbitrum_sepolia_market_oi_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": 1734109927.2784991, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_market_oi_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_oi_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_sepolia\"\nwhere market_oi_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_oi_usd", "file_key_name": "models.fct_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_market_oi_usd__True__0.4471884e57": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_market_oi_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e5bf5bfa9608daf0406cd950db863769.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_market_oi_usd__True__0.4471884e57", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_market_oi_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e5bf5bfa9608daf0406cd950db863769", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e5bf5bfa9608daf0406cd950db863769", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_e5bf5bfa9608daf0406cd950db863769"}, "created_at": 1734109927.2801917, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e5bf5bfa9608daf0406cd950db863769\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5bf5bfa9608daf0406cd950db863769.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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_oi_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": "market_oi_usd", "file_key_name": "models.fct_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_total_oi_usd.b03faabf97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_total_oi_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_total_oi_usd.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_total_oi_usd.b03faabf97", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_total_oi_usd"], "alias": "not_null_fct_perp_market_history_arbitrum_sepolia_total_oi_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": 1734109927.2844458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_total_oi_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_oi_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_sepolia\"\nwhere total_oi_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_oi_usd", "file_key_name": "models.fct_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_total_oi_usd__True__0.4f341c2df9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_total_oi_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_fcbd27d474d112de1bcefae160ee9169.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_total_oi_usd__True__0.4f341c2df9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_total_oi_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_fcbd27d474d112de1bcefae160ee9169", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_fcbd27d474d112de1bcefae160ee9169", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_fcbd27d474d112de1bcefae160ee9169"}, "created_at": 1734109927.2861202, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_fcbd27d474d112de1bcefae160ee9169\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_fcbd27d474d112de1bcefae160ee9169.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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 total_oi_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": "total_oi_usd", "file_key_name": "models.fct_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_long_oi.e7014159f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_long_oi", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_long_oi.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_long_oi.e7014159f1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_long_oi"], "alias": "not_null_fct_perp_market_history_arbitrum_sepolia_long_oi", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109927.2906647, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_long_oi.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect long_oi\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_sepolia\"\nwhere long_oi is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_oi", "file_key_name": "models.fct_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "long_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_long_oi__True__0.d3603acb30": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_long_oi__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c999b8d3d730ce88987ca0a1c6806ba3.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_long_oi__True__0.d3603acb30", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_long_oi__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c999b8d3d730ce88987ca0a1c6806ba3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c999b8d3d730ce88987ca0a1c6806ba3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c999b8d3d730ce88987ca0a1c6806ba3"}, "created_at": 1734109927.2923806, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c999b8d3d730ce88987ca0a1c6806ba3\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c999b8d3d730ce88987ca0a1c6806ba3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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 long_oi >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_oi", "file_key_name": "models.fct_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "long_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_short_oi.58448f0257": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_sepolia_short_oi", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_sepolia_short_oi.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_sepolia_short_oi.58448f0257", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_market_history_arbitrum_sepolia_short_oi"], "alias": "not_null_fct_perp_market_history_arbitrum_sepolia_short_oi", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109927.2965875, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_sepolia_short_oi.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect short_oi\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_arbitrum_sepolia\"\nwhere short_oi is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_oi", "file_key_name": "models.fct_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "short_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_short_oi__True__0.8b32523c71": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_short_oi__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_631f93e827416952fc401d5a2617a70b.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_short_oi__True__0.8b32523c71", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_sepolia_short_oi__True__0"], "alias": "dbt_utils_accepted_range_fct_p_631f93e827416952fc401d5a2617a70b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_631f93e827416952fc401d5a2617a70b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_631f93e827416952fc401d5a2617a70b"}, "created_at": 1734109927.298291, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_631f93e827416952fc401d5a2617a70b\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_631f93e827416952fc401d5a2617a70b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_market_history_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 short_oi >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_oi", "file_key_name": "models.fct_perp_market_history_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "short_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_id.61aaec741e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_id.61aaec741e", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_position_arbitrum_sepolia_id"], "alias": "not_null_fct_perp_liq_position_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": 1734109927.3024106, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_liq_position_arbitrum_sepolia_id.143a6e53ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_liq_position_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_liq_position_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_liq_position_arbitrum_sepolia_id.143a6e53ab", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "unique_fct_perp_liq_position_arbitrum_sepolia_id"], "alias": "unique_fct_perp_liq_position_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": 1734109927.304273, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_liq_position_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_perp_liq_position_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_perp_liq_position_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_ts.86fe34cc45": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_ts.86fe34cc45", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_position_arbitrum_sepolia_ts"], "alias": "not_null_fct_perp_liq_position_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": 1734109927.3059335, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_block_number.e6e93f1ab3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_block_number.e6e93f1ab3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_position_arbitrum_sepolia_block_number"], "alias": "not_null_fct_perp_liq_position_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": 1734109927.3076117, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_transaction_hash.d7c137d375": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_cde30711e4d43245a7ac8a257edceb52.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_transaction_hash.d7c137d375", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_position_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_perp_liq_position_cde30711e4d43245a7ac8a257edceb52", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_liq_position_cde30711e4d43245a7ac8a257edceb52", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_liq_position_cde30711e4d43245a7ac8a257edceb52"}, "created_at": 1734109927.3092322, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_liq_position_cde30711e4d43245a7ac8a257edceb52\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_cde30711e4d43245a7ac8a257edceb52.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_account_id.cde4f3f191": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_sepolia_account_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_account_id.cde4f3f191", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_position_arbitrum_sepolia_account_id"], "alias": "not_null_fct_perp_liq_position_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": 1734109927.310968, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_market_id.a7c845cd48": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_sepolia_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_market_id.a7c845cd48", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_position_arbitrum_sepolia_market_id"], "alias": "not_null_fct_perp_liq_position_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": 1734109927.3126442, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_market_id__True__0.4485c332d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_03c7115745637ccef76e8372c82ef99f.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_market_id__True__0.4485c332d0", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_03c7115745637ccef76e8372c82ef99f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_03c7115745637ccef76e8372c82ef99f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_03c7115745637ccef76e8372c82ef99f"}, "created_at": 1734109927.314303, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_03c7115745637ccef76e8372c82ef99f\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_03c7115745637ccef76e8372c82ef99f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_market_symbol.1097b1cf7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_sepolia_market_symbol.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_market_symbol.1097b1cf7e", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_position_arbitrum_sepolia_market_symbol"], "alias": "not_null_fct_perp_liq_position_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": 1734109927.318572, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_amount_liquidated.a3cb633bfc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_sepolia_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_e5dbfc6ac8922958d5e4e5e43fb23639.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_amount_liquidated.a3cb633bfc", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_position_arbitrum_sepolia_amount_liquidated"], "alias": "not_null_fct_perp_liq_position_e5dbfc6ac8922958d5e4e5e43fb23639", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_liq_position_e5dbfc6ac8922958d5e4e5e43fb23639", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_liq_position_e5dbfc6ac8922958d5e4e5e43fb23639"}, "created_at": 1734109927.320251, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_liq_position_e5dbfc6ac8922958d5e4e5e43fb23639\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_e5dbfc6ac8922958d5e4e5e43fb23639.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_amount_liquidated__True__0.956e63f5ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_4665d426d61421eeedf4e7af6081cb90.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_amount_liquidated__True__0.956e63f5ec", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_fct_p_4665d426d61421eeedf4e7af6081cb90", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_4665d426d61421eeedf4e7af6081cb90", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_4665d426d61421eeedf4e7af6081cb90"}, "created_at": 1734109927.321938, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_4665d426d61421eeedf4e7af6081cb90\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_4665d426d61421eeedf4e7af6081cb90.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_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_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_position_size.ac5bc63bdb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_sepolia_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_sepolia_position_size.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_sepolia_position_size.ac5bc63bdb", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_position_arbitrum_sepolia_position_size"], "alias": "not_null_fct_perp_liq_position_arbitrum_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": 1734109927.3261476, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_sepolia_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_position_size__True__0.ffc90d2068": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_de100d2ce6379f4bac61e68a57576d91.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_position_size__True__0.ffc90d2068", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_sepolia_position_size__True__0"], "alias": "dbt_utils_accepted_range_fct_p_de100d2ce6379f4bac61e68a57576d91", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_de100d2ce6379f4bac61e68a57576d91", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_de100d2ce6379f4bac61e68a57576d91"}, "created_at": 1734109927.3278968, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_de100d2ce6379f4bac61e68a57576d91\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_de100d2ce6379f4bac61e68a57576d91.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_position_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_account_arbitrum_sepolia_account_id.43bf639764": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_arbitrum_sepolia_account_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_sepolia_account_id.43bf639764", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_account_arbitrum_sepolia_account_id"], "alias": "not_null_fct_perp_liq_account_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": 1734109927.3321474, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_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_perp_liq_account_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_account_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_perp_liq_account_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_arbitrum_sepolia_ts.17212bb7f0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_sepolia_ts.17212bb7f0", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_account_arbitrum_sepolia_ts"], "alias": "not_null_fct_perp_liq_account_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": 1734109927.3338215, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_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_perp_liq_account_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_account_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_perp_liq_account_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_arbitrum_sepolia_total_reward.7a99180d9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_arbitrum_sepolia_total_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_arbitrum_sepolia_total_reward.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_sepolia_total_reward.7a99180d9d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_liq_account_arbitrum_sepolia_total_reward"], "alias": "not_null_fct_perp_liq_account_arbitrum_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": 1734109927.3355029, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_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_perp_liq_account_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_sepolia_total_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_reward\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_account_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_reward", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_arbitrum_sepolia_total_reward__True__0.2e9337311c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_account_arbitrum_sepolia_total_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a366d97f6c7bf2b5acaa43bd093a347d.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_arbitrum_sepolia_total_reward__True__0.2e9337311c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_account_arbitrum_sepolia_total_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a366d97f6c7bf2b5acaa43bd093a347d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a366d97f6c7bf2b5acaa43bd093a347d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_a366d97f6c7bf2b5acaa43bd093a347d"}, "created_at": 1734109927.3371553, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a366d97f6c7bf2b5acaa43bd093a347d\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_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_perp_liq_account_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_a366d97f6c7bf2b5acaa43bd093a347d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_liq_account_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_accounts_arbitrum_sepolia_id.b4e2371e87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_arbitrum_sepolia_id.b4e2371e87", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_accounts_arbitrum_sepolia_id"], "alias": "not_null_fct_perp_accounts_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": 1734109927.341378, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_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_perp_accounts_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_accounts_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_perp_accounts_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_accounts_arbitrum_sepolia_id.30854048b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_accounts_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_accounts_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_accounts_arbitrum_sepolia_id.30854048b9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "unique_fct_perp_accounts_arbitrum_sepolia_id"], "alias": "unique_fct_perp_accounts_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": 1734109927.3430746, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/unique_fct_perp_accounts_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_perp_accounts_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_perp_accounts_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_arbitrum_sepolia_created_ts.881963b12b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_arbitrum_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_arbitrum_sepolia_created_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_arbitrum_sepolia_created_ts.881963b12b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_accounts_arbitrum_sepolia_created_ts"], "alias": "not_null_fct_perp_accounts_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": 1734109927.3448565, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_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_perp_accounts_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_accounts_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_perp_accounts_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_accounts_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_arbitrum_sepolia_owner.ab695ba4ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_arbitrum_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_arbitrum_sepolia_owner.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_arbitrum_sepolia_owner.ab695ba4ef", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_accounts_arbitrum_sepolia_owner"], "alias": "not_null_fct_perp_accounts_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": 1734109927.3465333, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_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_perp_accounts_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_accounts_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_perp_accounts_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_perp_accounts_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_ts.fc2513a1e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_ts.fc2513a1e3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_ts"], "alias": "not_null_fct_perp_collateral_balances_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": 1734109927.348192, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_balances_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_transaction_hash.49e734bc96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_33304c7692cc4deb0ed07129951e1aea.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_transaction_hash.49e734bc96", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_perp_collateral_b_33304c7692cc4deb0ed07129951e1aea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_33304c7692cc4deb0ed07129951e1aea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_33304c7692cc4deb0ed07129951e1aea"}, "created_at": 1734109927.3498561, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_33304c7692cc4deb0ed07129951e1aea\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_33304c7692cc4deb0ed07129951e1aea.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_collateral_id.0e501ca686": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_collateral_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_7ba9e121ac62c2f93cbe709b63a81c16.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_collateral_id.0e501ca686", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_collateral_id"], "alias": "not_null_fct_perp_collateral_b_7ba9e121ac62c2f93cbe709b63a81c16", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_7ba9e121ac62c2f93cbe709b63a81c16", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_7ba9e121ac62c2f93cbe709b63a81c16"}, "created_at": 1734109927.3515272, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_7ba9e121ac62c2f93cbe709b63a81c16\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7ba9e121ac62c2f93cbe709b63a81c16.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_arbitrum_sepolia\"\nwhere collateral_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_id", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_synth_token_address.4de81c923a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_7174750d437ddf37eb8e20756ee7d77e.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_synth_token_address.4de81c923a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_synth_token_address"], "alias": "not_null_fct_perp_collateral_b_7174750d437ddf37eb8e20756ee7d77e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_7174750d437ddf37eb8e20756ee7d77e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_7174750d437ddf37eb8e20756ee7d77e"}, "created_at": 1734109927.3532875, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_7174750d437ddf37eb8e20756ee7d77e\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7174750d437ddf37eb8e20756ee7d77e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_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.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_token_address", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_synth_symbol.d08c2bc587": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_synth_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_4cf232cd3796117a7a43fc99b6561e05.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_synth_symbol.d08c2bc587", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_synth_symbol"], "alias": "not_null_fct_perp_collateral_b_4cf232cd3796117a7a43fc99b6561e05", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_4cf232cd3796117a7a43fc99b6561e05", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_4cf232cd3796117a7a43fc99b6561e05"}, "created_at": 1734109927.3549528, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_4cf232cd3796117a7a43fc99b6561e05\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_4cf232cd3796117a7a43fc99b6561e05.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_arbitrum_sepolia\"\nwhere synth_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_symbol", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_symbol", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_event_type.e48a7dddd6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_event_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_ede0cf82ec7952fd28c7d61aee6dd836.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_event_type.e48a7dddd6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_event_type"], "alias": "not_null_fct_perp_collateral_b_ede0cf82ec7952fd28c7d61aee6dd836", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_ede0cf82ec7952fd28c7d61aee6dd836", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_ede0cf82ec7952fd28c7d61aee6dd836"}, "created_at": 1734109927.3565903, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_ede0cf82ec7952fd28c7d61aee6dd836\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_ede0cf82ec7952fd28c7d61aee6dd836.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_arbitrum_sepolia\"\nwhere event_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_type", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_type", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_amount_delta.a5e73a73e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_amount_delta", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_c14d05da24c5a3ab0d0ac29d30c896da.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_amount_delta.a5e73a73e1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_amount_delta"], "alias": "not_null_fct_perp_collateral_b_c14d05da24c5a3ab0d0ac29d30c896da", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_c14d05da24c5a3ab0d0ac29d30c896da", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_c14d05da24c5a3ab0d0ac29d30c896da"}, "created_at": 1734109927.3582428, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_c14d05da24c5a3ab0d0ac29d30c896da\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_c14d05da24c5a3ab0d0ac29d30c896da.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delta\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_arbitrum_sepolia\"\nwhere amount_delta is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delta", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delta", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_account_balance.95f87597e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_account_balance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_86ca74a709cb5aa9285df9130f00a1f4.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_account_balance.95f87597e3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_account_balance"], "alias": "not_null_fct_perp_collateral_b_86ca74a709cb5aa9285df9130f00a1f4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_86ca74a709cb5aa9285df9130f00a1f4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_86ca74a709cb5aa9285df9130f00a1f4"}, "created_at": 1734109927.3599944, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_86ca74a709cb5aa9285df9130f00a1f4\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_86ca74a709cb5aa9285df9130f00a1f4.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_balance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_arbitrum_sepolia\"\nwhere account_balance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_balance", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_sepolia_account_balance__True__0.f24a0e3189": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_sepolia_account_balance__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_637c9336234729f2361a81f69b744ba4.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_sepolia_account_balance__True__0.f24a0e3189", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_sepolia_account_balance__True__0"], "alias": "dbt_utils_accepted_range_fct_p_637c9336234729f2361a81f69b744ba4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_637c9336234729f2361a81f69b744ba4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_637c9336234729f2361a81f69b744ba4"}, "created_at": 1734109927.361635, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_637c9336234729f2361a81f69b744ba4\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_637c9336234729f2361a81f69b744ba4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_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_balance >= 0\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_balance", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_total_balance.f558ebc2c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_total_balance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_162d86147c0f53ce337d18b7b0e21f9f.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_total_balance.f558ebc2c0", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_total_balance"], "alias": "not_null_fct_perp_collateral_b_162d86147c0f53ce337d18b7b0e21f9f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_162d86147c0f53ce337d18b7b0e21f9f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_162d86147c0f53ce337d18b7b0e21f9f"}, "created_at": 1734109927.3657885, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_162d86147c0f53ce337d18b7b0e21f9f\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_162d86147c0f53ce337d18b7b0e21f9f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_balance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_arbitrum_sepolia\"\nwhere total_balance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_balance", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_sepolia_total_balance__True__0.cb9ccb808a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_sepolia_total_balance__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_09779164b98ec52fe275843f48876eb7.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_sepolia_total_balance__True__0.cb9ccb808a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_sepolia_total_balance__True__0"], "alias": "dbt_utils_accepted_range_fct_p_09779164b98ec52fe275843f48876eb7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_09779164b98ec52fe275843f48876eb7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_09779164b98ec52fe275843f48876eb7"}, "created_at": 1734109927.3676643, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_09779164b98ec52fe275843f48876eb7\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_09779164b98ec52fe275843f48876eb7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_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 total_balance >= 0\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_balance", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_amount_delta_usd.1cd0e8e566": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_amount_delta_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_6fe0be36aef2a2d118d02509d6c773c5.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_amount_delta_usd.1cd0e8e566", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_amount_delta_usd"], "alias": "not_null_fct_perp_collateral_b_6fe0be36aef2a2d118d02509d6c773c5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_6fe0be36aef2a2d118d02509d6c773c5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_6fe0be36aef2a2d118d02509d6c773c5"}, "created_at": 1734109927.3717322, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_6fe0be36aef2a2d118d02509d6c773c5\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_6fe0be36aef2a2d118d02509d6c773c5.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delta_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_arbitrum_sepolia\"\nwhere amount_delta_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delta_usd", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delta_usd", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_account_balance_usd.2c0fcdaa2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_account_balance_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_9b092490682b6bdaf34144308c55ac54.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_account_balance_usd.2c0fcdaa2f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_account_balance_usd"], "alias": "not_null_fct_perp_collateral_b_9b092490682b6bdaf34144308c55ac54", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_9b092490682b6bdaf34144308c55ac54", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_9b092490682b6bdaf34144308c55ac54"}, "created_at": 1734109927.373936, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_9b092490682b6bdaf34144308c55ac54\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_9b092490682b6bdaf34144308c55ac54.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_balance_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_arbitrum_sepolia\"\nwhere account_balance_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_balance_usd", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_balance_usd", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_total_balance_usd.2c1e3f6b35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_sepolia_total_balance_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_7b11cdb51a8a999dc6f8e1b53112b762.sql", "original_file_path": "models/marts/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_sepolia_total_balance_usd.2c1e3f6b35", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "perp", "not_null_fct_perp_collateral_balances_arbitrum_sepolia_total_balance_usd"], "alias": "not_null_fct_perp_collateral_b_7b11cdb51a8a999dc6f8e1b53112b762", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_7b11cdb51a8a999dc6f8e1b53112b762", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_7b11cdb51a8a999dc6f8e1b53112b762"}, "created_at": 1734109927.3756983, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_7b11cdb51a8a999dc6f8e1b53112b762\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/perp/schema.yml/not_null_fct_perp_collateral_b_7b11cdb51a8a999dc6f8e1b53112b762.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_balance_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_perp_collateral_balances_arbitrum_sepolia\"\nwhere total_balance_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_balance_usd", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_balance_usd", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_arbitrum_sepolia_block_timestamp.9ae638f161": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_acti_83e9ab80c3a107e08f04aec7557c320c.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_arbitrum_sepolia_block_timestamp.9ae638f161", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_activity_arbitrum_sepolia_block_timestamp"], "alias": "not_null_fct_core_account_acti_83e9ab80c3a107e08f04aec7557c320c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_acti_83e9ab80c3a107e08f04aec7557c320c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_acti_83e9ab80c3a107e08f04aec7557c320c"}, "created_at": 1734109927.396629, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_acti_83e9ab80c3a107e08f04aec7557c320c\") }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_activity_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_acti_83e9ab80c3a107e08f04aec7557c320c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_activity_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.fct_core_account_activity_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_activity_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_core_account_activity_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_arbitrum_sepolia_account_action.0cb71cc83d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_arbitrum_sepolia_account_action", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_acti_1a8c6a36e4d05fdb121bfc7fcc6b8445.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_arbitrum_sepolia_account_action.0cb71cc83d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_activity_arbitrum_sepolia_account_action"], "alias": "not_null_fct_core_account_acti_1a8c6a36e4d05fdb121bfc7fcc6b8445", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_acti_1a8c6a36e4d05fdb121bfc7fcc6b8445", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_acti_1a8c6a36e4d05fdb121bfc7fcc6b8445"}, "created_at": 1734109927.3984447, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_acti_1a8c6a36e4d05fdb121bfc7fcc6b8445\") }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_activity_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_acti_1a8c6a36e4d05fdb121bfc7fcc6b8445.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_action\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_activity_arbitrum_sepolia\"\nwhere account_action is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_action", "file_key_name": "models.fct_core_account_activity_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_activity_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_action", "model": "{{ get_where_subquery(ref('fct_core_account_activity_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_account_activity_arbitrum_sepolia_account_action__Delegated__Withdrawn__Claimed.d8230d3bc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_account_activity_arbitrum_sepolia_account_action__Delegated__Withdrawn__Claimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_accou_1eda9db9bdd8ba8a36be901f33ce470f.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_account_activity_arbitrum_sepolia_account_action__Delegated__Withdrawn__Claimed.d8230d3bc8", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "accepted_values_fct_core_account_activity_arbitrum_sepolia_account_action__Delegated__Withdrawn__Claimed"], "alias": "accepted_values_fct_core_accou_1eda9db9bdd8ba8a36be901f33ce470f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_accou_1eda9db9bdd8ba8a36be901f33ce470f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_accou_1eda9db9bdd8ba8a36be901f33ce470f"}, "created_at": 1734109927.4001274, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_accou_1eda9db9bdd8ba8a36be901f33ce470f\") }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_account_activity_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_accou_1eda9db9bdd8ba8a36be901f33ce470f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n account_action as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_activity_arbitrum_sepolia\"\n group by account_action\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Delegated','Withdrawn','Claimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_action", "file_key_name": "models.fct_core_account_activity_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_activity_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Delegated", "Withdrawn", "Claimed"], "column_name": "account_action", "model": "{{ get_where_subquery(ref('fct_core_account_activity_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_arbitrum_sepolia_account_id.b5f7bf7735": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_activity_arbitrum_sepolia_account_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_arbitrum_sepolia_account_id.b5f7bf7735", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_activity_arbitrum_sepolia_account_id"], "alias": "not_null_fct_core_account_activity_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": 1734109927.4043405, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_activity_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_activity_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_activity_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_activity_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_activity_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_activity_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_active_stakers_daily_arbitrum_sepolia_block_date.7dd9b569bc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_active_stakers_daily_arbitrum_sepolia_block_date", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_active_stake_801011a7a2a86e6bbc236f8d80198a50.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_active_stakers_daily_arbitrum_sepolia_block_date.7dd9b569bc", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_active_stakers_daily_arbitrum_sepolia_block_date"], "alias": "not_null_fct_core_active_stake_801011a7a2a86e6bbc236f8d80198a50", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_active_stake_801011a7a2a86e6bbc236f8d80198a50", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_active_stake_801011a7a2a86e6bbc236f8d80198a50"}, "created_at": 1734109927.4060204, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_active_stake_801011a7a2a86e6bbc236f8d80198a50\") }}", "language": "sql", "refs": [{"name": "fct_core_active_stakers_daily_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_active_stakers_daily_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_active_stake_801011a7a2a86e6bbc236f8d80198a50.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_date\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_active_stakers_daily_arbitrum_sepolia\"\nwhere block_date is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_date", "file_key_name": "models.fct_core_active_stakers_daily_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_active_stakers_daily_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_date", "model": "{{ get_where_subquery(ref('fct_core_active_stakers_daily_arbitrum_sepolia')) }}"}, "namespace": null}}, "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": 1734109927.4076812, "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": 1734109927.4093199, "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": 1734109927.4110112, "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": 1734109927.4151833, "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": 1734109927.4168491, "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": 1734109927.4186482, "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": 1734109927.4202776, "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": 1734109927.4218943, "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": 1734109927.4261076, "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": 1734109927.4277995, "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": 1734109927.4294205, "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": 1734109927.4311492, "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": 1734109927.4354348, "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": 1734109927.4371057, "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": 1734109927.438938, "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": 1734109927.4430535, "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": 1734109927.4447389, "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": 1734109927.4465902, "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": 1734109927.450718, "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": 1734109927.4526238, "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": 1734109927.454286, "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": 1734109927.4584293, "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": 1734109927.4606855, "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": 1734109927.462345, "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": 1734109927.46403, "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": 1734109927.465683, "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": 1734109927.4674635, "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": 1734109927.4691043, "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": 1734109927.4733999, "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": 1734109927.475146, "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": 1734109927.4792225, "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": 1734109927.4810784, "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": 1734109927.48524, "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": 1734109927.4871662, "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": 1734109927.488844, "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": 1734109927.4905047, "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": 1734109927.4921527, "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": 1734109927.4938202, "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": 1734109927.4955919, "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": 1734109927.4972258, "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": 1734109927.4988904, "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": 1734109927.5005283, "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": 1734109927.5022476, "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": 1734109927.5039403, "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": 1734109927.507978, "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": 1734109927.5098348, "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": 1734109927.5139337, "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": 1734109927.515785, "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": 1734109927.517417, "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": 1734109927.5190787, "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": 1734109927.5207148, "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": 1734109927.5223687, "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": 1734109927.5241456, "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": 1734109927.5257466, "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": 1734109927.5273771, "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": 1734109927.5290222, "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": 1734109927.5332546, "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": 1734109927.5349553, "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": 1734109927.5366225, "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": 1734109927.5408158, "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": 1734109927.542522, "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": 1734109927.5444942, "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": 1734109927.5461383, "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": 1734109927.54779, "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": 1734109927.549399, "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": 1734109927.5510588, "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": 1734109927.5553148, "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": 1734109927.5569694, "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": 1734109927.5587611, "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": 1734109927.5603707, "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": 1734109927.5619946, "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": 1734109927.5662544, "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": 1734109927.5679688, "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": 1734109927.569633, "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": 1734109927.5713005, "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": 1734109927.5730531, "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": 1734109927.5747004, "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": 1734109927.576335, "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": 1734109927.5805964, "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": 1734109927.5822723, "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": 1734109927.5839558, "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": 1734109927.5856009, "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": 1734109927.587358, "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": 1734109927.5890017, "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": 1734109927.593256, "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": 1734109927.5949883, "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": 1734109927.5966532, "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": 1734109927.6008735, "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": 1734109927.6025836, "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": 1734109927.6042225, "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": 1734109927.6058488, "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": 1734109927.6076396, "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": 1734109927.6118405, "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": 1734109927.6137033, "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": 1734109927.6177857, "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": 1734109927.619541, "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": 1734109927.6237452, "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": 1734109927.625427, "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": 1734109927.627556, "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": 1734109927.629221, "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": 1734109927.633282, "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": 1734109927.6351347, "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": 1734109927.63682, "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": 1734109927.6410449, "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": 1734109927.6427274, "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": 1734109927.6443896, "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": 1734109927.6486032, "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": 1734109927.6502507, "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": 1734109927.6519597, "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_amount.53214f6b62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount.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.53214f6b62", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount"], "alias": "not_null_fct_pool_rewards_token_hourly_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": 1734109927.6535487, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_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_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "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_amount__True__0.c8e44e38be": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d7acda87dcf2fc39c0c36609d0794bd2.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__True__0.c8e44e38be", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_d7acda87dcf2fc39c0c36609d0794bd2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d7acda87dcf2fc39c0c36609d0794bd2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_d7acda87dcf2fc39c0c36609d0794bd2"}, "created_at": 1734109927.6553211, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_d7acda87dcf2fc39c0c36609d0794bd2\") }}", "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_d7acda87dcf2fc39c0c36609d0794bd2.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 >= 0\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_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", "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": 1734109927.6594133, "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": 1734109927.6612675, "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_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": 1734109927.68124, "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": 1734109927.683137, "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": 1734109927.6848097, "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": 1734109927.6865096, "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": 1734109927.6907878, "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": 1734109927.6924758, "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": 1734109927.694124, "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": 1734109927.6957963, "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": 1734109927.6975498, "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": 1734109927.6992254, "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": 1734109927.7008734, "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": 1734109927.7025762, "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": 1734109927.7068782, "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": 1734109927.7085905, "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": 1734109927.7102504, "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": 1734109927.7124658, "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": 1734109927.7141292, "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": 1734109927.7182531, "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": 1734109927.7201383, "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": 1734109927.7217884, "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": 1734109927.7234645, "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": 1734109927.7250965, "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": 1734109927.7268426, "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": 1734109927.7284904, "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": 1734109927.7301104, "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": 1734109927.7317452, "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": 1734109927.7333624, "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": 1734109927.7375646, "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": 1734109927.7412775, "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": 1734109927.7431977, "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": 1734109927.744858, "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": 1734109927.7465935, "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": 1734109927.7508276, "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": 1734109927.7524922, "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": 1734109927.7541614, "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": 1734109927.7558446, "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_perp_account_activity_arbitrum_mainnet_ts.204b6da97a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_ts.204b6da97a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_account_activity_arbitrum_mainnet_ts"], "alias": "not_null_fct_perp_account_activity_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": 1734109927.7809408, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_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_perp_account_activity_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_account_activity_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_perp_account_activity_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_account_activity_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_dau.7598174ccf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_arbitrum_mainnet_dau", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_arbitrum_mainnet_dau.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_dau.7598174ccf", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_account_activity_arbitrum_mainnet_dau"], "alias": "not_null_fct_perp_account_activity_arbitrum_mainnet_dau", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109927.7826552, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_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_perp_account_activity_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_dau.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect dau\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_account_activity_arbitrum_mainnet\"\nwhere dau is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "dau", "file_key_name": "models.fct_perp_account_activity_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_account_activity_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "dau", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_mau.daaf95e7be": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_arbitrum_mainnet_mau", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_activity_arbitrum_mainnet_mau.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_mau.daaf95e7be", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_account_activity_arbitrum_mainnet_mau"], "alias": "not_null_fct_perp_account_activity_arbitrum_mainnet_mau", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109927.784417, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_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_perp_account_activity_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_activity_arbitrum_mainnet_mau.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect mau\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_account_activity_arbitrum_mainnet\"\nwhere mau is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "mau", "file_key_name": "models.fct_perp_account_activity_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_account_activity_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "mau", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_new_accounts_daily.5a6fc7acd6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_arbitrum_mainnet_new_accounts_daily", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_acti_a22da022ec838eaffe40796ab98fe5ec.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_new_accounts_daily.5a6fc7acd6", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_account_activity_arbitrum_mainnet_new_accounts_daily"], "alias": "not_null_fct_perp_account_acti_a22da022ec838eaffe40796ab98fe5ec", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_account_acti_a22da022ec838eaffe40796ab98fe5ec", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_account_acti_a22da022ec838eaffe40796ab98fe5ec"}, "created_at": 1734109927.7860897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_account_acti_a22da022ec838eaffe40796ab98fe5ec\") }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_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_perp_account_activity_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_a22da022ec838eaffe40796ab98fe5ec.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect new_accounts_daily\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_account_activity_arbitrum_mainnet\"\nwhere new_accounts_daily is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "new_accounts_daily", "file_key_name": "models.fct_perp_account_activity_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_account_activity_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "new_accounts_daily", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_new_accounts_monthly.124ca9de58": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_account_activity_arbitrum_mainnet_new_accounts_monthly", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_account_acti_28f2a1ae63ad72f73c4ca118046fee63.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_account_activity_arbitrum_mainnet_new_accounts_monthly.124ca9de58", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_account_activity_arbitrum_mainnet_new_accounts_monthly"], "alias": "not_null_fct_perp_account_acti_28f2a1ae63ad72f73c4ca118046fee63", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_account_acti_28f2a1ae63ad72f73c4ca118046fee63", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_account_acti_28f2a1ae63ad72f73c4ca118046fee63"}, "created_at": 1734109927.7877643, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_account_acti_28f2a1ae63ad72f73c4ca118046fee63\") }}", "language": "sql", "refs": [{"name": "fct_perp_account_activity_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_perp_account_activity_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_account_acti_28f2a1ae63ad72f73c4ca118046fee63.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect new_accounts_monthly\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_account_activity_arbitrum_mainnet\"\nwhere new_accounts_monthly is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "new_accounts_monthly", "file_key_name": "models.fct_perp_account_activity_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_account_activity_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "new_accounts_monthly", "model": "{{ get_where_subquery(ref('fct_perp_account_activity_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_id.e65a5a6b7b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_id.e65a5a6b7b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_interest_charged_arbitrum_mainnet_id"], "alias": "not_null_fct_perp_interest_charged_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": 1734109927.7894492, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_interest_charged_arbitrum_mainnet_id.176ba58d24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_interest_charged_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_interest_charged_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_interest_charged_arbitrum_mainnet_id.176ba58d24", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "unique_fct_perp_interest_charged_arbitrum_mainnet_id"], "alias": "unique_fct_perp_interest_charged_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": 1734109927.7910798, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_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_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_block_timestamp.a02a2dca08": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_cha_0a6d235a7c819de31ab18fb62294e516.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_block_timestamp.a02a2dca08", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_interest_charged_arbitrum_mainnet_block_timestamp"], "alias": "not_null_fct_perp_interest_cha_0a6d235a7c819de31ab18fb62294e516", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_interest_cha_0a6d235a7c819de31ab18fb62294e516", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_0a6d235a7c819de31ab18fb62294e516"}, "created_at": 1734109927.7927995, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_interest_cha_0a6d235a7c819de31ab18fb62294e516\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_0a6d235a7c819de31ab18fb62294e516.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_block_number.f9a6bea511": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_cha_c276a7e4ca2d382d4ab76f03588816f8.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_block_number.f9a6bea511", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_interest_charged_arbitrum_mainnet_block_number"], "alias": "not_null_fct_perp_interest_cha_c276a7e4ca2d382d4ab76f03588816f8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_interest_cha_c276a7e4ca2d382d4ab76f03588816f8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_c276a7e4ca2d382d4ab76f03588816f8"}, "created_at": 1734109927.7944126, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_interest_cha_c276a7e4ca2d382d4ab76f03588816f8\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_c276a7e4ca2d382d4ab76f03588816f8.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_transaction_hash.a51ba7ae00": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_cha_717f5aaea0a5d2246ddb5a35c3fbb300.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_transaction_hash.a51ba7ae00", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_interest_charged_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_perp_interest_cha_717f5aaea0a5d2246ddb5a35c3fbb300", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_interest_cha_717f5aaea0a5d2246ddb5a35c3fbb300", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_717f5aaea0a5d2246ddb5a35c3fbb300"}, "created_at": 1734109927.7959836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_interest_cha_717f5aaea0a5d2246ddb5a35c3fbb300\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_717f5aaea0a5d2246ddb5a35c3fbb300.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_contract.2994a59949": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_arbitrum_mainnet_contract.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_contract.2994a59949", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_interest_charged_arbitrum_mainnet_contract"], "alias": "not_null_fct_perp_interest_charged_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": 1734109927.79757, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_event_name.2eb4ea378d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_arbitrum_mainnet_event_name.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_event_name.2eb4ea378d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_interest_charged_arbitrum_mainnet_event_name"], "alias": "not_null_fct_perp_interest_charged_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": 1734109927.7996926, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_interest_charged_arbitrum_mainnet_event_name__InterestCharged.290d5610b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_interest_charged_arbitrum_mainnet_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_inter_e3bc82b7fe00da18ffea37f42d8e33ad.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_interest_charged_arbitrum_mainnet_event_name__InterestCharged.290d5610b6", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "accepted_values_fct_perp_interest_charged_arbitrum_mainnet_event_name__InterestCharged"], "alias": "accepted_values_fct_perp_inter_e3bc82b7fe00da18ffea37f42d8e33ad", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_inter_e3bc82b7fe00da18ffea37f42d8e33ad", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_e3bc82b7fe00da18ffea37f42d8e33ad"}, "created_at": 1734109927.8013334, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_inter_e3bc82b7fe00da18ffea37f42d8e33ad\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_e3bc82b7fe00da18ffea37f42d8e33ad.sql", "compiled": true, "compiled_code": "\n \n \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_perp_interest_charged_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_account_id.f870459206": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_arbitrum_mainnet_account_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_account_id.f870459206", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_interest_charged_arbitrum_mainnet_account_id"], "alias": "not_null_fct_perp_interest_charged_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": 1734109927.8053877, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_mainnet_account_id__True__0.8b99042cb7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0473f5e4efa8c059d6f55fff4bb9e40b.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_mainnet_account_id__True__0.8b99042cb7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0473f5e4efa8c059d6f55fff4bb9e40b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0473f5e4efa8c059d6f55fff4bb9e40b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_0473f5e4efa8c059d6f55fff4bb9e40b"}, "created_at": 1734109927.8072877, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0473f5e4efa8c059d6f55fff4bb9e40b\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0473f5e4efa8c059d6f55fff4bb9e40b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_interest.9af6483895": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_arbitrum_mainnet_interest", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_arbitrum_mainnet_interest.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_arbitrum_mainnet_interest.9af6483895", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_interest_charged_arbitrum_mainnet_interest"], "alias": "not_null_fct_perp_interest_charged_arbitrum_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": 1734109927.8113842, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_arbitrum_mainnet_interest.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_interest_charged_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_mainnet_interest__True__0.7cdf7632d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_mainnet_interest__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ea02be054480a78acfcc20999decb73e.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_mainnet_interest__True__0.7cdf7632d5", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_arbitrum_mainnet_interest__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ea02be054480a78acfcc20999decb73e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ea02be054480a78acfcc20999decb73e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_ea02be054480a78acfcc20999decb73e"}, "created_at": 1734109927.8132415, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ea02be054480a78acfcc20999decb73e\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_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_perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ea02be054480a78acfcc20999decb73e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_interest_charged_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_id.1b5f600118": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_id.1b5f600118", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_modified_arbitrum_mainnet_id"], "alias": "not_null_fct_perp_collateral_modified_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": 1734109927.8173313, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_collateral_modified_arbitrum_mainnet_id.bd707e28f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_collateral_modified_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_collateral_modified_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_collateral_modified_arbitrum_mainnet_id.bd707e28f4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "unique_fct_perp_collateral_modified_arbitrum_mainnet_id"], "alias": "unique_fct_perp_collateral_modified_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": 1734109927.8192167, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_collateral_modified_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_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_block_timestamp.46d64b9bc1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_4c57a6b60ac61d99845385b58a05d583.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_block_timestamp.46d64b9bc1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_modified_arbitrum_mainnet_block_timestamp"], "alias": "not_null_fct_perp_collateral_m_4c57a6b60ac61d99845385b58a05d583", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_4c57a6b60ac61d99845385b58a05d583", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_4c57a6b60ac61d99845385b58a05d583"}, "created_at": 1734109927.8209045, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_4c57a6b60ac61d99845385b58a05d583\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_4c57a6b60ac61d99845385b58a05d583.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_modified_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.fct_perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_block_number.1f44ed82ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_49aedeabb7047b87229b60095809171b.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_block_number.1f44ed82ec", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_modified_arbitrum_mainnet_block_number"], "alias": "not_null_fct_perp_collateral_m_49aedeabb7047b87229b60095809171b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_49aedeabb7047b87229b60095809171b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_49aedeabb7047b87229b60095809171b"}, "created_at": 1734109927.8225386, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_49aedeabb7047b87229b60095809171b\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_49aedeabb7047b87229b60095809171b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_transaction_hash.918a7da077": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_85f4340bea413ccc136adc9cf5e4b37c.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_transaction_hash.918a7da077", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_modified_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_perp_collateral_m_85f4340bea413ccc136adc9cf5e4b37c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_85f4340bea413ccc136adc9cf5e4b37c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_85f4340bea413ccc136adc9cf5e4b37c"}, "created_at": 1734109927.824156, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_85f4340bea413ccc136adc9cf5e4b37c\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_85f4340bea413ccc136adc9cf5e4b37c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_contract.c3c6e86c96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_arbitrum_mainnet_contract.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_contract.c3c6e86c96", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_modified_arbitrum_mainnet_contract"], "alias": "not_null_fct_perp_collateral_modified_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": 1734109927.8257525, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_modified_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.fct_perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_event_name.45d8e8ebbb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_b8471e720904f8df062e9f10dc9e00fb.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_event_name.45d8e8ebbb", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_modified_arbitrum_mainnet_event_name"], "alias": "not_null_fct_perp_collateral_m_b8471e720904f8df062e9f10dc9e00fb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_b8471e720904f8df062e9f10dc9e00fb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b8471e720904f8df062e9f10dc9e00fb"}, "created_at": 1734109927.8275104, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_b8471e720904f8df062e9f10dc9e00fb\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_b8471e720904f8df062e9f10dc9e00fb.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_collateral_modified_arbitrum_mainnet_event_name__CollateralModified.250d86c2ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_collateral_modified_arbitrum_mainnet_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_colla_0da291fb90e271e6e31861eed55225bd.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_collateral_modified_arbitrum_mainnet_event_name__CollateralModified.250d86c2ff", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "accepted_values_fct_perp_collateral_modified_arbitrum_mainnet_event_name__CollateralModified"], "alias": "accepted_values_fct_perp_colla_0da291fb90e271e6e31861eed55225bd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_colla_0da291fb90e271e6e31861eed55225bd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_0da291fb90e271e6e31861eed55225bd"}, "created_at": 1734109927.8291452, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_colla_0da291fb90e271e6e31861eed55225bd\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_0da291fb90e271e6e31861eed55225bd.sql", "compiled": true, "compiled_code": "\n \n \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_perp_collateral_modified_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_synth_market_id.b88231df26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_34c6e8413702c7aea6b1c479eb229779.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_synth_market_id.b88231df26", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_modified_arbitrum_mainnet_synth_market_id"], "alias": "not_null_fct_perp_collateral_m_34c6e8413702c7aea6b1c479eb229779", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_34c6e8413702c7aea6b1c479eb229779", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_34c6e8413702c7aea6b1c479eb229779"}, "created_at": 1734109927.833388, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_34c6e8413702c7aea6b1c479eb229779\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_34c6e8413702c7aea6b1c479eb229779.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_arbitrum_mainnet_synth_market_id__True__0.574a94c14b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_modified_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_def7ec9d6a2fb5f42cf1cb7d3295ff5f.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_arbitrum_mainnet_synth_market_id__True__0.574a94c14b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_collateral_modified_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_def7ec9d6a2fb5f42cf1cb7d3295ff5f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_def7ec9d6a2fb5f42cf1cb7d3295ff5f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_def7ec9d6a2fb5f42cf1cb7d3295ff5f"}, "created_at": 1734109927.8350694, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_def7ec9d6a2fb5f42cf1cb7d3295ff5f\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_def7ec9d6a2fb5f42cf1cb7d3295ff5f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_sender.66d35dd8ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_arbitrum_mainnet_sender.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_arbitrum_mainnet_sender.66d35dd8ca", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_modified_arbitrum_mainnet_sender"], "alias": "not_null_fct_perp_collateral_modified_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": 1734109927.8391488, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_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_perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_modified_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.fct_perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_id.b67d812890": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_id.b67d812890", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_id"], "alias": "not_null_fct_perp_previous_order_expired_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": 1734109927.8409839, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_previous_order_expired_arbitrum_mainnet_id.3d9ee42bda": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_previous_order_expired_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_previous_order_expired_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_previous_order_expired_arbitrum_mainnet_id.3d9ee42bda", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "unique_fct_perp_previous_order_expired_arbitrum_mainnet_id"], "alias": "unique_fct_perp_previous_order_expired_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": 1734109927.8426478, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_previous_order_expired_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_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_block_timestamp.eda2a5583d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_8ef90341edd1ec80cdf4ec8ed4f6d5c9.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_block_timestamp.eda2a5583d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_block_timestamp"], "alias": "not_null_fct_perp_previous_ord_8ef90341edd1ec80cdf4ec8ed4f6d5c9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_8ef90341edd1ec80cdf4ec8ed4f6d5c9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_8ef90341edd1ec80cdf4ec8ed4f6d5c9"}, "created_at": 1734109927.8442783, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_8ef90341edd1ec80cdf4ec8ed4f6d5c9\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_8ef90341edd1ec80cdf4ec8ed4f6d5c9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_previous_order_expired_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.fct_perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_block_number.804dd95eda": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_736f7d9b4b09a7b56cd7e9fd84b59a90.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_block_number.804dd95eda", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_block_number"], "alias": "not_null_fct_perp_previous_ord_736f7d9b4b09a7b56cd7e9fd84b59a90", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_736f7d9b4b09a7b56cd7e9fd84b59a90", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_736f7d9b4b09a7b56cd7e9fd84b59a90"}, "created_at": 1734109927.845889, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_736f7d9b4b09a7b56cd7e9fd84b59a90\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_736f7d9b4b09a7b56cd7e9fd84b59a90.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_transaction_hash.2023a1cf08": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_172ee1d1fca0cbb7cfdc29c1401173f4.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_transaction_hash.2023a1cf08", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_perp_previous_ord_172ee1d1fca0cbb7cfdc29c1401173f4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_172ee1d1fca0cbb7cfdc29c1401173f4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_172ee1d1fca0cbb7cfdc29c1401173f4"}, "created_at": 1734109927.8476481, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_172ee1d1fca0cbb7cfdc29c1401173f4\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_172ee1d1fca0cbb7cfdc29c1401173f4.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_contract.f6af6435d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_8ccb15ec611dd24ed52c20b662dc4d89.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_contract.f6af6435d2", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_contract"], "alias": "not_null_fct_perp_previous_ord_8ccb15ec611dd24ed52c20b662dc4d89", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_8ccb15ec611dd24ed52c20b662dc4d89", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_8ccb15ec611dd24ed52c20b662dc4d89"}, "created_at": 1734109927.8492596, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_8ccb15ec611dd24ed52c20b662dc4d89\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_8ccb15ec611dd24ed52c20b662dc4d89.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_previous_order_expired_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.fct_perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_event_name.459d1c304b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_802b9579ac446c1c5f6cd420c4a1f314.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_event_name.459d1c304b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_event_name"], "alias": "not_null_fct_perp_previous_ord_802b9579ac446c1c5f6cd420c4a1f314", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_802b9579ac446c1c5f6cd420c4a1f314", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_802b9579ac446c1c5f6cd420c4a1f314"}, "created_at": 1734109927.8508809, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_802b9579ac446c1c5f6cd420c4a1f314\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_802b9579ac446c1c5f6cd420c4a1f314.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_previous_order_expired_arbitrum_mainnet_event_name__PreviousOrderExpired.cc80b83dc0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_previous_order_expired_arbitrum_mainnet_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_previ_e7295bfc045a17bdff640789d2cdf4dd.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_previous_order_expired_arbitrum_mainnet_event_name__PreviousOrderExpired.cc80b83dc0", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "accepted_values_fct_perp_previous_order_expired_arbitrum_mainnet_event_name__PreviousOrderExpired"], "alias": "accepted_values_fct_perp_previ_e7295bfc045a17bdff640789d2cdf4dd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_previ_e7295bfc045a17bdff640789d2cdf4dd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_e7295bfc045a17bdff640789d2cdf4dd"}, "created_at": 1734109927.8524988, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_previ_e7295bfc045a17bdff640789d2cdf4dd\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_e7295bfc045a17bdff640789d2cdf4dd.sql", "compiled": true, "compiled_code": "\n \n \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_perp_previous_order_expired_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_market_id.50b3ee03b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_215a6e18c678a61ff896059e9fc33b93.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_market_id.50b3ee03b6", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_market_id"], "alias": "not_null_fct_perp_previous_ord_215a6e18c678a61ff896059e9fc33b93", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_215a6e18c678a61ff896059e9fc33b93", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_215a6e18c678a61ff896059e9fc33b93"}, "created_at": 1734109927.8566844, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_215a6e18c678a61ff896059e9fc33b93\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_215a6e18c678a61ff896059e9fc33b93.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_mainnet_market_id__True__0.50cedb6de2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_85b220e94248ca2293e0c5eb6c638ad7.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_mainnet_market_id__True__0.50cedb6de2", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_85b220e94248ca2293e0c5eb6c638ad7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_85b220e94248ca2293e0c5eb6c638ad7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_85b220e94248ca2293e0c5eb6c638ad7"}, "created_at": 1734109927.858358, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_85b220e94248ca2293e0c5eb6c638ad7\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_85b220e94248ca2293e0c5eb6c638ad7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_account_id.df728b2bac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_72718a9633401010962aea9aaa994c5e.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_arbitrum_mainnet_account_id.df728b2bac", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_arbitrum_mainnet_account_id"], "alias": "not_null_fct_perp_previous_ord_72718a9633401010962aea9aaa994c5e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_72718a9633401010962aea9aaa994c5e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_72718a9633401010962aea9aaa994c5e"}, "created_at": 1734109927.8626194, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_72718a9633401010962aea9aaa994c5e\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_72718a9633401010962aea9aaa994c5e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_mainnet_account_id__True__0.a2d2b55a91": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_acdb60bebd4cc38d26603b2d43d9e67c.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_mainnet_account_id__True__0.a2d2b55a91", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_acdb60bebd4cc38d26603b2d43d9e67c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_acdb60bebd4cc38d26603b2d43d9e67c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_acdb60bebd4cc38d26603b2d43d9e67c"}, "created_at": 1734109927.864332, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_acdb60bebd4cc38d26603b2d43d9e67c\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_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_perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_acdb60bebd4cc38d26603b2d43d9e67c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_previous_order_expired_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.fct_perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_id.3bd0f3d2d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_id.3bd0f3d2d9", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_id"], "alias": "not_null_fct_perp_trades_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": 1734109927.8685904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_trades_arbitrum_mainnet_id.29f0434c59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_trades_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_trades_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_trades_arbitrum_mainnet_id.29f0434c59", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "unique_fct_perp_trades_arbitrum_mainnet_id"], "alias": "unique_fct_perp_trades_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": 1734109927.8702734, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_trades_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_perp_trades_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_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_ts.c39afc4c8d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_ts.c39afc4c8d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_ts"], "alias": "not_null_fct_perp_trades_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": 1734109927.8719652, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_block_number.807093ef77": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_block_number.807093ef77", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_block_number"], "alias": "not_null_fct_perp_trades_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": 1734109927.8735955, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_transaction_hash.a7dc1c891e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_transaction_hash.a7dc1c891e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_perp_trades_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": 1734109927.8753731, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_contract.e863c3d409": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_contract.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_contract.e863c3d409", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_contract"], "alias": "not_null_fct_perp_trades_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": 1734109927.8770165, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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.fct_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_market_id.275abd4f63": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_market_id.275abd4f63", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_market_id"], "alias": "not_null_fct_perp_trades_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": 1734109927.8786612, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_market_id__True__0.dd858e7f52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_bf31e61faeb932d909281f56f6bab77b.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_market_id__True__0.dd858e7f52", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_bf31e61faeb932d909281f56f6bab77b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_bf31e61faeb932d909281f56f6bab77b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_bf31e61faeb932d909281f56f6bab77b"}, "created_at": 1734109927.880318, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_bf31e61faeb932d909281f56f6bab77b\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_bf31e61faeb932d909281f56f6bab77b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_market_symbol.05579e6d46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_market_symbol.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_market_symbol.05579e6d46", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_market_symbol"], "alias": "not_null_fct_perp_trades_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": 1734109927.8847744, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_account_id.274635cb66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_account_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_account_id.274635cb66", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_account_id"], "alias": "not_null_fct_perp_trades_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": 1734109927.8864374, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_fill_price.847633eed2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_fill_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_fill_price.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_fill_price.847633eed2", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_fill_price"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.8880832, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_fill_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fill_price\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_fill_price__True__0.b4690264a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_fill_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ae86da3c3a2f8ef9241ca542ed9cfd7a.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_fill_price__True__0.b4690264a9", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_fill_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ae86da3c3a2f8ef9241ca542ed9cfd7a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ae86da3c3a2f8ef9241ca542ed9cfd7a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_ae86da3c3a2f8ef9241ca542ed9cfd7a"}, "created_at": 1734109927.8898597, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ae86da3c3a2f8ef9241ca542ed9cfd7a\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae86da3c3a2f8ef9241ca542ed9cfd7a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_pnl.bb3e615b15": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_pnl.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_pnl.bb3e615b15", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_pnl"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.893904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pnl\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pnl", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_accrued_funding.e2b22e7a98": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_accrued_funding", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_accrued_funding.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_accrued_funding.e2b22e7a98", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_accrued_funding"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.8955715, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_accrued_funding.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect accrued_funding\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "accrued_funding", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_trade_size.efdcfaa24a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_trade_size.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_trade_size.efdcfaa24a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_trade_size"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.897381, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect trade_size\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_position_size.8743b9c748": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_position_size.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_position_size.8743b9c748", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_position_size"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.8990355, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_total_fees.0e39e8937a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_total_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_total_fees.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_total_fees.0e39e8937a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_total_fees"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.9006438, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_total_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_fees\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_total_fees__True__0.bef50610ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_total_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_eb2bcad6479b2a3bbdf15cf74dfd1e31.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_total_fees__True__0.bef50610ba", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_total_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_eb2bcad6479b2a3bbdf15cf74dfd1e31", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_eb2bcad6479b2a3bbdf15cf74dfd1e31", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_eb2bcad6479b2a3bbdf15cf74dfd1e31"}, "created_at": 1734109927.902276, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_eb2bcad6479b2a3bbdf15cf74dfd1e31\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_eb2bcad6479b2a3bbdf15cf74dfd1e31.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_referral_fees.b455bc01d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_referral_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_referral_fees.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_referral_fees.b455bc01d4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_referral_fees"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.9064727, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_referral_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referral_fees\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_referral_fees__True__0.5946ca9ce5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_referral_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_4d54c441808b4a16bff94148254d77da.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_referral_fees__True__0.5946ca9ce5", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_referral_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_4d54c441808b4a16bff94148254d77da", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_4d54c441808b4a16bff94148254d77da", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_4d54c441808b4a16bff94148254d77da"}, "created_at": 1734109927.9081688, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_4d54c441808b4a16bff94148254d77da\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_4d54c441808b4a16bff94148254d77da.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_collected_fees.fbad83d394": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_collected_fees.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_collected_fees.fbad83d394", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_collected_fees"], "alias": "not_null_fct_perp_trades_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": 1734109927.9123666, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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.fct_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_collected_fees__True__0.c8bdde7489": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_974e37f3348ad7524936397a15395179.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_collected_fees__True__0.c8bdde7489", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_974e37f3348ad7524936397a15395179", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_974e37f3348ad7524936397a15395179", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_974e37f3348ad7524936397a15395179"}, "created_at": 1734109927.914035, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_974e37f3348ad7524936397a15395179\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_974e37f3348ad7524936397a15395179.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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.fct_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_settlement_reward.ec16701449": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_settlement_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_settlement_reward.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_settlement_reward.ec16701449", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_settlement_reward"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.9182737, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_settlement_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settlement_reward\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_settlement_reward__True__0.299618787f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_settlement_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_eeaca53326292cee7049bb0a87db4e7e.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_settlement_reward__True__0.299618787f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_settlement_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_eeaca53326292cee7049bb0a87db4e7e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_eeaca53326292cee7049bb0a87db4e7e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_eeaca53326292cee7049bb0a87db4e7e"}, "created_at": 1734109927.9199789, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_eeaca53326292cee7049bb0a87db4e7e\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_eeaca53326292cee7049bb0a87db4e7e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_tracking_code.6303cba6ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_tracking_code", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_tracking_code.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_tracking_code.6303cba6ee", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_tracking_code"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.924219, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_tracking_code.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tracking_code\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tracking_code", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_settler.d03b352e12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_settler.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_settler.d03b352e12", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_settler"], "alias": "not_null_fct_perp_trades_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": 1734109927.9258912, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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.fct_perp_trades_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settler", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_notional_trade_size.49f8c11789": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_notional_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_notional_trade_size.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_notional_trade_size.49f8c11789", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_notional_trade_size"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.9275815, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_notional_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_trade_size\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_notional_position_size.c2b276cedf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_notional_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbit_b2414cd7eaea142489e90846a8936fe6.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_notional_position_size.c2b276cedf", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_notional_position_size"], "alias": "not_null_fct_perp_trades_arbit_b2414cd7eaea142489e90846a8936fe6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_trades_arbit_b2414cd7eaea142489e90846a8936fe6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_trades_arbit_b2414cd7eaea142489e90846a8936fe6"}, "created_at": 1734109927.9292161, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_trades_arbit_b2414cd7eaea142489e90846a8936fe6\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbit_b2414cd7eaea142489e90846a8936fe6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_position_size\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_lp_fees.3bd17eb55d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_lp_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_lp_fees.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_lp_fees.3bd17eb55d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_lp_fees"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.9309747, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_lp_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect lp_fees\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_lp_fees__True__0.cfa7ced563": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_lp_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c52f4d44cbcd1c969ca006658f4bb47d.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_lp_fees__True__0.cfa7ced563", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_lp_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c52f4d44cbcd1c969ca006658f4bb47d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c52f4d44cbcd1c969ca006658f4bb47d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_c52f4d44cbcd1c969ca006658f4bb47d"}, "created_at": 1734109927.932632, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(severity=\"warn\",alias=\"dbt_utils_accepted_range_fct_p_c52f4d44cbcd1c969ca006658f4bb47d\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_c52f4d44cbcd1c969ca006658f4bb47d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_exchange_fees.e8aecd715b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_arbitrum_mainnet_exchange_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_arbitrum_mainnet_exchange_fees.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_arbitrum_mainnet_exchange_fees.e8aecd715b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_trades_arbitrum_mainnet_exchange_fees"], "alias": "not_null_fct_perp_trades_arbitrum_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": 1734109927.937016, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_trades_arbitrum_mainnet_exchange_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect exchange_fees\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_exchange_fees__True__0.1168a18bba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_exchange_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_9dad67003da2d3db2675c0acf655de0a.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_exchange_fees__True__0.1168a18bba", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_arbitrum_mainnet_exchange_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_9dad67003da2d3db2675c0acf655de0a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_9dad67003da2d3db2675c0acf655de0a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_9dad67003da2d3db2675c0acf655de0a"}, "created_at": 1734109927.9387484, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_9dad67003da2d3db2675c0acf655de0a\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_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_perp_trades_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_9dad67003da2d3db2675c0acf655de0a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_trades_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_trades_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_pnl_arbitrum_mainnet_ts.8937da4ac3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_arbitrum_mainnet_ts.8937da4ac3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_pnl_arbitrum_mainnet_ts"], "alias": "not_null_fct_perp_pnl_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": 1734109927.9428117, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_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_perp_pnl_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_pnl_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_perp_pnl_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_pnl_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_pnl_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_pnl_arbitrum_mainnet_market_id.1e2f5a44a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_arbitrum_mainnet_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_arbitrum_mainnet_market_id.1e2f5a44a2", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_pnl_arbitrum_mainnet_market_id"], "alias": "not_null_fct_perp_pnl_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": 1734109927.9446294, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_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_perp_pnl_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_pnl_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_pnl_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_perp_pnl_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_pnl_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_arbitrum_mainnet_market_id__True__0.15bda011aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_pnl_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_28a03b6e7d1423026833804c01edf40a.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_arbitrum_mainnet_market_id__True__0.15bda011aa", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_pnl_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_28a03b6e7d1423026833804c01edf40a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_28a03b6e7d1423026833804c01edf40a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_28a03b6e7d1423026833804c01edf40a"}, "created_at": 1734109927.9462893, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_28a03b6e7d1423026833804c01edf40a\") }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_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_perp_pnl_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_28a03b6e7d1423026833804c01edf40a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_pnl_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_perp_pnl_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_pnl_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_id.eb02f38d46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_id.eb02f38d46", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_orders_arbitrum_mainnet_id"], "alias": "not_null_fct_perp_orders_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": 1734109927.9505053, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_orders_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_perp_orders_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_orders_arbitrum_mainnet_id.3401408181": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_orders_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_orders_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_orders_arbitrum_mainnet_id.3401408181", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "unique_fct_perp_orders_arbitrum_mainnet_id"], "alias": "unique_fct_perp_orders_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": 1734109927.952157, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_orders_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_perp_orders_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_perp_orders_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_ts.d648991a22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_ts.d648991a22", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_orders_arbitrum_mainnet_ts"], "alias": "not_null_fct_perp_orders_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": 1734109927.953796, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_orders_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_perp_orders_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_block_number.05c57da469": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_block_number.05c57da469", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_orders_arbitrum_mainnet_block_number"], "alias": "not_null_fct_perp_orders_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": 1734109927.9554944, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_orders_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_perp_orders_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_transaction_hash.4c9cc1f193": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_transaction_hash.4c9cc1f193", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_orders_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_perp_orders_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": 1734109927.9571831, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_orders_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_perp_orders_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_contract.2596358bd7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_mainnet_contract.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_contract.2596358bd7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_orders_arbitrum_mainnet_contract"], "alias": "not_null_fct_perp_orders_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": 1734109927.9589446, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_orders_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.fct_perp_orders_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_market_id.75f215459c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_mainnet_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_market_id.75f215459c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_orders_arbitrum_mainnet_market_id"], "alias": "not_null_fct_perp_orders_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": 1734109927.9605873, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_orders_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_perp_orders_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_arbitrum_mainnet_market_id__True__0.7169e0715a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_orders_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_86abe1e53fb8472cf6a04ac6ff41b9db.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_arbitrum_mainnet_market_id__True__0.7169e0715a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_orders_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_86abe1e53fb8472cf6a04ac6ff41b9db", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_86abe1e53fb8472cf6a04ac6ff41b9db", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_86abe1e53fb8472cf6a04ac6ff41b9db"}, "created_at": 1734109927.9622223, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_86abe1e53fb8472cf6a04ac6ff41b9db\") }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_86abe1e53fb8472cf6a04ac6ff41b9db.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_orders_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_perp_orders_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_market_symbol.342ec0cea2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_mainnet_market_symbol.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_market_symbol.342ec0cea2", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_orders_arbitrum_mainnet_market_symbol"], "alias": "not_null_fct_perp_orders_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": 1734109927.966764, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_orders_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_perp_orders_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_account_id.a2871e6bfb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_arbitrum_mainnet_account_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_arbitrum_mainnet_account_id.a2871e6bfb", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_orders_arbitrum_mainnet_account_id"], "alias": "not_null_fct_perp_orders_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": 1734109927.9684272, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_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_perp_orders_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_orders_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_orders_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_perp_orders_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_orders_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_id.8bc5d0147f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_id.8bc5d0147f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_markets_arbitrum_mainnet_id"], "alias": "not_null_fct_perp_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": 1734109927.9700549, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_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_perp_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_arbitrum_mainnet_id__True__0.1cff4e3aae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_markets_arbitrum_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_493d704d8c878c5ba21c6d3ee7067c6f.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_arbitrum_mainnet_id__True__0.1cff4e3aae", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_markets_arbitrum_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_493d704d8c878c5ba21c6d3ee7067c6f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_493d704d8c878c5ba21c6d3ee7067c6f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_493d704d8c878c5ba21c6d3ee7067c6f"}, "created_at": 1734109927.9717088, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_493d704d8c878c5ba21c6d3ee7067c6f\") }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_493d704d8c878c5ba21c6d3ee7067c6f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_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_perp_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_created_ts.5210e0d803": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_arbitrum_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_arbitrum_mainnet_created_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_created_ts.5210e0d803", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_markets_arbitrum_mainnet_created_ts"], "alias": "not_null_fct_perp_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": 1734109927.9758663, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_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_perp_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_block_number.9856206ec2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_block_number.9856206ec2", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_markets_arbitrum_mainnet_block_number"], "alias": "not_null_fct_perp_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": 1734109927.9775498, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_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_perp_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_market_symbol.052367dc06": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_arbitrum_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_arbitrum_mainnet_market_symbol.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_market_symbol.052367dc06", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_markets_arbitrum_mainnet_market_symbol"], "alias": "not_null_fct_perp_markets_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": 1734109927.9799135, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_markets_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_perp_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_market_name.6d1107f677": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_arbitrum_mainnet_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_arbitrum_mainnet_market_name.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_arbitrum_mainnet_market_name.6d1107f677", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_markets_arbitrum_mainnet_market_name"], "alias": "not_null_fct_perp_markets_arbitrum_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": 1734109927.982347, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_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_perp_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_markets_arbitrum_mainnet_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_markets_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('fct_perp_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_id.fdcfccc679": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_id.fdcfccc679", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_id"], "alias": "not_null_fct_perp_market_history_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": 1734109927.984198, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_market_history_arbitrum_mainnet_id.11e7761caf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_market_history_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_market_history_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_market_history_arbitrum_mainnet_id.11e7761caf", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "unique_fct_perp_market_history_arbitrum_mainnet_id"], "alias": "unique_fct_perp_market_history_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": 1734109927.985824, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_market_history_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_perp_market_history_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_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_ts.f6e4cf43c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_ts.f6e4cf43c2", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_ts"], "alias": "not_null_fct_perp_market_history_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": 1734109927.9874825, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_block_number.4407a64f68": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_block_number.4407a64f68", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_block_number"], "alias": "not_null_fct_perp_market_history_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": 1734109927.989232, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_transaction_hash.0042d0c047": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_histo_7410608d1a48d766fd36392a82d58823.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_transaction_hash.0042d0c047", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_perp_market_histo_7410608d1a48d766fd36392a82d58823", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_market_histo_7410608d1a48d766fd36392a82d58823", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_market_histo_7410608d1a48d766fd36392a82d58823"}, "created_at": 1734109927.99093, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_market_histo_7410608d1a48d766fd36392a82d58823\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_7410608d1a48d766fd36392a82d58823.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_market_id.4c307477e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_market_id.4c307477e3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_market_id"], "alias": "not_null_fct_perp_market_history_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": 1734109927.9925609, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_market_id__True__0.452a079160": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_6d5193e03e7c13e392a6798ee0aebb85.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_market_id__True__0.452a079160", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_6d5193e03e7c13e392a6798ee0aebb85", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_6d5193e03e7c13e392a6798ee0aebb85", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_6d5193e03e7c13e392a6798ee0aebb85"}, "created_at": 1734109927.9942052, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_6d5193e03e7c13e392a6798ee0aebb85\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_6d5193e03e7c13e392a6798ee0aebb85.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_market_symbol.3407a99980": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_market_symbol.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_market_symbol.3407a99980", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_market_symbol"], "alias": "not_null_fct_perp_market_history_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": 1734109927.9984498, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_price.635e086bf6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_price.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_price.635e086bf6", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_price"], "alias": "not_null_fct_perp_market_history_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": 1734109928.0001447, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_skew.94faa11b6a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_skew", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_skew.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_skew.94faa11b6a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_skew"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109928.0018039, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_skew.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect skew\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "skew", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_size.4965a5f759": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_size.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_size.4965a5f759", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_size"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109928.0036366, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_size_delta.5897f74730": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_size_delta", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_size_delta.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_size_delta.5897f74730", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_size_delta"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109928.0052743, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_size_delta.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_delta\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size_delta", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate.00d146aa60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate.00d146aa60", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109928.0069728, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_funding_velocity.0034a07e10": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_funding_velocity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_histo_e78054756e9523d86668f78f1329d30b.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_funding_velocity.0034a07e10", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_funding_velocity"], "alias": "not_null_fct_perp_market_histo_e78054756e9523d86668f78f1329d30b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_market_histo_e78054756e9523d86668f78f1329d30b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_market_histo_e78054756e9523d86668f78f1329d30b"}, "created_at": 1734109928.0086203, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_market_histo_e78054756e9523d86668f78f1329d30b\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_e78054756e9523d86668f78f1329d30b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_velocity\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_velocity", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_interest_rate.b77ee8c1d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_interest_rate.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_interest_rate.b77ee8c1d7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_interest_rate"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109928.0102262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate_apr.dc965a3dac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_histo_ab2ff9cd5351a0fdff30c7f236999b13.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate_apr.dc965a3dac", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_funding_rate_apr"], "alias": "not_null_fct_perp_market_histo_ab2ff9cd5351a0fdff30c7f236999b13", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_market_histo_ab2ff9cd5351a0fdff30c7f236999b13", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_market_histo_ab2ff9cd5351a0fdff30c7f236999b13"}, "created_at": 1734109928.011974, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_market_histo_ab2ff9cd5351a0fdff30c7f236999b13\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_ab2ff9cd5351a0fdff30c7f236999b13.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate_apr\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_long_rate_apr.191d4fa205": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_long_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_long_rate_apr.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_long_rate_apr.191d4fa205", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_long_rate_apr"], "alias": "not_null_fct_perp_market_history_arbitrum_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": 1734109928.0135741, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_long_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect long_rate_apr\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "long_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_short_rate_apr.dd6356d7e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_short_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_histo_db7b704adef0c78313d1eda27f65442c.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_short_rate_apr.dd6356d7e2", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_short_rate_apr"], "alias": "not_null_fct_perp_market_histo_db7b704adef0c78313d1eda27f65442c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_market_histo_db7b704adef0c78313d1eda27f65442c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_market_histo_db7b704adef0c78313d1eda27f65442c"}, "created_at": 1734109928.0151927, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_market_histo_db7b704adef0c78313d1eda27f65442c\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_histo_db7b704adef0c78313d1eda27f65442c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect short_rate_apr\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "short_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_prev_size.0805987de2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_prev_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_prev_size.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_prev_size.0805987de2", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_prev_size"], "alias": "not_null_fct_perp_market_history_arbitrum_mainnet_prev_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": 1734109928.0167773, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_prev_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect prev_size\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_mainnet\"\nwhere prev_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "prev_size", "file_key_name": "models.fct_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "prev_size", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_prev_size__True__0.657d61124b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_prev_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_85aecce2a93103dd8841480d79e73dd1.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_prev_size__True__0.657d61124b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_prev_size__True__0"], "alias": "dbt_utils_accepted_range_fct_p_85aecce2a93103dd8841480d79e73dd1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_85aecce2a93103dd8841480d79e73dd1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_85aecce2a93103dd8841480d79e73dd1"}, "created_at": 1734109928.01853, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_85aecce2a93103dd8841480d79e73dd1\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_85aecce2a93103dd8841480d79e73dd1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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 prev_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": "prev_size", "file_key_name": "models.fct_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "prev_size", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_market_oi_usd.1d8435e3b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_market_oi_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_market_oi_usd.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_market_oi_usd.1d8435e3b9", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_market_oi_usd"], "alias": "not_null_fct_perp_market_history_arbitrum_mainnet_market_oi_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": 1734109928.0226996, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_market_oi_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_oi_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_mainnet\"\nwhere market_oi_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_oi_usd", "file_key_name": "models.fct_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_market_oi_usd__True__0.33391fd010": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_market_oi_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_45d47189ca6e21d0160216f939d4e7f8.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_market_oi_usd__True__0.33391fd010", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_market_oi_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_45d47189ca6e21d0160216f939d4e7f8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_45d47189ca6e21d0160216f939d4e7f8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_45d47189ca6e21d0160216f939d4e7f8"}, "created_at": 1734109928.024558, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_45d47189ca6e21d0160216f939d4e7f8\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_45d47189ca6e21d0160216f939d4e7f8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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_oi_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": "market_oi_usd", "file_key_name": "models.fct_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_total_oi_usd.f4bb65156b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_total_oi_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_total_oi_usd.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_total_oi_usd.f4bb65156b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_total_oi_usd"], "alias": "not_null_fct_perp_market_history_arbitrum_mainnet_total_oi_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": 1734109928.028624, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_total_oi_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_oi_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_mainnet\"\nwhere total_oi_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_oi_usd", "file_key_name": "models.fct_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_total_oi_usd__True__0.881c6264fb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_total_oi_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e5f6c27c1202b78fd10531729f5b3bb3.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_total_oi_usd__True__0.881c6264fb", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_total_oi_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e5f6c27c1202b78fd10531729f5b3bb3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e5f6c27c1202b78fd10531729f5b3bb3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_e5f6c27c1202b78fd10531729f5b3bb3"}, "created_at": 1734109928.0303009, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e5f6c27c1202b78fd10531729f5b3bb3\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5f6c27c1202b78fd10531729f5b3bb3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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 total_oi_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": "total_oi_usd", "file_key_name": "models.fct_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_oi_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_long_oi.2a11207857": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_long_oi", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_long_oi.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_long_oi.2a11207857", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_long_oi"], "alias": "not_null_fct_perp_market_history_arbitrum_mainnet_long_oi", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109928.0345566, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_long_oi.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect long_oi\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_mainnet\"\nwhere long_oi is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_oi", "file_key_name": "models.fct_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "long_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_long_oi__True__0.c93200775a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_long_oi__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ade6158a28497594fb71a6516eb57205.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_long_oi__True__0.c93200775a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_long_oi__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ade6158a28497594fb71a6516eb57205", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ade6158a28497594fb71a6516eb57205", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_ade6158a28497594fb71a6516eb57205"}, "created_at": 1734109928.0362546, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ade6158a28497594fb71a6516eb57205\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ade6158a28497594fb71a6516eb57205.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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 long_oi >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_oi", "file_key_name": "models.fct_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "long_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_short_oi.0ee3418a1f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_arbitrum_mainnet_short_oi", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_arbitrum_mainnet_short_oi.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_arbitrum_mainnet_short_oi.0ee3418a1f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_market_history_arbitrum_mainnet_short_oi"], "alias": "not_null_fct_perp_market_history_arbitrum_mainnet_short_oi", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109928.0405004, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_market_history_arbitrum_mainnet_short_oi.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect short_oi\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_arbitrum_mainnet\"\nwhere short_oi is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_oi", "file_key_name": "models.fct_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "short_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_short_oi__True__0.171377e6f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_short_oi__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a9739115038ec47dc51f8c2182e91a10.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_short_oi__True__0.171377e6f1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_arbitrum_mainnet_short_oi__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a9739115038ec47dc51f8c2182e91a10", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a9739115038ec47dc51f8c2182e91a10", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_a9739115038ec47dc51f8c2182e91a10"}, "created_at": 1734109928.0421796, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a9739115038ec47dc51f8c2182e91a10\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_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_perp_market_history_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a9739115038ec47dc51f8c2182e91a10.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_market_history_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 short_oi >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_oi", "file_key_name": "models.fct_perp_market_history_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "short_oi", "model": "{{ get_where_subquery(ref('fct_perp_market_history_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_id.6af85cf47e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_id.6af85cf47e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_position_arbitrum_mainnet_id"], "alias": "not_null_fct_perp_liq_position_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": 1734109928.046445, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_liq_position_arbitrum_mainnet_id.5f3f730218": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_liq_position_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_liq_position_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_liq_position_arbitrum_mainnet_id.5f3f730218", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "unique_fct_perp_liq_position_arbitrum_mainnet_id"], "alias": "unique_fct_perp_liq_position_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": 1734109928.0481348, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_liq_position_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_perp_liq_position_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_perp_liq_position_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_ts.13c0b178ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_ts.13c0b178ce", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_position_arbitrum_mainnet_ts"], "alias": "not_null_fct_perp_liq_position_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": 1734109928.049789, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_block_number.672be13921": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_block_number.672be13921", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_position_arbitrum_mainnet_block_number"], "alias": "not_null_fct_perp_liq_position_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": 1734109928.051875, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_transaction_hash.bf753f09f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_fce69fbfb7d0fa3cea81f66025278631.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_transaction_hash.bf753f09f5", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_position_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_perp_liq_position_fce69fbfb7d0fa3cea81f66025278631", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_liq_position_fce69fbfb7d0fa3cea81f66025278631", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_liq_position_fce69fbfb7d0fa3cea81f66025278631"}, "created_at": 1734109928.0535939, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_liq_position_fce69fbfb7d0fa3cea81f66025278631\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_fce69fbfb7d0fa3cea81f66025278631.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_account_id.350ca71f93": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_mainnet_account_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_account_id.350ca71f93", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_position_arbitrum_mainnet_account_id"], "alias": "not_null_fct_perp_liq_position_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": 1734109928.0552232, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_market_id.4c0b30687e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_mainnet_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_market_id.4c0b30687e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_position_arbitrum_mainnet_market_id"], "alias": "not_null_fct_perp_liq_position_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": 1734109928.0568151, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_market_id__True__0.09a7367d21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ff24f6dbc5ef0b130e32acd6cbba2e0f.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_market_id__True__0.09a7367d21", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ff24f6dbc5ef0b130e32acd6cbba2e0f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ff24f6dbc5ef0b130e32acd6cbba2e0f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_ff24f6dbc5ef0b130e32acd6cbba2e0f"}, "created_at": 1734109928.0584636, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ff24f6dbc5ef0b130e32acd6cbba2e0f\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff24f6dbc5ef0b130e32acd6cbba2e0f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_market_symbol.578192ed1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_mainnet_market_symbol.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_market_symbol.578192ed1c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_position_arbitrum_mainnet_market_symbol"], "alias": "not_null_fct_perp_liq_position_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": 1734109928.0626245, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_amount_liquidated.0a4e2e6c10": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_mainnet_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_c44cf46be0017a43dad18328907621a0.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_amount_liquidated.0a4e2e6c10", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_position_arbitrum_mainnet_amount_liquidated"], "alias": "not_null_fct_perp_liq_position_c44cf46be0017a43dad18328907621a0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_liq_position_c44cf46be0017a43dad18328907621a0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_liq_position_c44cf46be0017a43dad18328907621a0"}, "created_at": 1734109928.0642838, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_liq_position_c44cf46be0017a43dad18328907621a0\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_c44cf46be0017a43dad18328907621a0.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_amount_liquidated__True__0.e71d50fb97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_314c711b09a188d2044ff89bdb16095c.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_amount_liquidated__True__0.e71d50fb97", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_fct_p_314c711b09a188d2044ff89bdb16095c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_314c711b09a188d2044ff89bdb16095c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_314c711b09a188d2044ff89bdb16095c"}, "created_at": 1734109928.066058, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_314c711b09a188d2044ff89bdb16095c\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_314c711b09a188d2044ff89bdb16095c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_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_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_position_size.83889235bc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_arbitrum_mainnet_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_arbitrum_mainnet_position_size.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_arbitrum_mainnet_position_size.83889235bc", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_position_arbitrum_mainnet_position_size"], "alias": "not_null_fct_perp_liq_position_arbitrum_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": 1734109928.0701203, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_arbitrum_mainnet_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_position_size__True__0.838f737304": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_31170cd30bf38d63d5769ea55dd61720.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_position_size__True__0.838f737304", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_arbitrum_mainnet_position_size__True__0"], "alias": "dbt_utils_accepted_range_fct_p_31170cd30bf38d63d5769ea55dd61720", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_31170cd30bf38d63d5769ea55dd61720", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_31170cd30bf38d63d5769ea55dd61720"}, "created_at": 1734109928.0718367, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_31170cd30bf38d63d5769ea55dd61720\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_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_perp_liq_position_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_31170cd30bf38d63d5769ea55dd61720.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_position_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_account_arbitrum_mainnet_account_id.68826803be": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_arbitrum_mainnet_account_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_mainnet_account_id.68826803be", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_account_arbitrum_mainnet_account_id"], "alias": "not_null_fct_perp_liq_account_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": 1734109928.076043, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_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_perp_liq_account_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_account_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_perp_liq_account_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_arbitrum_mainnet_ts.3e5e9ca92a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_mainnet_ts.3e5e9ca92a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_account_arbitrum_mainnet_ts"], "alias": "not_null_fct_perp_liq_account_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": 1734109928.0777051, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_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_perp_liq_account_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_account_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_perp_liq_account_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_arbitrum_mainnet_total_reward.59cc57cac9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_arbitrum_mainnet_total_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_arbitrum_mainnet_total_reward.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_arbitrum_mainnet_total_reward.59cc57cac9", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_liq_account_arbitrum_mainnet_total_reward"], "alias": "not_null_fct_perp_liq_account_arbitrum_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": 1734109928.079502, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_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_perp_liq_account_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_arbitrum_mainnet_total_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_reward\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_account_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_reward", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_arbitrum_mainnet_total_reward__True__0.2126781091": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_account_arbitrum_mainnet_total_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_f5642b27b5e66beab406a8db98b375b9.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_arbitrum_mainnet_total_reward__True__0.2126781091", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_account_arbitrum_mainnet_total_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_f5642b27b5e66beab406a8db98b375b9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_f5642b27b5e66beab406a8db98b375b9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_f5642b27b5e66beab406a8db98b375b9"}, "created_at": 1734109928.0811582, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_f5642b27b5e66beab406a8db98b375b9\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_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_perp_liq_account_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_f5642b27b5e66beab406a8db98b375b9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_liq_account_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_accounts_arbitrum_mainnet_id.81f17d5942": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_arbitrum_mainnet_id.81f17d5942", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_accounts_arbitrum_mainnet_id"], "alias": "not_null_fct_perp_accounts_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": 1734109928.085217, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_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_perp_accounts_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_accounts_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_perp_accounts_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_accounts_arbitrum_mainnet_id.b814c43956": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_accounts_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_accounts_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_accounts_arbitrum_mainnet_id.b814c43956", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "unique_fct_perp_accounts_arbitrum_mainnet_id"], "alias": "unique_fct_perp_accounts_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": 1734109928.0870728, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/unique_fct_perp_accounts_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_perp_accounts_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_perp_accounts_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_arbitrum_mainnet_created_ts.093f33990b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_arbitrum_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_arbitrum_mainnet_created_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_arbitrum_mainnet_created_ts.093f33990b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_accounts_arbitrum_mainnet_created_ts"], "alias": "not_null_fct_perp_accounts_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": 1734109928.0887196, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_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_perp_accounts_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_accounts_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_perp_accounts_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_accounts_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_arbitrum_mainnet_owner.d6529405d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_arbitrum_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_arbitrum_mainnet_owner.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_arbitrum_mainnet_owner.d6529405d8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_accounts_arbitrum_mainnet_owner"], "alias": "not_null_fct_perp_accounts_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": 1734109928.090338, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_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_perp_accounts_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_accounts_arbitrum_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_accounts_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_perp_accounts_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_perp_accounts_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_ts.766783dff7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_ts.766783dff7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_ts"], "alias": "not_null_fct_perp_collateral_balances_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": 1734109928.0919936, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_balances_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_transaction_hash.1444f820b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_c0209e6eca44584838fca7c74d447ed9.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_transaction_hash.1444f820b5", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_perp_collateral_b_c0209e6eca44584838fca7c74d447ed9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_c0209e6eca44584838fca7c74d447ed9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_c0209e6eca44584838fca7c74d447ed9"}, "created_at": 1734109928.0937126, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_c0209e6eca44584838fca7c74d447ed9\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_c0209e6eca44584838fca7c74d447ed9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_collateral_id.9d63381e5b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_collateral_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_2659b8f281bdb8b2baa7e06888aab6b1.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_collateral_id.9d63381e5b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_collateral_id"], "alias": "not_null_fct_perp_collateral_b_2659b8f281bdb8b2baa7e06888aab6b1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_2659b8f281bdb8b2baa7e06888aab6b1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_2659b8f281bdb8b2baa7e06888aab6b1"}, "created_at": 1734109928.0953462, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_2659b8f281bdb8b2baa7e06888aab6b1\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2659b8f281bdb8b2baa7e06888aab6b1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_arbitrum_mainnet\"\nwhere collateral_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_id", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_synth_token_address.fc366d34b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_81caaa1d9a5bdbffc95ea5e40ddeebaa.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_synth_token_address.fc366d34b3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_synth_token_address"], "alias": "not_null_fct_perp_collateral_b_81caaa1d9a5bdbffc95ea5e40ddeebaa", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_81caaa1d9a5bdbffc95ea5e40ddeebaa", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_81caaa1d9a5bdbffc95ea5e40ddeebaa"}, "created_at": 1734109928.0969603, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_81caaa1d9a5bdbffc95ea5e40ddeebaa\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_81caaa1d9a5bdbffc95ea5e40ddeebaa.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_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.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_token_address", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_synth_symbol.61c7da825c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_synth_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_cc760178e755c795e91b3423c1d7a4a7.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_synth_symbol.61c7da825c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_synth_symbol"], "alias": "not_null_fct_perp_collateral_b_cc760178e755c795e91b3423c1d7a4a7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_cc760178e755c795e91b3423c1d7a4a7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_cc760178e755c795e91b3423c1d7a4a7"}, "created_at": 1734109928.0985782, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_cc760178e755c795e91b3423c1d7a4a7\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_cc760178e755c795e91b3423c1d7a4a7.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_arbitrum_mainnet\"\nwhere synth_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_symbol", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_symbol", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_event_type.c4d454fad0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_event_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_91f013c3b30718cc38c6120b6b6eacea.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_event_type.c4d454fad0", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_event_type"], "alias": "not_null_fct_perp_collateral_b_91f013c3b30718cc38c6120b6b6eacea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_91f013c3b30718cc38c6120b6b6eacea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_91f013c3b30718cc38c6120b6b6eacea"}, "created_at": 1734109928.1002183, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_91f013c3b30718cc38c6120b6b6eacea\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_91f013c3b30718cc38c6120b6b6eacea.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_arbitrum_mainnet\"\nwhere event_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_type", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_type", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_amount_delta.fd722dec08": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_amount_delta", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_9d65d8be427de04e4450a533201143a3.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_amount_delta.fd722dec08", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_amount_delta"], "alias": "not_null_fct_perp_collateral_b_9d65d8be427de04e4450a533201143a3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_9d65d8be427de04e4450a533201143a3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_9d65d8be427de04e4450a533201143a3"}, "created_at": 1734109928.1019115, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_9d65d8be427de04e4450a533201143a3\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_9d65d8be427de04e4450a533201143a3.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delta\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_arbitrum_mainnet\"\nwhere amount_delta is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delta", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delta", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_account_balance.11024ee382": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_account_balance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_9a5638dea923d62f0be19b6b9497129c.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_account_balance.11024ee382", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_account_balance"], "alias": "not_null_fct_perp_collateral_b_9a5638dea923d62f0be19b6b9497129c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_9a5638dea923d62f0be19b6b9497129c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_9a5638dea923d62f0be19b6b9497129c"}, "created_at": 1734109928.1035476, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_9a5638dea923d62f0be19b6b9497129c\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_9a5638dea923d62f0be19b6b9497129c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_balance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_arbitrum_mainnet\"\nwhere account_balance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_balance", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_mainnet_account_balance__True__0.dbab39a9b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_mainnet_account_balance__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8e195c4169f5ac52ac6241ba95f939ce.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_mainnet_account_balance__True__0.dbab39a9b8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_mainnet_account_balance__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8e195c4169f5ac52ac6241ba95f939ce", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8e195c4169f5ac52ac6241ba95f939ce", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_8e195c4169f5ac52ac6241ba95f939ce"}, "created_at": 1734109928.1051493, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8e195c4169f5ac52ac6241ba95f939ce\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8e195c4169f5ac52ac6241ba95f939ce.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_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_balance >= 0\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_balance", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_total_balance.71649f4230": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_total_balance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_a29a814da28132416635cf6ffb971a93.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_total_balance.71649f4230", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_total_balance"], "alias": "not_null_fct_perp_collateral_b_a29a814da28132416635cf6ffb971a93", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_a29a814da28132416635cf6ffb971a93", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_a29a814da28132416635cf6ffb971a93"}, "created_at": 1734109928.1094046, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_a29a814da28132416635cf6ffb971a93\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_a29a814da28132416635cf6ffb971a93.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_balance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_arbitrum_mainnet\"\nwhere total_balance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_balance", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_mainnet_total_balance__True__0.812107bf6c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_mainnet_total_balance__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ccb1ff266b40640634f53306a6967817.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_mainnet_total_balance__True__0.812107bf6c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_collateral_balances_arbitrum_mainnet_total_balance__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ccb1ff266b40640634f53306a6967817", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ccb1ff266b40640634f53306a6967817", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_ccb1ff266b40640634f53306a6967817"}, "created_at": 1734109928.111115, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ccb1ff266b40640634f53306a6967817\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ccb1ff266b40640634f53306a6967817.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_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 total_balance >= 0\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_balance", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_balance", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_amount_delta_usd.87a9fb1df3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_amount_delta_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_2e31633671d240b7fa0b5a5e4272b564.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_amount_delta_usd.87a9fb1df3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_amount_delta_usd"], "alias": "not_null_fct_perp_collateral_b_2e31633671d240b7fa0b5a5e4272b564", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_2e31633671d240b7fa0b5a5e4272b564", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_2e31633671d240b7fa0b5a5e4272b564"}, "created_at": 1734109928.1153395, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_2e31633671d240b7fa0b5a5e4272b564\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_2e31633671d240b7fa0b5a5e4272b564.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delta_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_arbitrum_mainnet\"\nwhere amount_delta_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delta_usd", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delta_usd", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_account_balance_usd.0d4c84db1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_account_balance_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_5d93586de15c2be8a9c64b740425cde2.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_account_balance_usd.0d4c84db1a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_account_balance_usd"], "alias": "not_null_fct_perp_collateral_b_5d93586de15c2be8a9c64b740425cde2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_5d93586de15c2be8a9c64b740425cde2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_5d93586de15c2be8a9c64b740425cde2"}, "created_at": 1734109928.11699, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_5d93586de15c2be8a9c64b740425cde2\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_5d93586de15c2be8a9c64b740425cde2.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_balance_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_arbitrum_mainnet\"\nwhere account_balance_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_balance_usd", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_balance_usd", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_total_balance_usd.f1c3169523": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_balances_arbitrum_mainnet_total_balance_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_b_0d3fc38ebce44f45342793c69d024c97.sql", "original_file_path": "models/marts/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_balances_arbitrum_mainnet_total_balance_usd.f1c3169523", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "perp", "not_null_fct_perp_collateral_balances_arbitrum_mainnet_total_balance_usd"], "alias": "not_null_fct_perp_collateral_b_0d3fc38ebce44f45342793c69d024c97", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_b_0d3fc38ebce44f45342793c69d024c97", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b_0d3fc38ebce44f45342793c69d024c97"}, "created_at": 1734109928.1186423, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_b_0d3fc38ebce44f45342793c69d024c97\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_balances_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_perp_collateral_balances_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/perp/schema.yml/not_null_fct_perp_collateral_b_0d3fc38ebce44f45342793c69d024c97.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_balance_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_perp_collateral_balances_arbitrum_mainnet\"\nwhere total_balance_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_balance_usd", "file_key_name": "models.fct_perp_collateral_balances_arbitrum_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_balances_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_balance_usd", "model": "{{ get_where_subquery(ref('fct_perp_collateral_balances_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_arbitrum_mainnet_block_timestamp.4a8634e95d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_acti_806bcc17b9b1e4e50ba5db20a6a3dead.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_arbitrum_mainnet_block_timestamp.4a8634e95d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_activity_arbitrum_mainnet_block_timestamp"], "alias": "not_null_fct_core_account_acti_806bcc17b9b1e4e50ba5db20a6a3dead", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_acti_806bcc17b9b1e4e50ba5db20a6a3dead", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_acti_806bcc17b9b1e4e50ba5db20a6a3dead"}, "created_at": 1734109928.139642, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_acti_806bcc17b9b1e4e50ba5db20a6a3dead\") }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_activity_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_acti_806bcc17b9b1e4e50ba5db20a6a3dead.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_activity_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.fct_core_account_activity_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_core_account_activity_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_arbitrum_mainnet_account_action.5ab3d262bc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_arbitrum_mainnet_account_action", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_acti_110729d808f19de3565eb2af6e4f1379.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_arbitrum_mainnet_account_action.5ab3d262bc", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_activity_arbitrum_mainnet_account_action"], "alias": "not_null_fct_core_account_acti_110729d808f19de3565eb2af6e4f1379", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_acti_110729d808f19de3565eb2af6e4f1379", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_acti_110729d808f19de3565eb2af6e4f1379"}, "created_at": 1734109928.141767, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_acti_110729d808f19de3565eb2af6e4f1379\") }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_activity_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_acti_110729d808f19de3565eb2af6e4f1379.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_action\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_activity_arbitrum_mainnet\"\nwhere account_action is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_action", "file_key_name": "models.fct_core_account_activity_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_action", "model": "{{ get_where_subquery(ref('fct_core_account_activity_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_account_activity_arbitrum_mainnet_account_action__Delegated__Withdrawn__Claimed.94c04e5ebf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_account_activity_arbitrum_mainnet_account_action__Delegated__Withdrawn__Claimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_accou_eae8ff947e1ce9ebc1fc373bb06c20b9.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_account_activity_arbitrum_mainnet_account_action__Delegated__Withdrawn__Claimed.94c04e5ebf", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "accepted_values_fct_core_account_activity_arbitrum_mainnet_account_action__Delegated__Withdrawn__Claimed"], "alias": "accepted_values_fct_core_accou_eae8ff947e1ce9ebc1fc373bb06c20b9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_accou_eae8ff947e1ce9ebc1fc373bb06c20b9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_accou_eae8ff947e1ce9ebc1fc373bb06c20b9"}, "created_at": 1734109928.143465, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_accou_eae8ff947e1ce9ebc1fc373bb06c20b9\") }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_account_activity_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_accou_eae8ff947e1ce9ebc1fc373bb06c20b9.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n account_action as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_activity_arbitrum_mainnet\"\n group by account_action\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Delegated','Withdrawn','Claimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_action", "file_key_name": "models.fct_core_account_activity_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Delegated", "Withdrawn", "Claimed"], "column_name": "account_action", "model": "{{ get_where_subquery(ref('fct_core_account_activity_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_arbitrum_mainnet_account_id.2e7d753ec3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_activity_arbitrum_mainnet_account_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_arbitrum_mainnet_account_id.2e7d753ec3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_activity_arbitrum_mainnet_account_id"], "alias": "not_null_fct_core_account_activity_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": 1734109928.1476855, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_activity_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_activity_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_activity_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_activity_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_activity_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_active_stakers_daily_arbitrum_mainnet_block_date.02ea5ddba6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_active_stakers_daily_arbitrum_mainnet_block_date", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_active_stake_7d7a3bea29f881165e460d221525b622.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_active_stakers_daily_arbitrum_mainnet_block_date.02ea5ddba6", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_active_stakers_daily_arbitrum_mainnet_block_date"], "alias": "not_null_fct_core_active_stake_7d7a3bea29f881165e460d221525b622", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_active_stake_7d7a3bea29f881165e460d221525b622", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_active_stake_7d7a3bea29f881165e460d221525b622"}, "created_at": 1734109928.1493843, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_active_stake_7d7a3bea29f881165e460d221525b622\") }}", "language": "sql", "refs": [{"name": "fct_core_active_stakers_daily_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_active_stakers_daily_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_active_stake_7d7a3bea29f881165e460d221525b622.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_date\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_active_stakers_daily_arbitrum_mainnet\"\nwhere block_date is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_date", "file_key_name": "models.fct_core_active_stakers_daily_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_active_stakers_daily_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_date", "model": "{{ get_where_subquery(ref('fct_core_active_stakers_daily_arbitrum_mainnet')) }}"}, "namespace": null}}, "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": 1734109928.151056, "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": 1734109928.152688, "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": 1734109928.1543434, "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": 1734109928.15855, "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": 1734109928.1602042, "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": 1734109928.1619794, "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": 1734109928.1636314, "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": 1734109928.1652741, "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": 1734109928.1695032, "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": 1734109928.1712122, "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": 1734109928.1728432, "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": 1734109928.1745138, "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": 1734109928.1787376, "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": 1734109928.1804125, "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": 1734109928.1822143, "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": 1734109928.18636, "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": 1734109928.188093, "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": 1734109928.1899197, "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": 1734109928.1940064, "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": 1734109928.1959012, "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": 1734109928.1975644, "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": 1734109928.201661, "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": 1734109928.203532, "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": 1734109928.205198, "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": 1734109928.2068386, "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": 1734109928.2085385, "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": 1734109928.210252, "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": 1734109928.2119415, "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": 1734109928.216228, "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": 1734109928.2179384, "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": 1734109928.221986, "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": 1734109928.2240915, "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": 1734109928.228154, "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": 1734109928.229968, "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": 1734109928.2316375, "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": 1734109928.2332754, "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": 1734109928.2349088, "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": 1734109928.2365174, "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": 1734109928.2382386, "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": 1734109928.2398624, "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": 1734109928.2414606, "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": 1734109928.2430973, "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": 1734109928.2447765, "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": 1734109928.246462, "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": 1734109928.2505562, "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": 1734109928.252412, "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": 1734109928.2565148, "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": 1734109928.258351, "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": 1734109928.2600195, "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": 1734109928.2616458, "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": 1734109928.263295, "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": 1734109928.264946, "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": 1734109928.2666821, "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": 1734109928.2682965, "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": 1734109928.269934, "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": 1734109928.271592, "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": 1734109928.2757838, "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": 1734109928.2774236, "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": 1734109928.2791011, "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": 1734109928.2832747, "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": 1734109928.2849286, "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": 1734109928.2867088, "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": 1734109928.2883508, "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": 1734109928.290002, "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": 1734109928.2917402, "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": 1734109928.293402, "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": 1734109928.297581, "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": 1734109928.2992632, "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": 1734109928.301048, "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": 1734109928.3027241, "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": 1734109928.304373, "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": 1734109928.3088207, "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": 1734109928.3104742, "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": 1734109928.3120954, "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": 1734109928.313721, "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": 1734109928.3154695, "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": 1734109928.317089, "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": 1734109928.3187466, "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": 1734109928.322978, "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": 1734109928.3246255, "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": 1734109928.3262365, "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": 1734109928.327892, "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": 1734109928.3295872, "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": 1734109928.3312252, "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": 1734109928.3354673, "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": 1734109928.3371234, "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": 1734109928.3388002, "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": 1734109928.342992, "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": 1734109928.344689, "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": 1734109928.3463502, "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": 1734109928.3480263, "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": 1734109928.349855, "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": 1734109928.3539572, "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": 1734109928.355892, "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": 1734109928.359971, "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": 1734109928.3616328, "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": 1734109928.365808, "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": 1734109928.367486, "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": 1734109928.36926, "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": 1734109928.3709588, "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": 1734109928.3750675, "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": 1734109928.3768885, "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": 1734109928.3785594, "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": 1734109928.3828108, "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": 1734109928.384482, "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": 1734109928.3861222, "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": 1734109928.390625, "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": 1734109928.3922493, "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": 1734109928.3938568, "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_amount.5d52c05b74": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount.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.5d52c05b74", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount"], "alias": "not_null_fct_pool_rewards_token_hourly_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": 1734109928.395474, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_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_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "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_amount__True__0.c3b84fc77c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_b1d59884f8642fc3181a3d46417cd8fb.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__True__0.c3b84fc77c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_b1d59884f8642fc3181a3d46417cd8fb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_b1d59884f8642fc3181a3d46417cd8fb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_b1d59884f8642fc3181a3d46417cd8fb"}, "created_at": 1734109928.397207, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_b1d59884f8642fc3181a3d46417cd8fb\") }}", "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_b1d59884f8642fc3181a3d46417cd8fb.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 >= 0\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_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", "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": 1734109928.401276, "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": 1734109928.403126, "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_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": 1734109928.42005, "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": 1734109928.4217596, "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": 1734109928.423455, "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": 1734109928.4252362, "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": 1734109928.42908, "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": 1734109928.4307625, "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": 1734109928.432634, "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": 1734109928.4342644, "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_core_account_activity_eth_mainnet_block_timestamp.cf7cc4679f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_activity_eth_mainnet_block_timestamp.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_eth_mainnet_block_timestamp.cf7cc4679f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_activity_eth_mainnet_block_timestamp"], "alias": "not_null_fct_core_account_activity_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": 1734109928.462625, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_activity_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_activity_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_activity_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.fct_core_account_activity_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_core_account_activity_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_eth_mainnet_account_action.63906622b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_eth_mainnet_account_action", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_activity_eth_mainnet_account_action.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_eth_mainnet_account_action.63906622b3", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_activity_eth_mainnet_account_action"], "alias": "not_null_fct_core_account_activity_eth_mainnet_account_action", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109928.4644604, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_activity_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_activity_eth_mainnet_account_action.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_action\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_activity_eth_mainnet\"\nwhere account_action is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_action", "file_key_name": "models.fct_core_account_activity_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_action", "model": "{{ get_where_subquery(ref('fct_core_account_activity_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_account_activity_eth_mainnet_account_action__Delegated__Withdrawn__Claimed.8433626c68": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_account_activity_eth_mainnet_account_action__Delegated__Withdrawn__Claimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_accou_3481d974acc4cf439d3c9ad7e7739454.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_account_activity_eth_mainnet_account_action__Delegated__Withdrawn__Claimed.8433626c68", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "accepted_values_fct_core_account_activity_eth_mainnet_account_action__Delegated__Withdrawn__Claimed"], "alias": "accepted_values_fct_core_accou_3481d974acc4cf439d3c9ad7e7739454", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_accou_3481d974acc4cf439d3c9ad7e7739454", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_accou_3481d974acc4cf439d3c9ad7e7739454"}, "created_at": 1734109928.4661396, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_accou_3481d974acc4cf439d3c9ad7e7739454\") }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_account_activity_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_accou_3481d974acc4cf439d3c9ad7e7739454.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n account_action as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_activity_eth_mainnet\"\n group by account_action\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Delegated','Withdrawn','Claimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_action", "file_key_name": "models.fct_core_account_activity_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Delegated", "Withdrawn", "Claimed"], "column_name": "account_action", "model": "{{ get_where_subquery(ref('fct_core_account_activity_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_activity_eth_mainnet_account_id.5ca5cffa07": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_activity_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_activity_eth_mainnet_account_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_activity_eth_mainnet_account_id.5ca5cffa07", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_activity_eth_mainnet_account_id"], "alias": "not_null_fct_core_account_activity_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": 1734109928.470244, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_activity_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_activity_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_activity_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_activity_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_activity_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_activity_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_activity_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_active_stakers_daily_eth_mainnet_block_date.0984cf179c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_active_stakers_daily_eth_mainnet_block_date", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_active_stakers_daily_eth_mainnet_block_date.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_active_stakers_daily_eth_mainnet_block_date.0984cf179c", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_active_stakers_daily_eth_mainnet_block_date"], "alias": "not_null_fct_core_active_stakers_daily_eth_mainnet_block_date", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109928.4724083, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_active_stakers_daily_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_active_stakers_daily_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_active_stakers_daily_eth_mainnet_block_date.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_date\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_active_stakers_daily_eth_mainnet\"\nwhere block_date is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_date", "file_key_name": "models.fct_core_active_stakers_daily_eth_mainnet", "attached_node": "model.synthetix.fct_core_active_stakers_daily_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_date", "model": "{{ get_where_subquery(ref('fct_core_active_stakers_daily_eth_mainnet')) }}"}, "namespace": null}}, "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": 1734109928.4740555, "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": 1734109928.4756956, "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": 1734109928.4773314, "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": 1734109928.4815125, "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": 1734109928.4831781, "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": 1734109928.4847994, "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": 1734109928.4866092, "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": 1734109928.4882743, "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": 1734109928.4924667, "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": 1734109928.49415, "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": 1734109928.4957993, "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": 1734109928.4974356, "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": 1734109928.5016122, "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": 1734109928.5032878, "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": 1734109928.5049324, "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": 1734109928.5091248, "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": 1734109928.5108032, "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": 1734109928.5124583, "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": 1734109928.5166397, "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": 1734109928.518287, "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": 1734109928.5200977, "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": 1734109928.5241792, "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": 1734109928.5259664, "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": 1734109928.5276196, "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": 1734109928.5292382, "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": 1734109928.530869, "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": 1734109928.5325506, "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": 1734109928.534241, "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": 1734109928.535895, "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": 1734109928.540155, "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": 1734109928.5418518, "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": 1734109928.5459163, "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": 1734109928.5478172, "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": 1734109928.551964, "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": 1734109928.5540826, "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": 1734109928.555771, "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": 1734109928.557399, "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": 1734109928.5590405, "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": 1734109928.5606568, "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": 1734109928.5623589, "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": 1734109928.5640004, "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": 1734109928.565607, "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": 1734109928.5672245, "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": 1734109928.5689309, "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": 1734109928.570583, "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": 1734109928.574596, "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": 1734109928.576453, "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": 1734109928.580537, "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": 1734109928.582356, "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": 1734109928.5840638, "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": 1734109928.5856876, "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": 1734109928.5873477, "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": 1734109928.588958, "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": 1734109928.5907328, "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": 1734109928.5923772, "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": 1734109928.5939994, "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": 1734109928.5956893, "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": 1734109928.5998921, "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": 1734109928.6015856, "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": 1734109928.6032538, "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": 1734109928.6071932, "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": 1734109928.6088586, "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": 1734109928.610653, "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": 1734109928.6123512, "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": 1734109928.614, "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": 1734109928.6156704, "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": 1734109928.6173182, "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": 1734109928.6215224, "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": 1734109928.6232195, "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": 1734109928.6249864, "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": 1734109928.6266901, "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": 1734109928.6284275, "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": 1734109928.6326547, "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": 1734109928.6343327, "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": 1734109928.635993, "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": 1734109928.6376383, "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": 1734109928.639672, "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": 1734109928.641275, "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": 1734109928.6429074, "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": 1734109928.6471372, "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": 1734109928.648795, "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": 1734109928.6504676, "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": 1734109928.6521125, "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": 1734109928.653831, "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": 1734109928.655485, "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": 1734109928.659739, "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": 1734109928.6614044, "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": 1734109928.6630704, "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": 1734109928.6672556, "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": 1734109928.6688979, "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": 1734109928.6705453, "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": 1734109928.672152, "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": 1734109928.6738446, "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": 1734109928.6755197, "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": 1734109928.6797636, "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": 1734109928.6814551, "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": 1734109928.6854846, "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": 1734109928.6873431, "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": 1734109928.6914022, "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": 1734109928.6932366, "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": 1734109928.6948955, "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": 1734109928.6965458, "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": 1734109928.7007616, "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": 1734109928.7024446, "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": 1734109928.704089, "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": 1734109928.7082763, "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": 1734109928.7099152, "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": 1734109928.7116494, "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": 1734109928.715911, "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": 1734109928.7175612, "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": 1734109928.7192283, "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": 1734109928.721298, "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": 1734109928.7229636, "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": 1734109928.7272353, "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": 1734109928.728921, "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": 1734109928.7329504, "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": 1734109928.7347786, "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": 1734109928.738837, "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": 1734109928.7406447, "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": 1734109928.7446783, "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": 1734109928.7463162, "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": 1734109928.7481608, "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": 1734109928.749798, "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": 1734109928.7514627, "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": 1734109928.7556114, "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": 1734109928.757263, "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": 1734109928.7617655, "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": 1734109928.763427, "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": 1734109928.7650523, "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": 1734109928.7668283, "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": 1734109928.770907, "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": 1734109928.7725587, "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": 1734109928.774348, "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": 1734109928.7760072, "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": 1734109928.7802157, "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": 1734109928.7818677, "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": 1734109928.7835793, "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_lt_trades_optimism_mainnet_nominal_volume.1457e0bfa7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_lt_trades_optimism_mainnet_nominal_volume", "resource_type": "test", "package_name": "synthetix", "path": "not_null_lt_trades_optimism_mainnet_nominal_volume.sql", "original_file_path": "models/marts/optimism/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_lt_trades_optimism_mainnet_nominal_volume.1457e0bfa7", "fqn": ["synthetix", "marts", "optimism", "mainnet", "not_null_lt_trades_optimism_mainnet_nominal_volume"], "alias": "not_null_lt_trades_optimism_mainnet_nominal_volume", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109928.8165193, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "lt_trades_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "nominal_volume", "file_key_name": "models.lt_trades_optimism_mainnet", "attached_node": "model.synthetix.lt_trades_optimism_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "nominal_volume", "model": "{{ get_where_subquery(ref('lt_trades_optimism_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_lt_trades_optimism_mainnet_nominal_volume__True__0.252acc70e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_lt_trades_optimism_mainnet_nominal_volume__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_lt_tr_b03e0f197e07b09d066f020a9c95d502.sql", "original_file_path": "models/marts/optimism/mainnet/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_lt_trades_optimism_mainnet_nominal_volume__True__0.252acc70e0", "fqn": ["synthetix", "marts", "optimism", "mainnet", "dbt_utils_accepted_range_lt_trades_optimism_mainnet_nominal_volume__True__0"], "alias": "dbt_utils_accepted_range_lt_tr_b03e0f197e07b09d066f020a9c95d502", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": "dbt_utils_accepted_range_lt_tr_b03e0f197e07b09d066f020a9c95d502", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_lt_tr_b03e0f197e07b09d066f020a9c95d502"}, "created_at": 1734109928.8182385, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_lt_tr_b03e0f197e07b09d066f020a9c95d502\") }}", "language": "sql", "refs": [{"name": "lt_trades_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "nominal_volume", "file_key_name": "models.lt_trades_optimism_mainnet", "attached_node": "model.synthetix.lt_trades_optimism_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "nominal_volume", "model": "{{ get_where_subquery(ref('lt_trades_optimism_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_lt_trades_optimism_mainnet_notional_volume.e496cf1276": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_lt_trades_optimism_mainnet_notional_volume", "resource_type": "test", "package_name": "synthetix", "path": "not_null_lt_trades_optimism_mainnet_notional_volume.sql", "original_file_path": "models/marts/optimism/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_lt_trades_optimism_mainnet_notional_volume.e496cf1276", "fqn": ["synthetix", "marts", "optimism", "mainnet", "not_null_lt_trades_optimism_mainnet_notional_volume"], "alias": "not_null_lt_trades_optimism_mainnet_notional_volume", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109928.8225076, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "lt_trades_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "notional_volume", "file_key_name": "models.lt_trades_optimism_mainnet", "attached_node": "model.synthetix.lt_trades_optimism_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_volume", "model": "{{ get_where_subquery(ref('lt_trades_optimism_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_lt_trades_optimism_mainnet_notional_volume__True__0.8f5624e879": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_lt_trades_optimism_mainnet_notional_volume__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_lt_tr_616b7b83ef0b1a584a63f467b0ada2e6.sql", "original_file_path": "models/marts/optimism/mainnet/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_lt_trades_optimism_mainnet_notional_volume__True__0.8f5624e879", "fqn": ["synthetix", "marts", "optimism", "mainnet", "dbt_utils_accepted_range_lt_trades_optimism_mainnet_notional_volume__True__0"], "alias": "dbt_utils_accepted_range_lt_tr_616b7b83ef0b1a584a63f467b0ada2e6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": "dbt_utils_accepted_range_lt_tr_616b7b83ef0b1a584a63f467b0ada2e6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_lt_tr_616b7b83ef0b1a584a63f467b0ada2e6"}, "created_at": 1734109928.8241796, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_lt_tr_616b7b83ef0b1a584a63f467b0ada2e6\") }}", "language": "sql", "refs": [{"name": "lt_trades_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "notional_volume", "file_key_name": "models.lt_trades_optimism_mainnet", "attached_node": "model.synthetix.lt_trades_optimism_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "notional_volume", "model": "{{ get_where_subquery(ref('lt_trades_optimism_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": 1734109929.4208272, "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": 1734109929.4226704, "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": 1734109929.424348, "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.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": 1734109929.4595783, "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": 1734109929.4612634, "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": 1734109929.463073, "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": 1734109929.4647388, "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": 1734109929.4694374, "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": 1734109929.4711137, "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": 1734109929.472756, "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": 1734109929.4744048, "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": 1734109929.476196, "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": 1734109929.4803047, "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": 1734109929.482103, "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": 1734109929.4837625, "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": 1734109929.4853861, "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": 1734109929.4896076, "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": 1734109929.4912953, "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": 1734109929.4929786, "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": 1734109929.4971726, "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": 1734109929.4988606, "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": 1734109929.5004783, "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": 1734109929.5022163, "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": 1734109929.5038536, "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": 1734109929.5054386, "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": 1734109929.5070715, "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": 1734109929.5086832, "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": 1734109929.510822, "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": 1734109929.5124564, "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": 1734109929.5166707, "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": 1734109929.518339, "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": 1734109929.522361, "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": 1734109929.5242693, "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": 1734109929.5283303, "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": 1734109929.5301962, "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": 1734109929.5346463, "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": 1734109929.5364816, "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": 1734109929.5381212, "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": 1734109929.539778, "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": 1734109929.5413995, "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": 1734109929.5430293, "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": 1734109929.5447555, "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": 1734109929.5464013, "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": 1734109929.5509756, "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": 1734109929.5527387, "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": 1734109929.556935, "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": 1734109929.5586324, "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": 1734109929.5602882, "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": 1734109929.5619156, "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": 1734109929.5635738, "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": 1734109929.5653243, "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": 1734109929.5694425, "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": 1734109929.571304, "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": 1734109929.5729866, "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": 1734109929.574647, "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": 1734109929.5762827, "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": 1734109929.5807455, "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": 1734109929.582446, "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": 1734109929.5841143, "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": 1734109929.5883882, "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": 1734109929.5900583, "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": 1734109929.5921707, "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": 1734109929.5962343, "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": 1734109929.597953, "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": 1734109929.5997708, "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": 1734109929.601395, "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": 1734109929.603032, "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": 1734109929.6046538, "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": 1734109929.6088295, "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": 1734109929.6105132, "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": 1734109929.6121397, "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": 1734109929.6140053, "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": 1734109929.6183448, "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": 1734109929.6202078, "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": 1734109929.6245692, "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": 1734109929.6264238, "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": 1734109929.6280963, "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": 1734109929.6321847, "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": 1734109929.63404, "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": 1734109929.635746, "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": 1734109929.6373913, "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": 1734109929.639055, "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": 1734109929.6432254, "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": 1734109929.644902, "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": 1734109929.649136, "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": 1734109929.650821, "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": 1734109929.6550138, "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": 1734109929.6566691, "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": 1734109929.6583061, "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": 1734109929.6599557, "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": 1734109929.661708, "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": 1734109929.6633418, "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": 1734109929.6649354, "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": 1734109929.66661, "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": 1734109929.6708033, "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": 1734109929.6724813, "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": 1734109929.674139, "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": 1734109929.678953, "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": 1734109929.6806183, "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": 1734109929.682417, "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": 1734109929.6841056, "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": 1734109929.6883533, "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": 1734109929.6900015, "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": 1734109929.6916611, "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": 1734109929.6958225, "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": 1734109929.6975002, "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": 1734109929.7016752, "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": 1734109929.7033718, "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": 1734109929.7079716, "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": 1734109929.7096267, "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": 1734109929.7113373, "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": 1734109929.7129679, "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": 1734109929.7146988, "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": 1734109929.7163365, "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": 1734109929.7179706, "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_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": 1734109929.724082, "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": 1734109929.7257328, "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": 1734109929.7273824, "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": 1734109929.7291543, "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": 1734109929.7308426, "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": 1734109929.7324848, "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": 1734109929.734133, "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": 1734109929.7386913, "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": 1734109929.7403483, "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": 1734109929.741976, "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": 1734109929.7438, "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": 1734109929.7478845, "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": 1734109929.7496886, "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.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": 1734109929.775963, "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": 1734109929.7776477, "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": 1734109929.779338, "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": 1734109929.7809997, "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": 1734109929.7854838, "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": 1734109929.7871642, "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": 1734109929.788923, "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": 1734109929.790567, "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": 1734109929.7921975, "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": 1734109929.796436, "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": 1734109929.7980826, "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": 1734109929.7997403, "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": 1734109929.801343, "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": 1734109929.8031037, "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": 1734109929.8047147, "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": 1734109929.8063314, "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": 1734109929.807974, "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": 1734109929.8095775, "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": 1734109929.8113265, "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": 1734109929.815365, "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": 1734109929.8172216, "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": 1734109929.821251, "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": 1734109929.8231058, "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": 1734109929.8271782, "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": 1734109929.828852, "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": 1734109929.8306746, "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": 1734109929.8346903, "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": 1734109929.8367674, "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": 1734109929.8408148, "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": 1734109929.8425038, "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": 1734109929.8467093, "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": 1734109929.8483818, "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": 1734109929.8525693, "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": 1734109929.8542287, "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": 1734109929.8558922, "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": 1734109929.8576503, "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": 1734109929.8592856, "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": 1734109929.860905, "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": 1734109929.8625445, "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": 1734109929.864264, "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": 1734109929.8658543, "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": 1734109929.8674965, "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": 1734109929.8691146, "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": 1734109929.870746, "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": 1734109929.8724654, "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": 1734109929.8768795, "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": 1734109929.8787377, "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": 1734109929.8827915, "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": 1734109929.884656, "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": 1734109929.888807, "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": 1734109929.8904939, "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": 1734109929.8946662, "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": 1734109929.8963265, "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": 1734109929.9005296, "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": 1734109929.902229, "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": 1734109929.906421, "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": 1734109929.9080696, "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": 1734109929.9097154, "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": 1734109929.9115086, "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": 1734109929.9131365, "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": 1734109929.9172254, "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": 1734109929.9193678, "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": 1734109929.9237115, "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": 1734109929.9255512, "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": 1734109929.9272149, "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": 1734109929.9313903, "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": 1734109929.9330466, "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": 1734109929.9347203, "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": 1734109929.936357, "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": 1734109929.9379854, "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": 1734109929.9397407, "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": 1734109929.9438055, "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": 1734109929.9455929, "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": 1734109929.9472742, "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": 1734109929.951499, "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": 1734109929.9531384, "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": 1734109929.9547758, "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": 1734109929.9564002, "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": 1734109929.960877, "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": 1734109929.962542, "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": 1734109929.9641485, "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": 1734109929.965913, "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": 1734109929.967541, "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": 1734109929.9692075, "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": 1734109929.9733963, "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": 1734109929.9750466, "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": 1734109929.9766972, "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": 1734109929.980918, "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": 1734109929.9825964, "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": 1734109929.9842207, "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": 1734109929.9859884, "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": 1734109929.9876952, "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": 1734109929.9918177, "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": 1734109929.9936771, "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": 1734109929.9953313, "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": 1734109929.9969761, "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": 1734109929.998625, "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": 1734109930.0006416, "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": 1734109930.002265, "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": 1734109930.0065024, "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": 1734109930.0081997, "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": 1734109930.0122037, "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": 1734109930.0140028, "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": 1734109930.01567, "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": 1734109930.0198781, "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": 1734109930.0215375, "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": 1734109930.0231886, "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": 1734109930.024819, "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": 1734109930.0264492, "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": 1734109930.0281584, "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": 1734109930.0297909, "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": 1734109930.0343275, "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": 1734109930.036015, "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": 1734109930.037635, "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": 1734109930.039273, "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": 1734109930.0410078, "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": 1734109930.0450506, "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": 1734109930.0467126, "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": 1734109930.0485322, "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": 1734109930.0526202, "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": 1734109930.0544896, "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": 1734109930.0561414, "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": 1734109930.0577555, "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": 1734109930.0593996, "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": 1734109930.0610244, "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": 1734109930.0628214, "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": 1734109930.0644543, "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": 1734109930.068694, "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": 1734109930.0703435, "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": 1734109930.0720224, "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": 1734109930.0765574, "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": 1734109930.0782099, "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": 1734109930.0799081, "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": 1734109930.0843322, "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": 1734109930.0859687, "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": 1734109930.0876334, "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": 1734109930.0894084, "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": 1734109930.0910482, "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": 1734109930.0926452, "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_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": 1734109930.1235082, "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": 1734109930.1252556, "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": 1734109930.1269464, "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": 1734109930.1311836, "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": 1734109930.1328452, "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": 1734109930.134511, "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": 1734109930.136161, "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": 1734109930.13788, "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": 1734109930.1395113, "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": 1734109930.1411347, "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": 1734109930.1452782, "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": 1734109930.146999, "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": 1734109930.1487284, "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": 1734109930.150372, "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": 1734109930.1521118, "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": 1734109930.1537418, "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": 1734109930.1580389, "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": 1734109930.1597474, "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": 1734109930.1613941, "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": 1734109930.1660244, "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": 1734109930.1677103, "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": 1734109930.1693342, "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": 1734109930.1709962, "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": 1734109930.172734, "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": 1734109930.1767938, "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": 1734109930.178639, "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": 1734109930.1802928, "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": 1734109930.1843452, "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": 1734109930.1862059, "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": 1734109930.1906176, "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": 1734109930.1924522, "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": 1734109930.1941144, "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": 1734109930.1957748, "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": 1734109930.1973922, "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": 1734109930.1990514, "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": 1734109930.2035217, "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": 1734109930.2051587, "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": 1734109930.2069697, "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": 1734109930.2110665, "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": 1734109930.2128913, "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": 1734109930.214563, "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": 1734109930.2161844, "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": 1734109930.2178028, "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": 1734109930.2220335, "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": 1734109930.2237496, "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": 1734109930.2254114, "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": 1734109930.2271795, "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": 1734109930.2288325, "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": 1734109930.230456, "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": 1734109930.2346773, "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": 1734109930.2363212, "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": 1734109930.23799, "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": 1734109930.24218, "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": 1734109930.243866, "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": 1734109930.2454963, "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": 1734109930.247531, "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": 1734109930.2492077, "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": 1734109930.2531757, "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": 1734109930.255044, "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": 1734109930.2590702, "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": 1734109930.260885, "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": 1734109930.262534, "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": 1734109930.2641532, "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": 1734109930.2657423, "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": 1734109930.2673528, "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": 1734109930.2691116, "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": 1734109930.2734811, "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": 1734109930.2754457, "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": 1734109930.2771497, "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": 1734109930.2788188, "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": 1734109930.2829998, "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": 1734109930.2846487, "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": 1734109930.286314, "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": 1734109930.290567, "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": 1734109930.2922323, "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": 1734109930.2938535, "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": 1734109930.2956238, "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": 1734109930.297239, "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": 1734109930.2988572, "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": 1734109930.3004665, "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": 1734109930.3021235, "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": 1734109930.3062885, "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": 1734109930.3080838, "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": 1734109930.312275, "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": 1734109930.3139372, "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": 1734109930.3156097, "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": 1734109930.319829, "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": 1734109930.3214982, "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": 1734109930.3232548, "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": 1734109930.3248522, "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": 1734109930.3264966, "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": 1734109930.3310003, "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": 1734109930.3326383, "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": 1734109930.3342679, "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": 1734109930.3358932, "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": 1734109930.337608, "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": 1734109930.3392537, "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": 1734109930.3409293, "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": 1734109930.3425505, "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": 1734109930.3441482, "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": 1734109930.345844, "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": 1734109930.3474832, "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": 1734109930.3519964, "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": 1734109930.353657, "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": 1734109930.3552878, "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": 1734109930.356892, "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": 1734109930.3586192, "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": 1734109930.3602235, "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": 1734109930.3618157, "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": 1734109930.3634593, "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": 1734109930.3650777, "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": 1734109930.3668418, "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": 1734109930.3712478, "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": 1734109930.3730917, "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": 1734109930.374753, "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": 1734109930.378958, "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": 1734109930.3806055, "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": 1734109930.3822467, "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": 1734109930.3865283, "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": 1734109930.3881822, "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": 1734109930.3898213, "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": 1734109930.3943276, "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": 1734109930.39606, "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": 1734109930.3977273, "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": 1734109930.4019296, "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": 1734109930.4036417, "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": 1734109930.4052634, "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": 1734109930.4070704, "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": 1734109930.4086876, "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": 1734109930.4103193, "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": 1734109930.414793, "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": 1734109930.4164507, "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": 1734109930.418065, "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": 1734109930.419834, "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": 1734109930.4214833, "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": 1734109930.4259558, "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": 1734109930.4276593, "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": 1734109930.4317136, "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": 1734109930.4336374, "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": 1734109930.435313, "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": 1734109930.4369395, "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": 1734109930.438592, "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": 1734109930.4403136, "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": 1734109930.441952, "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": 1734109930.4462054, "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": 1734109930.44788, "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": 1734109930.4495194, "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": 1734109930.453701, "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": 1734109930.455371, "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": 1734109930.4596264, "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": 1734109930.4612978, "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": 1734109930.4655075, "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": 1734109930.4672143, "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": 1734109930.4717493, "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": 1734109930.4733984, "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": 1734109930.4750643, "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": 1734109930.4767504, "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": 1734109930.4784257, "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": 1734109930.4825602, "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": 1734109930.4841945, "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": 1734109930.4859433, "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": 1734109930.4875708, "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": 1734109930.4891677, "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": 1734109930.4908092, "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": 1734109930.4924605, "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": 1734109930.4968975, "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": 1734109930.4985836, "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": 1734109930.5003579, "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": 1734109930.504388, "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": 1734109930.5060158, "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": 1734109930.5078306, "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": 1734109930.5094497, "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": 1734109930.511178, "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": 1734109930.512822, "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": 1734109930.5145872, "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": 1734109930.518747, "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": 1734109930.5205934, "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": 1734109930.5249813, "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": 1734109930.5268426, "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": 1734109930.528508, "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": 1734109930.5301242, "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": 1734109930.5318303, "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": 1734109930.533429, "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": 1734109930.5375912, "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": 1734109930.5393224, "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": 1734109930.5438552, "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": 1734109930.5454905, "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": 1734109930.5471299, "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": 1734109930.5488765, "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": 1734109930.5505009, "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": 1734109930.5548668, "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": 1734109930.556512, "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": 1734109930.558125, "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": 1734109930.559817, "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": 1734109930.5614176, "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": 1734109930.563176, "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": 1734109930.5648165, "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": 1734109930.5664568, "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": 1734109930.5706599, "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": 1734109930.5723088, "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": 1734109930.5739377, "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": 1734109930.5783393, "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": 1734109930.5800338, "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": 1734109930.584201, "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": 1734109930.5858538, "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": 1734109930.5875463, "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": 1734109930.589159, "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": 1734109930.590941, "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": 1734109930.595006, "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": 1734109930.5968325, "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": 1734109930.5985262, "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_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": 1734109930.6012948, "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": 1734109930.6030066, "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": 1734109930.6046622, "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.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": 1734109930.6231434, "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": 1734109930.6248624, "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": 1734109930.6266298, "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": 1734109930.6282916, "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": 1734109930.6323466, "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": 1734109930.6342099, "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": 1734109930.6358633, "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": 1734109930.6374834, "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": 1734109930.6391442, "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": 1734109930.6433897, "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": 1734109930.6450686, "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": 1734109930.6467352, "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": 1734109930.6485574, "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": 1734109930.6526656, "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": 1734109930.6545033, "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": 1734109930.6561716, "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": 1734109930.6607096, "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": 1734109930.6623747, "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": 1734109930.6640456, "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": 1734109930.665666, "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": 1734109930.6672878, "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": 1734109930.6690009, "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": 1734109930.6706421, "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": 1734109930.672266, "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": 1734109930.6738644, "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": 1734109930.675506, "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": 1734109930.679678, "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": 1734109930.6813467, "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": 1734109930.6854973, "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": 1734109930.6871805, "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": 1734109930.6913905, "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": 1734109930.6930797, "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": 1734109930.6972504, "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": 1734109930.698939, "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": 1734109930.7005653, "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": 1734109930.702206, "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": 1734109930.7039816, "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": 1734109930.7056196, "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": 1734109930.707266, "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": 1734109930.7089088, "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": 1734109930.7130544, "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": 1734109930.7147934, "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": 1734109930.7190325, "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": 1734109930.7206986, "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": 1734109930.7223437, "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": 1734109930.72415, "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": 1734109930.7258022, "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": 1734109930.7275693, "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": 1734109930.7317982, "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": 1734109930.7334366, "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": 1734109930.7350886, "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": 1734109930.7367196, "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": 1734109930.738508, "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": 1734109930.7425122, "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": 1734109930.7447126, "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": 1734109930.746355, "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": 1734109930.7504578, "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": 1734109930.7523062, "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": 1734109930.7539675, "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": 1734109930.7581735, "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": 1734109930.7598724, "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": 1734109930.7615018, "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": 1734109930.7631319, "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": 1734109930.7647517, "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": 1734109930.7665236, "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": 1734109930.7705977, "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": 1734109930.7724237, "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": 1734109930.7740726, "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": 1734109930.7758067, "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": 1734109930.7799673, "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": 1734109930.781637, "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": 1734109930.785788, "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": 1734109930.7875154, "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": 1734109930.7892008, "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": 1734109930.7933943, "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": 1734109930.7950854, "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": 1734109930.7967148, "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": 1734109930.7985165, "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": 1734109930.8002, "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": 1734109930.8042457, "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": 1734109930.8060853, "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": 1734109930.8101509, "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": 1734109930.8120437, "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": 1734109930.8160896, "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": 1734109930.8179, "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": 1734109930.819576, "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": 1734109930.8211899, "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": 1734109930.8228095, "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": 1734109930.8244202, "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": 1734109930.82644, "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": 1734109930.8280952, "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": 1734109930.832316, "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": 1734109930.8339763, "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": 1734109930.8356564, "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": 1734109930.8398454, "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": 1734109930.8415112, "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": 1734109930.8431563, "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": 1734109930.8447812, "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": 1734109930.8489213, "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": 1734109930.8506064, "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": 1734109930.8522577, "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": 1734109930.8564112, "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": 1734109930.8580892, "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": 1734109930.8622406, "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": 1734109930.8639638, "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": 1734109930.8680916, "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": 1734109930.8697486, "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": 1734109930.8714166, "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": 1734109930.8731673, "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": 1734109930.8748283, "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": 1734109930.8764315, "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": 1734109930.8780773, "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_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": 1734109930.8841228, "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": 1734109930.8857882, "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": 1734109930.8874629, "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": 1734109930.8893063, "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": 1734109930.890987, "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": 1734109930.8926158, "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": 1734109930.8942955, "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": 1734109930.898488, "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": 1734109930.90016, "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": 1734109930.9017804, "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": 1734109930.90356, "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": 1734109930.9076471, "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": 1734109930.9093199, "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.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": 1734109930.932176, "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": 1734109930.9338636, "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": 1734109930.935535, "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": 1734109930.9372964, "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": 1734109930.941318, "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": 1734109930.9431744, "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": 1734109930.944832, "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": 1734109930.9464982, "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": 1734109930.9481683, "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": 1734109930.9523816, "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": 1734109930.9540412, "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": 1734109930.9556932, "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": 1734109930.9574647, "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": 1734109930.9591146, "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": 1734109930.9607158, "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": 1734109930.9623241, "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": 1734109930.9639866, "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": 1734109930.9656918, "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": 1734109930.967335, "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": 1734109930.9715307, "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": 1734109930.9732225, "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": 1734109930.9772868, "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": 1734109930.9791806, "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": 1734109930.9833007, "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": 1734109930.9851313, "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": 1734109930.9868095, "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": 1734109930.9914005, "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": 1734109930.9930766, "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": 1734109930.9971313, "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": 1734109930.9989932, "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": 1734109931.0030558, "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": 1734109931.004892, "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": 1734109931.008971, "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": 1734109931.0106313, "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": 1734109931.0124454, "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": 1734109931.014043, "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": 1734109931.0156806, "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": 1734109931.0172887, "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": 1734109931.0190501, "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": 1734109931.020662, "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": 1734109931.0222592, "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": 1734109931.0238981, "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": 1734109931.0255349, "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": 1734109931.027277, "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": 1734109931.0289166, "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": 1734109931.033094, "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": 1734109931.0347934, "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": 1734109931.0390587, "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": 1734109931.0407481, "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": 1734109931.0448813, "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": 1734109931.0467143, "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": 1734109931.0507815, "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": 1734109931.05267, "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": 1734109931.056759, "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": 1734109931.0584533, "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": 1734109931.0626264, "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": 1734109931.0642705, "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": 1734109931.0660377, "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": 1734109931.0677276, "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": 1734109931.069362, "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": 1734109931.0737808, "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": 1734109931.0754867, "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": 1734109931.0796413, "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": 1734109931.0813067, "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": 1734109931.0829737, "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": 1734109931.0871272, "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": 1734109931.088768, "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": 1734109931.0904102, "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": 1734109931.0921566, "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": 1734109931.0937681, "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": 1734109931.0953984, "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": 1734109931.0996313, "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": 1734109931.1012645, "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": 1734109931.1029735, "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": 1734109931.107169, "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": 1734109931.1088016, "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": 1734109931.1104696, "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": 1734109931.112227, "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": 1734109931.116254, "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": 1734109931.1178815, "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": 1734109931.1196923, "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": 1734109931.1212971, "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": 1734109931.1229348, "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": 1734109931.1245763, "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": 1734109931.1286855, "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": 1734109931.130323, "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": 1734109931.1319802, "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": 1734109931.1361654, "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": 1734109931.1378314, "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": 1734109931.13963, "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": 1734109931.1412466, "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": 1734109931.1429007, "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": 1734109931.147091, "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": 1734109931.1487665, "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": 1734109931.1503453, "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": 1734109931.1519833, "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": 1734109931.1540565, "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": 1734109931.155666, "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": 1734109931.157261, "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": 1734109931.1614366, "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": 1734109931.1631281, "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": 1734109931.1672058, "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": 1734109931.1688397, "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": 1734109931.170531, "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": 1734109931.1746967, "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": 1734109931.1763504, "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": 1734109931.1779783, "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": 1734109931.1797552, "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": 1734109931.181364, "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": 1734109931.1829975, "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": 1734109931.184615, "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": 1734109931.1887755, "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": 1734109931.190465, "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": 1734109931.1921287, "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": 1734109931.1938672, "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": 1734109931.195524, "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": 1734109931.199618, "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": 1734109931.201437, "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": 1734109931.2031076, "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": 1734109931.2072551, "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": 1734109931.208916, "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": 1734109931.2105756, "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": 1734109931.2122095, "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": 1734109931.2138238, "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": 1734109931.2155614, "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": 1734109931.2171586, "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": 1734109931.218809, "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": 1734109931.2230566, "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": 1734109931.2247097, "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": 1734109931.2263722, "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": 1734109931.230554, "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": 1734109931.2322094, "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": 1734109931.2339125, "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": 1734109931.2384953, "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": 1734109931.24014, "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": 1734109931.2417405, "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": 1734109931.2435057, "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": 1734109931.2451184, "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": 1734109931.2467365, "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_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": 1734109931.276408, "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": 1734109931.2781904, "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": 1734109931.2798808, "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": 1734109931.2841432, "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": 1734109931.2857926, "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": 1734109931.2874413, "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": 1734109931.2890549, "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": 1734109931.2907658, "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": 1734109931.292474, "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": 1734109931.294106, "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": 1734109931.2983031, "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": 1734109931.3000166, "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": 1734109931.3016388, "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": 1734109931.3032637, "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": 1734109931.3048875, "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": 1734109931.3066437, "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": 1734109931.3107085, "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": 1734109931.3125317, "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": 1734109931.3141954, "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": 1734109931.3184783, "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": 1734109931.3206065, "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": 1734109931.3222334, "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": 1734109931.3238835, "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": 1734109931.3255126, "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": 1734109931.329652, "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": 1734109931.3313308, "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": 1734109931.3329604, "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": 1734109931.337144, "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": 1734109931.3388615, "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": 1734109931.3429933, "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": 1734109931.344665, "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": 1734109931.3462954, "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": 1734109931.348059, "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": 1734109931.3496923, "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": 1734109931.3513684, "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": 1734109931.3555534, "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": 1734109931.3571892, "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": 1734109931.3588521, "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": 1734109931.3630574, "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": 1734109931.364715, "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": 1734109931.3663583, "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": 1734109931.368121, "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": 1734109931.3697557, "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": 1734109931.3738346, "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": 1734109931.3756623, "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": 1734109931.377298, "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": 1734109931.3789475, "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": 1734109931.3805482, "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": 1734109931.3822722, "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": 1734109931.3863246, "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": 1734109931.388184, "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": 1734109931.3898711, "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": 1734109931.3939016, "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": 1734109931.3957167, "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": 1734109931.3973198, "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": 1734109931.3989608, "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": 1734109931.400577, "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": 1734109931.404924, "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": 1734109931.4065948, "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": 1734109931.410755, "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": 1734109931.4123857, "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": 1734109931.4140084, "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": 1734109931.4157782, "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": 1734109931.4173694, "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": 1734109931.4189792, "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": 1734109931.4206114, "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": 1734109931.4247003, "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": 1734109931.4263487, "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": 1734109931.4280093, "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": 1734109931.429785, "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": 1734109931.433905, "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": 1734109931.4355743, "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": 1734109931.4373949, "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": 1734109931.4414787, "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": 1734109931.4433017, "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": 1734109931.4449284, "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": 1734109931.4465609, "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": 1734109931.4481728, "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": 1734109931.4497952, "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": 1734109931.4515467, "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": 1734109931.4531977, "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": 1734109931.4573658, "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": 1734109931.4590786, "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": 1734109931.4632838, "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": 1734109931.4649484, "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": 1734109931.4665904, "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": 1734109931.4707487, "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": 1734109931.4724088, "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": 1734109931.4740434, "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": 1734109931.4756925, "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": 1734109931.4774075, "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": 1734109931.4814792, "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": 1734109931.483672, "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": 1734109931.4853299, "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": 1734109931.4869606, "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": 1734109931.488552, "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": 1734109931.4901433, "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": 1734109931.4918773, "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": 1734109931.4934828, "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": 1734109931.4951084, "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": 1734109931.496697, "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": 1734109931.4983342, "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": 1734109931.502429, "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": 1734109931.5040684, "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": 1734109931.505823, "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": 1734109931.507468, "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": 1734109931.5090737, "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": 1734109931.5106964, "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": 1734109931.5123143, "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": 1734109931.5140238, "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": 1734109931.5156577, "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": 1734109931.5172913, "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": 1734109931.5214438, "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": 1734109931.5231638, "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": 1734109931.5248222, "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": 1734109931.529006, "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": 1734109931.5306952, "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": 1734109931.5324085, "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": 1734109931.5366724, "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": 1734109931.5383432, "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": 1734109931.5400147, "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": 1734109931.5441265, "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": 1734109931.5458152, "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": 1734109931.5474837, "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": 1734109931.5517347, "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": 1734109931.5534008, "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": 1734109931.5552053, "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": 1734109931.5568235, "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": 1734109931.5584571, "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": 1734109931.5601032, "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": 1734109931.5643024, "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": 1734109931.5660257, "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": 1734109931.5677676, "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": 1734109931.5698986, "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": 1734109931.5715668, "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": 1734109931.575562, "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": 1734109931.5773833, "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": 1734109931.5814092, "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": 1734109931.5832338, "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": 1734109931.584883, "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": 1734109931.586517, "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": 1734109931.588143, "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": 1734109931.5897841, "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": 1734109931.591607, "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": 1734109931.5956607, "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": 1734109931.597468, "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": 1734109931.5992079, "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": 1734109931.60342, "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": 1734109931.6050901, "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": 1734109931.6091568, "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": 1734109931.6110067, "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": 1734109931.615117, "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": 1734109931.6169496, "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": 1734109931.6209362, "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": 1734109931.6226017, "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": 1734109931.6244073, "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": 1734109931.6260397, "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": 1734109931.6276853, "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": 1734109931.6318617, "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": 1734109931.633506, "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": 1734109931.635161, "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": 1734109931.6369112, "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": 1734109931.6385403, "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": 1734109931.640152, "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": 1734109931.6417558, "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": 1734109931.645954, "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": 1734109931.6476264, "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": 1734109931.6492908, "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": 1734109931.6537535, "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": 1734109931.6554303, "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": 1734109931.6570606, "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": 1734109931.6588418, "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": 1734109931.6604805, "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": 1734109931.6620896, "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": 1734109931.6637542, "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": 1734109931.6679084, "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": 1734109931.6695824, "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": 1734109931.673737, "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": 1734109931.6754284, "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": 1734109931.6770687, "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": 1734109931.678722, "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": 1734109931.680488, "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": 1734109931.6821177, "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": 1734109931.6863375, "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": 1734109931.6880507, "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": 1734109931.6922355, "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": 1734109931.6938753, "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": 1734109931.6955209, "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": 1734109931.6971304, "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": 1734109931.6987674, "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": 1734109931.7029107, "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": 1734109931.7045653, "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": 1734109931.7061803, "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": 1734109931.707973, "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": 1734109931.7095923, "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": 1734109931.7112129, "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": 1734109931.712827, "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": 1734109931.7145922, "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": 1734109931.7187169, "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": 1734109931.720528, "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": 1734109931.722191, "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": 1734109931.7262688, "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": 1734109931.7281277, "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": 1734109931.7321577, "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": 1734109931.734284, "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": 1734109931.7360077, "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": 1734109931.7376487, "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": 1734109931.7392898, "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": 1734109931.743458, "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": 1734109931.7450938, "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": 1734109931.7467377, "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_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": 1734109931.7496753, "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": 1734109931.751356, "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": 1734109931.7530015, "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_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": 1734109931.771391, "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": 1734109931.7730694, "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": 1734109931.774826, "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": 1734109931.7764995, "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": 1734109931.7806172, "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": 1734109931.7824771, "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": 1734109931.7841141, "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": 1734109931.7857196, "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": 1734109931.7873905, "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": 1734109931.7916007, "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": 1734109931.7932572, "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": 1734109931.7949069, "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": 1734109931.796687, "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": 1734109931.8007538, "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": 1734109931.8025799, "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": 1734109931.804231, "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": 1734109931.8085232, "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": 1734109931.8101795, "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": 1734109931.811854, "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": 1734109931.8134532, "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": 1734109931.8150983, "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": 1734109931.817154, "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": 1734109931.8188055, "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": 1734109931.8204186, "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": 1734109931.8220046, "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": 1734109931.8236334, "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": 1734109931.8278077, "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": 1734109931.8294718, "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": 1734109931.8336344, "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": 1734109931.8353436, "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": 1734109931.8395452, "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": 1734109931.8412223, "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": 1734109931.8453906, "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": 1734109931.8470736, "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": 1734109931.8487368, "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": 1734109931.8503523, "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": 1734109931.8521326, "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": 1734109931.8537533, "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": 1734109931.8553762, "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": 1734109931.8570142, "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": 1734109931.8611352, "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": 1734109931.862844, "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": 1734109931.8670647, "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": 1734109931.868746, "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": 1734109931.8703735, "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": 1734109931.8721309, "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": 1734109931.8737378, "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": 1734109931.8753717, "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": 1734109931.8796048, "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": 1734109931.881233, "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": 1734109931.8829155, "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": 1734109931.8845086, "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": 1734109931.886267, "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": 1734109931.89033, "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": 1734109931.8921556, "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": 1734109931.8938148, "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": 1734109931.8978899, "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": 1734109931.9001272, "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": 1734109931.9017594, "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": 1734109931.9060137, "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": 1734109931.9076843, "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": 1734109931.9093213, "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": 1734109931.9109623, "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": 1734109931.9125636, "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": 1734109931.9142785, "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": 1734109931.9183354, "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": 1734109931.9201558, "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": 1734109931.9217706, "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": 1734109931.9234586, "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": 1734109931.9275575, "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": 1734109931.9292374, "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": 1734109931.933347, "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": 1734109931.9350157, "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": 1734109931.936674, "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": 1734109931.9408655, "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": 1734109931.9425373, "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": 1734109931.9441566, "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": 1734109931.9458795, "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": 1734109931.9475243, "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": 1734109931.9515917, "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": 1734109931.9534388, "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": 1734109931.9574556, "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": 1734109931.9593313, "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": 1734109931.9633467, "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": 1734109931.9651713, "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": 1734109931.9668105, "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": 1734109931.9684339, "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": 1734109931.9700444, "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": 1734109931.9716897, "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": 1734109931.973392, "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": 1734109931.9750304, "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": 1734109931.9795222, "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": 1734109931.9811597, "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": 1734109931.982812, "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": 1734109931.986958, "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": 1734109931.9886909, "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": 1734109931.9903715, "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": 1734109931.992059, "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": 1734109931.996251, "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": 1734109931.997888, "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": 1734109931.9995494, "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": 1734109932.0037608, "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": 1734109932.0054147, "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": 1734109932.009603, "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": 1734109932.0113316, "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": 1734109932.0154684, "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": 1734109932.0171058, "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": 1734109932.0187476, "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": 1734109932.020358, "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": 1734109932.0220885, "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": 1734109932.023739, "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": 1734109932.025374, "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.unique_perp_account_created_arbitrum_sepolia_id.335484a5c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_created_arbitrum_sepolia_id.335484a5c5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "unique_perp_account_created_arbitrum_sepolia_id"], "alias": "unique_perp_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": 1734109932.0482326, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_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\".\"perp_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.perp_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_created_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_id.45c30d0895": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_id.45c30d0895", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_created_arbitrum_sepolia_id"], "alias": "not_null_perp_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": 1734109932.0499263, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_event_name.7cdc353a34": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_event_name.7cdc353a34", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_created_arbitrum_sepolia_event_name"], "alias": "not_null_perp_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": 1734109932.0516317, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_created_arbitrum_sepolia_event_name__AccountCreated.b75a805866": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_created_arbitrum_sepolia_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_c_fb36bcc0cb924806c382ae655219e3c6.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_created_arbitrum_sepolia_event_name__AccountCreated.b75a805866", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "accepted_values_perp_account_created_arbitrum_sepolia_event_name__AccountCreated"], "alias": "accepted_values_perp_account_c_fb36bcc0cb924806c382ae655219e3c6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_c_fb36bcc0cb924806c382ae655219e3c6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_fb36bcc0cb924806c382ae655219e3c6"}, "created_at": 1734109932.0534158, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_c_fb36bcc0cb924806c382ae655219e3c6\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_account_c_fb36bcc0cb924806c382ae655219e3c6.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_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.perp_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_created_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_block_number.a0bf9a3f0f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_block_number.a0bf9a3f0f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_created_arbitrum_sepolia_block_number"], "alias": "not_null_perp_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": 1734109932.0575655, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_block_timestamp.7330d8d33c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_block_timestamp.7330d8d33c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_created_arbitrum_sepolia_block_timestamp"], "alias": "not_null_perp_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": 1734109932.0592494, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_owner.0774b6c4c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_sepolia_owner.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_owner.0774b6c4c3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_created_arbitrum_sepolia_owner"], "alias": "not_null_perp_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": 1734109932.0608668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_account_id.6a6774d721": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_account_id.6a6774d721", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_created_arbitrum_sepolia_account_id"], "alias": "not_null_perp_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": 1734109932.0631194, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_created_arbitrum_sepolia_account_id__True__0.0141d8699d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_created_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__f39b65446720608bacde00a114d6fbb7.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_created_arbitrum_sepolia_account_id__True__0.0141d8699d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_account_created_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__f39b65446720608bacde00a114d6fbb7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__f39b65446720608bacde00a114d6fbb7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__f39b65446720608bacde00a114d6fbb7"}, "created_at": 1734109932.0647435, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__f39b65446720608bacde00a114d6fbb7\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f39b65446720608bacde00a114d6fbb7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_created_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_transaction_hash.f4dba09d54": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_transaction_hash.f4dba09d54", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_created_arbitrum_sepolia_transaction_hash"], "alias": "not_null_perp_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": 1734109932.068766, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_contract.fde67ea53e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_sepolia_contract.fde67ea53e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_created_arbitrum_sepolia_contract"], "alias": "not_null_perp_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": 1734109932.0706, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_created_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_committed_arbitrum_sepolia_id.11b844d761": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_committed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_committed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_committed_arbitrum_sepolia_id.11b844d761", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "unique_perp_order_committed_arbitrum_sepolia_id"], "alias": "unique_perp_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": 1734109932.0722373, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_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\".\"perp_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.perp_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_id.af12508db9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_id.af12508db9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_committed_arbitrum_sepolia_id"], "alias": "not_null_perp_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": 1734109932.0738347, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_block_number.a115d197bb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_block_number.a115d197bb", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_committed_arbitrum_sepolia_block_number"], "alias": "not_null_perp_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": 1734109932.0754547, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_block_timestamp.e2dce83de3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_block_timestamp.e2dce83de3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_committed_arbitrum_sepolia_block_timestamp"], "alias": "not_null_perp_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": 1734109932.0771518, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_transaction_hash.2672ca73bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_transaction_hash.2672ca73bf", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_committed_arbitrum_sepolia_transaction_hash"], "alias": "not_null_perp_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": 1734109932.0787895, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_contract.f7f4678e01": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_contract.f7f4678e01", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_committed_arbitrum_sepolia_contract"], "alias": "not_null_perp_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": 1734109932.0804098, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_event_name.8c94a5144a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_event_name.8c94a5144a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_committed_arbitrum_sepolia_event_name"], "alias": "not_null_perp_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": 1734109932.0820076, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_committed_arbitrum_sepolia_event_name__OrderCommitted.9ba89086fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_committed_arbitrum_sepolia_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_com_dd7c98da07c294902a76090505b58f91.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_committed_arbitrum_sepolia_event_name__OrderCommitted.9ba89086fc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "accepted_values_perp_order_committed_arbitrum_sepolia_event_name__OrderCommitted"], "alias": "accepted_values_perp_order_com_dd7c98da07c294902a76090505b58f91", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_com_dd7c98da07c294902a76090505b58f91", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_dd7c98da07c294902a76090505b58f91"}, "created_at": 1734109932.0836442, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_com_dd7c98da07c294902a76090505b58f91\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_order_com_dd7c98da07c294902a76090505b58f91.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_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.perp_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_market_id.76f09344d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_market_id.76f09344d3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_committed_arbitrum_sepolia_market_id"], "alias": "not_null_perp_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": 1734109932.0877206, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_sepolia_market_id__True__0.51034c57fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__3d91e5f1af019b10126876f98678e888.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_sepolia_market_id__True__0.51034c57fd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_committed_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__3d91e5f1af019b10126876f98678e888", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__3d91e5f1af019b10126876f98678e888", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__3d91e5f1af019b10126876f98678e888"}, "created_at": 1734109932.0893831, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__3d91e5f1af019b10126876f98678e888\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__3d91e5f1af019b10126876f98678e888.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_account_id.539cca2995": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_sepolia_account_id.539cca2995", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_committed_arbitrum_sepolia_account_id"], "alias": "not_null_perp_order_committed_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": 1734109932.0935562, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_committed_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_order_committed_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.perp_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_sepolia_account_id__True__0.374a09c8bb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__7cdc014ca110a9e025f5db358a48ac34.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_sepolia_account_id__True__0.374a09c8bb", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_committed_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__7cdc014ca110a9e025f5db358a48ac34", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__7cdc014ca110a9e025f5db358a48ac34", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__7cdc014ca110a9e025f5db358a48ac34"}, "created_at": 1734109932.0952299, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__7cdc014ca110a9e025f5db358a48ac34\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__7cdc014ca110a9e025f5db358a48ac34.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_committed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_contract.f9fbebc768": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_contract.f9fbebc768", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_settled_arbitrum_sepolia_contract"], "alias": "not_null_perp_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": 1734109932.099458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_event_name.c9e5a717f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_event_name.c9e5a717f5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_settled_arbitrum_sepolia_event_name"], "alias": "not_null_perp_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": 1734109932.101111, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_settled_arbitrum_sepolia_event_name__OrderSettled.08d7370d84": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_settled_arbitrum_sepolia_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_set_361ba1c01a5bd1d51eb0f63d9b07de88.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_settled_arbitrum_sepolia_event_name__OrderSettled.08d7370d84", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "accepted_values_perp_order_settled_arbitrum_sepolia_event_name__OrderSettled"], "alias": "accepted_values_perp_order_set_361ba1c01a5bd1d51eb0f63d9b07de88", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_set_361ba1c01a5bd1d51eb0f63d9b07de88", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_361ba1c01a5bd1d51eb0f63d9b07de88"}, "created_at": 1734109932.1028004, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_set_361ba1c01a5bd1d51eb0f63d9b07de88\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_order_set_361ba1c01a5bd1d51eb0f63d9b07de88.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_account_id.e604936b3a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_account_id.e604936b3a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_settled_arbitrum_sepolia_account_id"], "alias": "not_null_perp_order_settled_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": 1734109932.1069372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_order_settled_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_account_id__True__0.b532485142": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__b24812419e988546eaaff43e2be85ccf.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_account_id__True__0.b532485142", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__b24812419e988546eaaff43e2be85ccf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__b24812419e988546eaaff43e2be85ccf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__b24812419e988546eaaff43e2be85ccf"}, "created_at": 1734109932.1086252, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__b24812419e988546eaaff43e2be85ccf\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b24812419e988546eaaff43e2be85ccf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_market_id.456fcb9a8d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_market_id.456fcb9a8d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_settled_arbitrum_sepolia_market_id"], "alias": "not_null_perp_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": 1734109932.1128592, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_market_id__True__0.bfedab225b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__d8b3efed4926726890d24653e9227262.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_market_id__True__0.bfedab225b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__d8b3efed4926726890d24653e9227262", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__d8b3efed4926726890d24653e9227262", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__d8b3efed4926726890d24653e9227262"}, "created_at": 1734109932.1145678, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__d8b3efed4926726890d24653e9227262\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__d8b3efed4926726890d24653e9227262.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_collected_fees.c1a9ca82df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_sepolia_collected_fees.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_collected_fees.c1a9ca82df", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_settled_arbitrum_sepolia_collected_fees"], "alias": "not_null_perp_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": 1734109932.1187725, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_collected_fees__True__0.8c8446ac0e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__29d702074b23d9f09b7a9aca903580cd.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_collected_fees__True__0.8c8446ac0e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_settled_arbitrum_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_perp__29d702074b23d9f09b7a9aca903580cd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__29d702074b23d9f09b7a9aca903580cd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__29d702074b23d9f09b7a9aca903580cd"}, "created_at": 1734109932.1204684, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__29d702074b23d9f09b7a9aca903580cd\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__29d702074b23d9f09b7a9aca903580cd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_transaction_hash.60c06595e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_transaction_hash.60c06595e6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_settled_arbitrum_sepolia_transaction_hash"], "alias": "not_null_perp_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": 1734109932.1246755, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_block_timestamp.8460ed1771": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_block_timestamp.8460ed1771", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_settled_arbitrum_sepolia_block_timestamp"], "alias": "not_null_perp_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": 1734109932.1263375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_block_number.7ab4260eae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_block_number.7ab4260eae", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_settled_arbitrum_sepolia_block_number"], "alias": "not_null_perp_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": 1734109932.1280088, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_settled_arbitrum_sepolia_id.a95bcce825": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_settled_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_settled_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_settled_arbitrum_sepolia_id.a95bcce825", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "unique_perp_order_settled_arbitrum_sepolia_id"], "alias": "unique_perp_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": 1734109932.1296592, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_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\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_id.bbaf076398": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_sepolia_id.bbaf076398", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_order_settled_arbitrum_sepolia_id"], "alias": "not_null_perp_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": 1734109932.131398, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_order_settled_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.perp_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_updated_arbitrum_sepolia_id.66008e7961": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_updated_arbitrum_sepolia_id.66008e7961", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "unique_perp_market_updated_arbitrum_sepolia_id"], "alias": "unique_perp_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": 1734109932.1330101, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_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\".\"perp_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.perp_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_id.3b2c812312": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_id.3b2c812312", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_updated_arbitrum_sepolia_id"], "alias": "not_null_perp_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": 1734109932.1346262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_block_number.b556a7789f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_block_number.b556a7789f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_updated_arbitrum_sepolia_block_number"], "alias": "not_null_perp_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": 1734109932.1362357, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_block_timestamp.09877a4d82": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_block_timestamp.09877a4d82", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_updated_arbitrum_sepolia_block_timestamp"], "alias": "not_null_perp_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": 1734109932.1378343, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_transaction_hash.1c205dac4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_transaction_hash.1c205dac4b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_updated_arbitrum_sepolia_transaction_hash"], "alias": "not_null_perp_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": 1734109932.1395702, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_contract.0cf0f68ca0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_contract.0cf0f68ca0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_updated_arbitrum_sepolia_contract"], "alias": "not_null_perp_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": 1734109932.141174, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_event_name.ffc855a652": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_event_name.ffc855a652", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_updated_arbitrum_sepolia_event_name"], "alias": "not_null_perp_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": 1734109932.142801, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_updated_arbitrum_sepolia_event_name__MarketUpdated.44006a072f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_updated_arbitrum_sepolia_event_name__MarketUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_up_b71df1f1383e9ff6d42787c17ec6487e.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_updated_arbitrum_sepolia_event_name__MarketUpdated.44006a072f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "accepted_values_perp_market_updated_arbitrum_sepolia_event_name__MarketUpdated"], "alias": "accepted_values_perp_market_up_b71df1f1383e9ff6d42787c17ec6487e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_up_b71df1f1383e9ff6d42787c17ec6487e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b71df1f1383e9ff6d42787c17ec6487e"}, "created_at": 1734109932.1444273, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_up_b71df1f1383e9ff6d42787c17ec6487e\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_market_up_b71df1f1383e9ff6d42787c17ec6487e.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_market_updated_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_market_id.9835cafd8a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_market_id.9835cafd8a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_updated_arbitrum_sepolia_market_id"], "alias": "not_null_perp_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": 1734109932.1488857, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_market_id__True__0.0852877223": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__b5e7952e55eca5cb15aefc4dae95e119.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_market_id__True__0.0852877223", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__b5e7952e55eca5cb15aefc4dae95e119", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__b5e7952e55eca5cb15aefc4dae95e119", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__b5e7952e55eca5cb15aefc4dae95e119"}, "created_at": 1734109932.1505418, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__b5e7952e55eca5cb15aefc4dae95e119\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b5e7952e55eca5cb15aefc4dae95e119.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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.perp_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_price.e62a84d2a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_sepolia_price.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_price.e62a84d2a0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_updated_arbitrum_sepolia_price"], "alias": "not_null_perp_market_updated_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": 1734109932.1547017, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_updated_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.perp_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_price__True__0.e44ad44456": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__57f1c4659a2153ba174790ba02b9ee40.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_price__True__0.e44ad44456", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_perp__57f1c4659a2153ba174790ba02b9ee40", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__57f1c4659a2153ba174790ba02b9ee40", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__57f1c4659a2153ba174790ba02b9ee40"}, "created_at": 1734109932.1563604, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__57f1c4659a2153ba174790ba02b9ee40\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__57f1c4659a2153ba174790ba02b9ee40.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_interest_rate.f378e28263": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_sepolia_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_sepolia_interest_rate.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_sepolia_interest_rate.f378e28263", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_updated_arbitrum_sepolia_interest_rate"], "alias": "not_null_perp_market_updated_arbitrum_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": 1734109932.1605172, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_updated_arbitrum_sepolia_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_updated_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_interest_rate__True__0.cf75ef25fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__4ad68cf30e791d591f8e12d3a6c65d6f.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_interest_rate__True__0.cf75ef25fe", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_updated_arbitrum_sepolia_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__4ad68cf30e791d591f8e12d3a6c65d6f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__4ad68cf30e791d591f8e12d3a6c65d6f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__4ad68cf30e791d591f8e12d3a6c65d6f"}, "created_at": 1734109932.1621609, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__4ad68cf30e791d591f8e12d3a6c65d6f\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4ad68cf30e791d591f8e12d3a6c65d6f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_account_id.8c9a3c7cb5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_account_id.8c9a3c7cb5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_position_liquidated_arbitrum_sepolia_account_id"], "alias": "not_null_perp_position_liquidated_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": 1734109932.1663637, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_account_id__True__0.dd5e38b371": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__84a264ec5152ddcf245c17684526e56c.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_account_id__True__0.dd5e38b371", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__84a264ec5152ddcf245c17684526e56c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__84a264ec5152ddcf245c17684526e56c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__84a264ec5152ddcf245c17684526e56c"}, "created_at": 1734109932.1680841, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__84a264ec5152ddcf245c17684526e56c\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__84a264ec5152ddcf245c17684526e56c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_market_id.3c1a2d74dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_market_id.3c1a2d74dc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_position_liquidated_arbitrum_sepolia_market_id"], "alias": "not_null_perp_position_liquidated_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": 1734109932.1722941, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_market_id__True__0.c1cfe90353": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__c27bb56289b8c5fb07690cb93ef7bdb5.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_market_id__True__0.c1cfe90353", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__c27bb56289b8c5fb07690cb93ef7bdb5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__c27bb56289b8c5fb07690cb93ef7bdb5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__c27bb56289b8c5fb07690cb93ef7bdb5"}, "created_at": 1734109932.1739612, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__c27bb56289b8c5fb07690cb93ef7bdb5\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__c27bb56289b8c5fb07690cb93ef7bdb5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.unique_perp_position_liquidated_arbitrum_sepolia_id.efb42ae977": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_position_liquidated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_position_liquidated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_position_liquidated_arbitrum_sepolia_id.efb42ae977", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "unique_perp_position_liquidated_arbitrum_sepolia_id"], "alias": "unique_perp_position_liquidated_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": 1734109932.1781573, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_position_liquidated_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\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_id.2b7f1d2fcf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_id.2b7f1d2fcf", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_position_liquidated_arbitrum_sepolia_id"], "alias": "not_null_perp_position_liquidated_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": 1734109932.1798475, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_transaction_hash.ad296550e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_5139dff63677335431c18585377588b0.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_transaction_hash.ad296550e8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_position_liquidated_arbitrum_sepolia_transaction_hash"], "alias": "not_null_perp_position_liquida_5139dff63677335431c18585377588b0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_5139dff63677335431c18585377588b0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_5139dff63677335431c18585377588b0"}, "created_at": 1734109932.1814775, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_5139dff63677335431c18585377588b0\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_5139dff63677335431c18585377588b0.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_current_position_size.48d8db66c7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_sepolia_current_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_194335b1b3a56e21742bf86e1d8822df.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_current_position_size.48d8db66c7", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_position_liquidated_arbitrum_sepolia_current_position_size"], "alias": "not_null_perp_position_liquida_194335b1b3a56e21742bf86e1d8822df", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_194335b1b3a56e21742bf86e1d8822df", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_194335b1b3a56e21742bf86e1d8822df"}, "created_at": 1734109932.183116, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_194335b1b3a56e21742bf86e1d8822df\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_194335b1b3a56e21742bf86e1d8822df.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect current_position_size\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "current_position_size", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_current_position_size__True__0.f5183b3ff9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_current_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__a44b761e36037d7a9a1ff90d75d68683.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_current_position_size__True__0.f5183b3ff9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_current_position_size__True__0"], "alias": "dbt_utils_accepted_range_perp__a44b761e36037d7a9a1ff90d75d68683", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__a44b761e36037d7a9a1ff90d75d68683", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__a44b761e36037d7a9a1ff90d75d68683"}, "created_at": 1734109932.1847312, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__a44b761e36037d7a9a1ff90d75d68683\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a44b761e36037d7a9a1ff90d75d68683.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_event_name.b8b10783cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_event_name.b8b10783cf", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_position_liquidated_arbitrum_sepolia_event_name"], "alias": "not_null_perp_position_liquidated_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": 1734109932.1888783, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_position_liquidated_arbitrum_sepolia_event_name__PositionLiquidated.8a0af4d18c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_position_liquidated_arbitrum_sepolia_event_name__PositionLiquidated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_position__d4ffc02c85e7b4130fd24c9a797b0f01.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_position_liquidated_arbitrum_sepolia_event_name__PositionLiquidated.8a0af4d18c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "accepted_values_perp_position_liquidated_arbitrum_sepolia_event_name__PositionLiquidated"], "alias": "accepted_values_perp_position__d4ffc02c85e7b4130fd24c9a797b0f01", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_position__d4ffc02c85e7b4130fd24c9a797b0f01", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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__d4ffc02c85e7b4130fd24c9a797b0f01"}, "created_at": 1734109932.190595, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_position__d4ffc02c85e7b4130fd24c9a797b0f01\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_position__d4ffc02c85e7b4130fd24c9a797b0f01.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_position_liquidated_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PositionLiquidated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_block_number.13ef61c2cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_block_number.13ef61c2cc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_position_liquidated_arbitrum_sepolia_block_number"], "alias": "not_null_perp_position_liquidated_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": 1734109932.1947575, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_amount_liquidated.2b3c4071f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_sepolia_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_67af593e048358571f51c4358b034e36.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_amount_liquidated.2b3c4071f6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_position_liquidated_arbitrum_sepolia_amount_liquidated"], "alias": "not_null_perp_position_liquida_67af593e048358571f51c4358b034e36", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_67af593e048358571f51c4358b034e36", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_67af593e048358571f51c4358b034e36"}, "created_at": 1734109932.1964278, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_67af593e048358571f51c4358b034e36\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_67af593e048358571f51c4358b034e36.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_amount_liquidated__True__0.f820c88c54": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__414d178707e38587e5e1a6ccd46b0947.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_amount_liquidated__True__0.f820c88c54", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_sepolia_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_perp__414d178707e38587e5e1a6ccd46b0947", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__414d178707e38587e5e1a6ccd46b0947", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__414d178707e38587e5e1a6ccd46b0947"}, "created_at": 1734109932.1980767, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__414d178707e38587e5e1a6ccd46b0947\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__414d178707e38587e5e1a6ccd46b0947.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_contract.f6b0610ff4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_contract.f6b0610ff4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_position_liquidated_arbitrum_sepolia_contract"], "alias": "not_null_perp_position_liquidated_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": 1734109932.202305, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_block_timestamp.9c42b4a7ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_739b45baf575a171b7cd98a6a9ac3536.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_sepolia_block_timestamp.9c42b4a7ff", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_position_liquidated_arbitrum_sepolia_block_timestamp"], "alias": "not_null_perp_position_liquida_739b45baf575a171b7cd98a6a9ac3536", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_739b45baf575a171b7cd98a6a9ac3536", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_739b45baf575a171b7cd98a6a9ac3536"}, "created_at": 1734109932.203998, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_739b45baf575a171b7cd98a6a9ac3536\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_position_liquida_739b45baf575a171b7cd98a6a9ac3536.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_account_liquidation_attempt_arbitrum_sepolia_id.2e20bbf35e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_liquidation_attempt_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_liquidation_attempt_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_liquidation_attempt_arbitrum_sepolia_id.2e20bbf35e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "unique_perp_account_liquidation_attempt_arbitrum_sepolia_id"], "alias": "unique_perp_account_liquidation_attempt_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": 1734109932.2057567, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_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\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_id.16e1d1d778": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_id.16e1d1d778", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_id"], "alias": "not_null_perp_account_liquidation_attempt_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": 1734109932.2074082, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_account_id.d617ede5c8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_3dd283f5466cdfcb95405360b582115e.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_account_id.d617ede5c8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_account_id"], "alias": "not_null_perp_account_liquidat_3dd283f5466cdfcb95405360b582115e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_3dd283f5466cdfcb95405360b582115e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_3dd283f5466cdfcb95405360b582115e"}, "created_at": 1734109932.2090428, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_3dd283f5466cdfcb95405360b582115e\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_3dd283f5466cdfcb95405360b582115e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_sepolia_account_id__True__0.911c056a18": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__5613f7533d78c85c288c84f20185df99.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_sepolia_account_id__True__0.911c056a18", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__5613f7533d78c85c288c84f20185df99", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__5613f7533d78c85c288c84f20185df99", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__5613f7533d78c85c288c84f20185df99"}, "created_at": 1734109932.2106853, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__5613f7533d78c85c288c84f20185df99\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__5613f7533d78c85c288c84f20185df99.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_block_number.14f09936e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_3f83a5d4a73ffa8d0cc37f93acdc643b.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_block_number.14f09936e9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_block_number"], "alias": "not_null_perp_account_liquidat_3f83a5d4a73ffa8d0cc37f93acdc643b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_3f83a5d4a73ffa8d0cc37f93acdc643b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_3f83a5d4a73ffa8d0cc37f93acdc643b"}, "created_at": 1734109932.214895, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_3f83a5d4a73ffa8d0cc37f93acdc643b\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_3f83a5d4a73ffa8d0cc37f93acdc643b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_reward.22a482d5b4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_f0660c273c9e3016481fa8ee86d5cdfe.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_reward.22a482d5b4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_reward"], "alias": "not_null_perp_account_liquidat_f0660c273c9e3016481fa8ee86d5cdfe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_f0660c273c9e3016481fa8ee86d5cdfe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_f0660c273c9e3016481fa8ee86d5cdfe"}, "created_at": 1734109932.2165852, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_f0660c273c9e3016481fa8ee86d5cdfe\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_f0660c273c9e3016481fa8ee86d5cdfe.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect reward\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_sepolia_reward__True__0.70c89658c8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_sepolia_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__bf6c44d76533302b752a71eef70b84b4.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_sepolia_reward__True__0.70c89658c8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_sepolia_reward__True__0"], "alias": "dbt_utils_accepted_range_perp__bf6c44d76533302b752a71eef70b84b4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__bf6c44d76533302b752a71eef70b84b4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__bf6c44d76533302b752a71eef70b84b4"}, "created_at": 1734109932.2182283, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__bf6c44d76533302b752a71eef70b84b4\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__bf6c44d76533302b752a71eef70b84b4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_block_timestamp.070792744c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_0f615ead2241f2b0da1c113cdd3bdc9b.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_block_timestamp.070792744c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_block_timestamp"], "alias": "not_null_perp_account_liquidat_0f615ead2241f2b0da1c113cdd3bdc9b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_0f615ead2241f2b0da1c113cdd3bdc9b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_0f615ead2241f2b0da1c113cdd3bdc9b"}, "created_at": 1734109932.2224383, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_0f615ead2241f2b0da1c113cdd3bdc9b\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_0f615ead2241f2b0da1c113cdd3bdc9b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_contract.4fee3320ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_318add04d7994e5ef8e694ee7f9d4972.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_contract.4fee3320ac", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_contract"], "alias": "not_null_perp_account_liquidat_318add04d7994e5ef8e694ee7f9d4972", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_318add04d7994e5ef8e694ee7f9d4972", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_318add04d7994e5ef8e694ee7f9d4972"}, "created_at": 1734109932.2241037, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_318add04d7994e5ef8e694ee7f9d4972\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_318add04d7994e5ef8e694ee7f9d4972.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_event_name.531495d577": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_8fa9cf93c86dd714afbb634c39685df7.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_event_name.531495d577", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_event_name"], "alias": "not_null_perp_account_liquidat_8fa9cf93c86dd714afbb634c39685df7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_8fa9cf93c86dd714afbb634c39685df7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_8fa9cf93c86dd714afbb634c39685df7"}, "created_at": 1734109932.2257364, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_8fa9cf93c86dd714afbb634c39685df7\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_8fa9cf93c86dd714afbb634c39685df7.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_liquidation_attempt_arbitrum_sepolia_event_name__AccountLiquidationAttempt.a9fed061a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_liquidation_attempt_arbitrum_sepolia_event_name__AccountLiquidationAttempt", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_l_d9885725f39442c0ed58641d9d527da3.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_liquidation_attempt_arbitrum_sepolia_event_name__AccountLiquidationAttempt.a9fed061a2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "accepted_values_perp_account_liquidation_attempt_arbitrum_sepolia_event_name__AccountLiquidationAttempt"], "alias": "accepted_values_perp_account_l_d9885725f39442c0ed58641d9d527da3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_l_d9885725f39442c0ed58641d9d527da3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_d9885725f39442c0ed58641d9d527da3"}, "created_at": 1734109932.2280405, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_l_d9885725f39442c0ed58641d9d527da3\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_account_l_d9885725f39442c0ed58641d9d527da3.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountLiquidationAttempt"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_transaction_hash.e3f511ad1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_0ba1c6ff5151a049c72e320b2adc4e82.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_transaction_hash.e3f511ad1c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_transaction_hash"], "alias": "not_null_perp_account_liquidat_0ba1c6ff5151a049c72e320b2adc4e82", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_0ba1c6ff5151a049c72e320b2adc4e82", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_0ba1c6ff5151a049c72e320b2adc4e82"}, "created_at": 1734109932.2320235, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_0ba1c6ff5151a049c72e320b2adc4e82\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_0ba1c6ff5151a049c72e320b2adc4e82.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_full_liquidation.06f23e5311": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_full_liquidation", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_a56a450b425a1520f3e74082a4598845.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_sepolia_full_liquidation.06f23e5311", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_sepolia_full_liquidation"], "alias": "not_null_perp_account_liquidat_a56a450b425a1520f3e74082a4598845", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_a56a450b425a1520f3e74082a4598845", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_a56a450b425a1520f3e74082a4598845"}, "created_at": 1734109932.2338247, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_a56a450b425a1520f3e74082a4598845\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_account_liquidat_a56a450b425a1520f3e74082a4598845.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect full_liquidation\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_account_liquidation_attempt_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "full_liquidation", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_block_timestamp.04b9f9b01a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modif_2710693ebfae4e4f691e0ec4e1f49dfb.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_block_timestamp.04b9f9b01a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_collateral_modified_arbitrum_sepolia_block_timestamp"], "alias": "not_null_perp_collateral_modif_2710693ebfae4e4f691e0ec4e1f49dfb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_collateral_modif_2710693ebfae4e4f691e0ec4e1f49dfb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_collateral_modif_2710693ebfae4e4f691e0ec4e1f49dfb"}, "created_at": 1734109932.2354932, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_collateral_modif_2710693ebfae4e4f691e0ec4e1f49dfb\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_2710693ebfae4e4f691e0ec4e1f49dfb.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_contract.ee416b6a9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_contract.ee416b6a9d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_collateral_modified_arbitrum_sepolia_contract"], "alias": "not_null_perp_collateral_modified_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": 1734109932.2370906, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_event_name.ce95828591": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_event_name.ce95828591", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_collateral_modified_arbitrum_sepolia_event_name"], "alias": "not_null_perp_collateral_modified_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": 1734109932.2387617, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_collateral_modified_arbitrum_sepolia_event_name__CollateralModified.323c4011f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_collateral_modified_arbitrum_sepolia_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_collatera_cb9df45b62541f92bff2940dac7304b2.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_collateral_modified_arbitrum_sepolia_event_name__CollateralModified.323c4011f3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "accepted_values_perp_collateral_modified_arbitrum_sepolia_event_name__CollateralModified"], "alias": "accepted_values_perp_collatera_cb9df45b62541f92bff2940dac7304b2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_collatera_cb9df45b62541f92bff2940dac7304b2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_cb9df45b62541f92bff2940dac7304b2"}, "created_at": 1734109932.240444, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_collatera_cb9df45b62541f92bff2940dac7304b2\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_collatera_cb9df45b62541f92bff2940dac7304b2.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_collateral_modified_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_block_number.c21551e453": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_block_number.c21551e453", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_collateral_modified_arbitrum_sepolia_block_number"], "alias": "not_null_perp_collateral_modified_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": 1734109932.2445447, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_collateral_id.49ab2aa3b1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_sepolia_collateral_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modif_c70c41a0d6510c1221264be01281233c.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_collateral_id.49ab2aa3b1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_collateral_modified_arbitrum_sepolia_collateral_id"], "alias": "not_null_perp_collateral_modif_c70c41a0d6510c1221264be01281233c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_collateral_modif_c70c41a0d6510c1221264be01281233c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_collateral_modif_c70c41a0d6510c1221264be01281233c"}, "created_at": 1734109932.2461786, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_collateral_modif_c70c41a0d6510c1221264be01281233c\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_c70c41a0d6510c1221264be01281233c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_arbitrum_sepolia\"\nwhere collateral_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_id", "file_key_name": "models.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_sepolia_collateral_id__True__0.186c371865": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_arbitrum_sepolia_collateral_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__499992ef9e7bdb4cf5e519a22b0e89c3.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_sepolia_collateral_id__True__0.186c371865", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_collateral_modified_arbitrum_sepolia_collateral_id__True__0"], "alias": "dbt_utils_accepted_range_perp__499992ef9e7bdb4cf5e519a22b0e89c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__499992ef9e7bdb4cf5e519a22b0e89c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__499992ef9e7bdb4cf5e519a22b0e89c3"}, "created_at": 1734109932.2478218, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__499992ef9e7bdb4cf5e519a22b0e89c3\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__499992ef9e7bdb4cf5e519a22b0e89c3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_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_id >= 0\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_id", "file_key_name": "models.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.unique_perp_collateral_modified_arbitrum_sepolia_id.21db106d40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_collateral_modified_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_collateral_modified_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_collateral_modified_arbitrum_sepolia_id.21db106d40", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "unique_perp_collateral_modified_arbitrum_sepolia_id"], "alias": "unique_perp_collateral_modified_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": 1734109932.2519903, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_collateral_modified_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\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_id.f31b903360": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_id.f31b903360", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_collateral_modified_arbitrum_sepolia_id"], "alias": "not_null_perp_collateral_modified_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": 1734109932.2536404, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_sender.a1f5df03f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_sender.a1f5df03f5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_collateral_modified_arbitrum_sepolia_sender"], "alias": "not_null_perp_collateral_modified_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": 1734109932.2554464, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_account_id.c371b3cb29": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_account_id.c371b3cb29", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_collateral_modified_arbitrum_sepolia_account_id"], "alias": "not_null_perp_collateral_modified_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": 1734109932.2570753, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_sepolia_account_id__True__0.57dea412fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__4343a687482bcbebaa01bdac73d4dcb6.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_sepolia_account_id__True__0.57dea412fc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_collateral_modified_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__4343a687482bcbebaa01bdac73d4dcb6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__4343a687482bcbebaa01bdac73d4dcb6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__4343a687482bcbebaa01bdac73d4dcb6"}, "created_at": 1734109932.258755, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__4343a687482bcbebaa01bdac73d4dcb6\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4343a687482bcbebaa01bdac73d4dcb6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_transaction_hash.bdc432f4e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modif_d1d54802ea5fd8909dc97dca566beba5.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_sepolia_transaction_hash.bdc432f4e3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_collateral_modified_arbitrum_sepolia_transaction_hash"], "alias": "not_null_perp_collateral_modif_d1d54802ea5fd8909dc97dca566beba5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_collateral_modif_d1d54802ea5fd8909dc97dca566beba5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_collateral_modif_d1d54802ea5fd8909dc97dca566beba5"}, "created_at": 1734109932.2629666, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_collateral_modif_d1d54802ea5fd8909dc97dca566beba5\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_collateral_modif_d1d54802ea5fd8909dc97dca566beba5.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_block_timestamp.3d7306e577": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_b2b7543b39b1e2dea7311abd47aef3d7.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_block_timestamp.3d7306e577", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_previous_order_expired_arbitrum_sepolia_block_timestamp"], "alias": "not_null_perp_previous_order_e_b2b7543b39b1e2dea7311abd47aef3d7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_b2b7543b39b1e2dea7311abd47aef3d7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b2b7543b39b1e2dea7311abd47aef3d7"}, "created_at": 1734109932.2646234, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_b2b7543b39b1e2dea7311abd47aef3d7\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_b2b7543b39b1e2dea7311abd47aef3d7.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_previous_order_expired_arbitrum_sepolia_id.a6e03f8ffa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_previous_order_expired_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_previous_order_expired_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_previous_order_expired_arbitrum_sepolia_id.a6e03f8ffa", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "unique_perp_previous_order_expired_arbitrum_sepolia_id"], "alias": "unique_perp_previous_order_expired_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": 1734109932.266232, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_previous_order_expired_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\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_id.0d3172a155": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_id.0d3172a155", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_previous_order_expired_arbitrum_sepolia_id"], "alias": "not_null_perp_previous_order_expired_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": 1734109932.2678814, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_block_number.1bfe765de5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_6070ca257bd7603da2d125674f15be5d.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_block_number.1bfe765de5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_previous_order_expired_arbitrum_sepolia_block_number"], "alias": "not_null_perp_previous_order_e_6070ca257bd7603da2d125674f15be5d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_6070ca257bd7603da2d125674f15be5d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_6070ca257bd7603da2d125674f15be5d"}, "created_at": 1734109932.2696176, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_6070ca257bd7603da2d125674f15be5d\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_6070ca257bd7603da2d125674f15be5d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_market_id.7e2a2424c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_market_id.7e2a2424c3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_previous_order_expired_arbitrum_sepolia_market_id"], "alias": "not_null_perp_previous_order_expired_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": 1734109932.271313, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_sepolia_market_id__True__0.32d6a1d4a7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__1dfcfd7910528cb7829bb3717f7cd971.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_sepolia_market_id__True__0.32d6a1d4a7", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__1dfcfd7910528cb7829bb3717f7cd971", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__1dfcfd7910528cb7829bb3717f7cd971", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__1dfcfd7910528cb7829bb3717f7cd971"}, "created_at": 1734109932.2729542, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__1dfcfd7910528cb7829bb3717f7cd971\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1dfcfd7910528cb7829bb3717f7cd971.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_event_name.c814e3bcf9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_b5fcbb15c7ae3b7764487da1fced4fac.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_event_name.c814e3bcf9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_previous_order_expired_arbitrum_sepolia_event_name"], "alias": "not_null_perp_previous_order_e_b5fcbb15c7ae3b7764487da1fced4fac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_b5fcbb15c7ae3b7764487da1fced4fac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_b5fcbb15c7ae3b7764487da1fced4fac"}, "created_at": 1734109932.2771583, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_b5fcbb15c7ae3b7764487da1fced4fac\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_b5fcbb15c7ae3b7764487da1fced4fac.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_previous_order_expired_arbitrum_sepolia_event_name__PreviousOrderExpired.2b0854c0bd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_previous_order_expired_arbitrum_sepolia_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_previous__788fa3e6cd6663c1f0abdd929543acf9.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_previous_order_expired_arbitrum_sepolia_event_name__PreviousOrderExpired.2b0854c0bd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "accepted_values_perp_previous_order_expired_arbitrum_sepolia_event_name__PreviousOrderExpired"], "alias": "accepted_values_perp_previous__788fa3e6cd6663c1f0abdd929543acf9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_previous__788fa3e6cd6663c1f0abdd929543acf9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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__788fa3e6cd6663c1f0abdd929543acf9"}, "created_at": 1734109932.2788353, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_previous__788fa3e6cd6663c1f0abdd929543acf9\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_previous__788fa3e6cd6663c1f0abdd929543acf9.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_previous_order_expired_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_transaction_hash.5f4b3fa383": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_fb0442d8a2e499bd44f9c05e96e8636f.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_transaction_hash.5f4b3fa383", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_previous_order_expired_arbitrum_sepolia_transaction_hash"], "alias": "not_null_perp_previous_order_e_fb0442d8a2e499bd44f9c05e96e8636f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_fb0442d8a2e499bd44f9c05e96e8636f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_fb0442d8a2e499bd44f9c05e96e8636f"}, "created_at": 1734109932.283036, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_fb0442d8a2e499bd44f9c05e96e8636f\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_fb0442d8a2e499bd44f9c05e96e8636f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_account_id.3387518ced": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_fd3adb5e7b4a397d9746fe4cc80eec6c.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_account_id.3387518ced", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_previous_order_expired_arbitrum_sepolia_account_id"], "alias": "not_null_perp_previous_order_e_fd3adb5e7b4a397d9746fe4cc80eec6c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_fd3adb5e7b4a397d9746fe4cc80eec6c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_fd3adb5e7b4a397d9746fe4cc80eec6c"}, "created_at": 1734109932.2846875, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_fd3adb5e7b4a397d9746fe4cc80eec6c\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_e_fd3adb5e7b4a397d9746fe4cc80eec6c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_sepolia_account_id__True__0.a0e11cc082": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__4e4d41e1f6f1f77dff0f426a75b2733a.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_sepolia_account_id__True__0.a0e11cc082", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__4e4d41e1f6f1f77dff0f426a75b2733a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__4e4d41e1f6f1f77dff0f426a75b2733a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__4e4d41e1f6f1f77dff0f426a75b2733a"}, "created_at": 1734109932.2863257, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__4e4d41e1f6f1f77dff0f426a75b2733a\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4e4d41e1f6f1f77dff0f426a75b2733a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_contract.9dc88c3682": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_sepolia_contract.9dc88c3682", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_previous_order_expired_arbitrum_sepolia_contract"], "alias": "not_null_perp_previous_order_expired_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": 1734109932.2905276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_market_name.c93aa611fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_sepolia_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_sepolia_market_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_market_name.c93aa611fd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_created_arbitrum_sepolia_market_name"], "alias": "not_null_perp_market_created_arbitrum_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": 1734109932.2921858, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_created_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_created_arbitrum_sepolia_id.bff5e22d8a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_created_arbitrum_sepolia_id.bff5e22d8a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "unique_perp_market_created_arbitrum_sepolia_id"], "alias": "unique_perp_market_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": 1734109932.2938032, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_market_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\".\"perp_market_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.perp_market_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_id.fad8f3147a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_id.fad8f3147a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_created_arbitrum_sepolia_id"], "alias": "not_null_perp_market_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": 1734109932.2954466, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_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.perp_market_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_market_symbol.9afbd894dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_sepolia_market_symbol.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_market_symbol.9afbd894dd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_created_arbitrum_sepolia_market_symbol"], "alias": "not_null_perp_market_created_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": 1734109932.2972047, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_created_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.perp_market_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_event_name.d7dd655280": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_event_name.d7dd655280", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_created_arbitrum_sepolia_event_name"], "alias": "not_null_perp_market_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": 1734109932.2988267, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_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.perp_market_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_created_arbitrum_sepolia_event_name__MarketCreated.ef5c6685e4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_created_arbitrum_sepolia_event_name__MarketCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_cr_ae20ec9e25ac78bba8b94cc2cb4a82ba.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_created_arbitrum_sepolia_event_name__MarketCreated.ef5c6685e4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "accepted_values_perp_market_created_arbitrum_sepolia_event_name__MarketCreated"], "alias": "accepted_values_perp_market_cr_ae20ec9e25ac78bba8b94cc2cb4a82ba", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_cr_ae20ec9e25ac78bba8b94cc2cb4a82ba", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_ae20ec9e25ac78bba8b94cc2cb4a82ba"}, "created_at": 1734109932.3004527, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_cr_ae20ec9e25ac78bba8b94cc2cb4a82ba\") }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_market_cr_ae20ec9e25ac78bba8b94cc2cb4a82ba.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_market_created_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_block_number.8b50cb58ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_block_number.8b50cb58ff", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_created_arbitrum_sepolia_block_number"], "alias": "not_null_perp_market_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": 1734109932.3045943, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_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.perp_market_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_block_timestamp.22256d5ced": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_block_timestamp.22256d5ced", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_created_arbitrum_sepolia_block_timestamp"], "alias": "not_null_perp_market_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": 1734109932.3062403, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_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.perp_market_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_contract.dd490d10f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_contract.dd490d10f1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_created_arbitrum_sepolia_contract"], "alias": "not_null_perp_market_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": 1734109932.3078952, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_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.perp_market_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_perps_market_id.6c72e612a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_sepolia_perps_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_sepolia_perps_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_perps_market_id.6c72e612a4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_created_arbitrum_sepolia_perps_market_id"], "alias": "not_null_perp_market_created_arbitrum_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": 1734109932.310032, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_perps_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect perps_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_created_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "perps_market_id", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_created_arbitrum_sepolia_perps_market_id__True__0.257f31ec2b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_created_arbitrum_sepolia_perps_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__8d14d0080bb7657b68f877ab7b35838a.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_created_arbitrum_sepolia_perps_market_id__True__0.257f31ec2b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_created_arbitrum_sepolia_perps_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__8d14d0080bb7657b68f877ab7b35838a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__8d14d0080bb7657b68f877ab7b35838a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__8d14d0080bb7657b68f877ab7b35838a"}, "created_at": 1734109932.3116846, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__8d14d0080bb7657b68f877ab7b35838a\") }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__8d14d0080bb7657b68f877ab7b35838a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_transaction_hash.0466ce137d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_sepolia_transaction_hash.0466ce137d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_market_created_arbitrum_sepolia_transaction_hash"], "alias": "not_null_perp_market_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": 1734109932.315737, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_market_created_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_market_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.perp_market_created_arbitrum_sepolia", "attached_node": "model.synthetix.perp_market_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_event_name.47398c58cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_event_name.47398c58cd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_charged_arbitrum_sepolia_event_name"], "alias": "not_null_perp_interest_charged_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": 1734109932.3175652, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_charged_arbitrum_sepolia_event_name__InterestCharged.bec7912ee9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_charged_arbitrum_sepolia_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__2abf43b97623c31ec2bf49a478918d02.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_charged_arbitrum_sepolia_event_name__InterestCharged.bec7912ee9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "accepted_values_perp_interest_charged_arbitrum_sepolia_event_name__InterestCharged"], "alias": "accepted_values_perp_interest__2abf43b97623c31ec2bf49a478918d02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__2abf43b97623c31ec2bf49a478918d02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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__2abf43b97623c31ec2bf49a478918d02"}, "created_at": 1734109932.3192408, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__2abf43b97623c31ec2bf49a478918d02\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_interest__2abf43b97623c31ec2bf49a478918d02.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_interest_charged_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_contract.7ba1d62fc1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_contract.7ba1d62fc1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_charged_arbitrum_sepolia_contract"], "alias": "not_null_perp_interest_charged_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": 1734109932.3233738, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_transaction_hash.b7c3eef8f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_237151bd45455c299eb93a73345193b6.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_transaction_hash.b7c3eef8f3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_charged_arbitrum_sepolia_transaction_hash"], "alias": "not_null_perp_interest_charged_237151bd45455c299eb93a73345193b6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_charged_237151bd45455c299eb93a73345193b6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_charged_237151bd45455c299eb93a73345193b6"}, "created_at": 1734109932.3250382, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_charged_237151bd45455c299eb93a73345193b6\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_237151bd45455c299eb93a73345193b6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_block_timestamp.9b89e6d1ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_block_timestamp.9b89e6d1ae", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_charged_arbitrum_sepolia_block_timestamp"], "alias": "not_null_perp_interest_charged_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": 1734109932.326678, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_charged_arbitrum_sepolia_id.cba3f293a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_charged_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_charged_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_charged_arbitrum_sepolia_id.cba3f293a0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "unique_perp_interest_charged_arbitrum_sepolia_id"], "alias": "unique_perp_interest_charged_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": 1734109932.3283052, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_interest_charged_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\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_id.1c700fc86b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_id.1c700fc86b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_charged_arbitrum_sepolia_id"], "alias": "not_null_perp_interest_charged_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": 1734109932.3299165, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_block_number.78e1c8865d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_block_number.78e1c8865d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_charged_arbitrum_sepolia_block_number"], "alias": "not_null_perp_interest_charged_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": 1734109932.3316467, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_account_id.a1ec08f106": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_sepolia_account_id.a1ec08f106", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_charged_arbitrum_sepolia_account_id"], "alias": "not_null_perp_interest_charged_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": 1734109932.333253, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_charged_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_arbitrum_sepolia_account_id__True__0.cc700c2056": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_charged_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__564dcbe5f7841fb0f731d493a85d4213.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_arbitrum_sepolia_account_id__True__0.cc700c2056", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_interest_charged_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__564dcbe5f7841fb0f731d493a85d4213", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__564dcbe5f7841fb0f731d493a85d4213", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__564dcbe5f7841fb0f731d493a85d4213"}, "created_at": 1734109932.3349006, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__564dcbe5f7841fb0f731d493a85d4213\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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.perp_interest_charged_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__564dcbe5f7841fb0f731d493a85d4213.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_block_timestamp.b58ae2ae86": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_c751a4538dbebe7628fa598424d2a66a.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_block_timestamp.b58ae2ae86", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_rate_updated_arbitrum_sepolia_block_timestamp"], "alias": "not_null_perp_interest_rate_up_c751a4538dbebe7628fa598424d2a66a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_c751a4538dbebe7628fa598424d2a66a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_c751a4538dbebe7628fa598424d2a66a"}, "created_at": 1734109932.3390777, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_c751a4538dbebe7628fa598424d2a66a\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_c751a4538dbebe7628fa598424d2a66a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_event_name.c050b16b14": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_event_name.c050b16b14", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_rate_updated_arbitrum_sepolia_event_name"], "alias": "not_null_perp_interest_rate_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": 1734109932.3407023, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_rate_updated_arbitrum_sepolia_event_name__InterestRateUpdated.80b23fe264": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_rate_updated_arbitrum_sepolia_event_name__InterestRateUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__7e084fe2d561c07efa0fa9dae11de573.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_rate_updated_arbitrum_sepolia_event_name__InterestRateUpdated.80b23fe264", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "accepted_values_perp_interest_rate_updated_arbitrum_sepolia_event_name__InterestRateUpdated"], "alias": "accepted_values_perp_interest__7e084fe2d561c07efa0fa9dae11de573", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__7e084fe2d561c07efa0fa9dae11de573", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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__7e084fe2d561c07efa0fa9dae11de573"}, "created_at": 1734109932.3423297, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__7e084fe2d561c07efa0fa9dae11de573\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/accepted_values_perp_interest__7e084fe2d561c07efa0fa9dae11de573.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_interest_rate_updated_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestRateUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_transaction_hash.2ffe4c98dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_29c9dd904994b6dd5d0a6259daf677ce.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_transaction_hash.2ffe4c98dd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_rate_updated_arbitrum_sepolia_transaction_hash"], "alias": "not_null_perp_interest_rate_up_29c9dd904994b6dd5d0a6259daf677ce", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_29c9dd904994b6dd5d0a6259daf677ce", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_29c9dd904994b6dd5d0a6259daf677ce"}, "created_at": 1734109932.3464558, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_29c9dd904994b6dd5d0a6259daf677ce\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_29c9dd904994b6dd5d0a6259daf677ce.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_interest_rate.2aa5f0de8e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_sepolia_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_411db81219abefdf0b12687adf6bc6ce.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_interest_rate.2aa5f0de8e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_rate_updated_arbitrum_sepolia_interest_rate"], "alias": "not_null_perp_interest_rate_up_411db81219abefdf0b12687adf6bc6ce", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_411db81219abefdf0b12687adf6bc6ce", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_411db81219abefdf0b12687adf6bc6ce"}, "created_at": 1734109932.3481085, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_411db81219abefdf0b12687adf6bc6ce\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_411db81219abefdf0b12687adf6bc6ce.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_rate_updated_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_sepolia_interest_rate__True__0.4bdf5b571d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_sepolia_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__b6fa98a827e03cebbecaff5f6a45f10c.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_sepolia_interest_rate__True__0.4bdf5b571d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_sepolia_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__b6fa98a827e03cebbecaff5f6a45f10c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__b6fa98a827e03cebbecaff5f6a45f10c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__b6fa98a827e03cebbecaff5f6a45f10c"}, "created_at": 1734109932.3497472, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__b6fa98a827e03cebbecaff5f6a45f10c\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b6fa98a827e03cebbecaff5f6a45f10c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_rate_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_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_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_block_number.e587994ace": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_35694be240f7f6287a9998455367ad56.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_block_number.e587994ace", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_rate_updated_arbitrum_sepolia_block_number"], "alias": "not_null_perp_interest_rate_up_35694be240f7f6287a9998455367ad56", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_35694be240f7f6287a9998455367ad56", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_35694be240f7f6287a9998455367ad56"}, "created_at": 1734109932.3539467, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_35694be240f7f6287a9998455367ad56\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_35694be240f7f6287a9998455367ad56.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_rate_updated_arbitrum_sepolia_id.e47b087fd4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_rate_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_rate_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_rate_updated_arbitrum_sepolia_id.e47b087fd4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "unique_perp_interest_rate_updated_arbitrum_sepolia_id"], "alias": "unique_perp_interest_rate_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": 1734109932.3556204, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_arbitrum_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_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/unique_perp_interest_rate_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\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_id.4c2bfc9fe7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_id.4c2bfc9fe7", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_rate_updated_arbitrum_sepolia_id"], "alias": "not_null_perp_interest_rate_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": 1734109932.3572435, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_contract.42f86c5d97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_contract.42f86c5d97", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_rate_updated_arbitrum_sepolia_contract"], "alias": "not_null_perp_interest_rate_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": 1734109932.3590574, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_super_market_id.3b90bcba60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_sepolia_super_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_27e94ced24fc50ea1c35eba1f0f29a88.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_sepolia_super_market_id.3b90bcba60", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "not_null_perp_interest_rate_updated_arbitrum_sepolia_super_market_id"], "alias": "not_null_perp_interest_rate_up_27e94ced24fc50ea1c35eba1f0f29a88", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_27e94ced24fc50ea1c35eba1f0f29a88", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_27e94ced24fc50ea1c35eba1f0f29a88"}, "created_at": 1734109932.3606908, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_27e94ced24fc50ea1c35eba1f0f29a88\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_27e94ced24fc50ea1c35eba1f0f29a88.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect super_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_rate_updated_arbitrum_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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "super_market_id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_sepolia_super_market_id__True__0.04014a3a13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_sepolia_super_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__4b8943cb76f3080333c8707a3b542a61.sql", "original_file_path": "models/raw/arbitrum/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_sepolia_super_market_id__True__0.04014a3a13", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_sepolia_super_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__4b8943cb76f3080333c8707a3b542a61", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__4b8943cb76f3080333c8707a3b542a61", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__4b8943cb76f3080333c8707a3b542a61"}, "created_at": 1734109932.362303, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__4b8943cb76f3080333c8707a3b542a61\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__4b8943cb76f3080333c8707a3b542a61.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"perp_interest_rate_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 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_arbitrum_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_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_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": 1734109932.3919437, "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": 1734109932.3941116, "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": 1734109932.3957763, "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": 1734109932.476483, "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": 1734109932.4784408, "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": 1734109932.4801261, "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": 1734109932.4817789, "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": 1734109932.4835513, "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": 1734109932.4851832, "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": 1734109932.4868631, "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": 1734109932.491443, "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": 1734109932.4931693, "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": 1734109932.4948359, "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": 1734109932.4965987, "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": 1734109932.4982288, "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": 1734109932.4999068, "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": 1734109932.5042346, "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": 1734109932.5058599, "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": 1734109932.5075414, "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": 1734109932.5117822, "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": 1734109932.5134366, "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": 1734109932.5150716, "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": 1734109932.5168986, "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": 1734109932.5185983, "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": 1734109932.522907, "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": 1734109932.5245574, "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": 1734109932.526225, "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": 1734109932.5304892, "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": 1734109932.532224, "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": 1734109932.536391, "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": 1734109932.5380347, "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": 1734109932.5396855, "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": 1734109932.541316, "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": 1734109932.543073, "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": 1734109932.5447094, "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": 1734109932.5488825, "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": 1734109932.5505574, "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": 1734109932.552286, "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": 1734109932.5569584, "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": 1734109932.5586731, "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": 1734109932.5603242, "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": 1734109932.5619545, "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": 1734109932.5637372, "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": 1734109932.5678444, "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": 1734109932.5697036, "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": 1734109932.5714028, "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": 1734109932.5730548, "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": 1734109932.574744, "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": 1734109932.576453, "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": 1734109932.5806737, "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": 1734109932.5823286, "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": 1734109932.5840304, "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": 1734109932.5882287, "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": 1734109932.5898752, "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": 1734109932.5917134, "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": 1734109932.5933495, "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": 1734109932.5950432, "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": 1734109932.599212, "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": 1734109932.600928, "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": 1734109932.6051352, "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": 1734109932.6068203, "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": 1734109932.608451, "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": 1734109932.6100578, "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": 1734109932.6117995, "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": 1734109932.613519, "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": 1734109932.6152, "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": 1734109932.61939, "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": 1734109932.6210546, "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": 1734109932.6227093, "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": 1734109932.624333, "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": 1734109932.6284914, "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": 1734109932.6301763, "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": 1734109932.6320298, "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": 1734109932.6361227, "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": 1734109932.6377788, "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": 1734109932.640037, "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": 1734109932.6416671, "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": 1734109932.6433144, "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": 1734109932.6449184, "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": 1734109932.646675, "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": 1734109932.648331, "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": 1734109932.652575, "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": 1734109932.6542344, "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": 1734109932.658291, "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": 1734109932.6601532, "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": 1734109932.661778, "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": 1734109932.6660206, "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": 1734109932.6677139, "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": 1734109932.6693506, "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": 1734109932.670999, "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": 1734109932.6726294, "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": 1734109932.6768174, "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": 1734109932.6784825, "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": 1734109932.6802757, "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": 1734109932.6819198, "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": 1734109932.6835623, "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": 1734109932.6851954, "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": 1734109932.6868167, "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": 1734109932.688562, "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": 1734109932.6901922, "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": 1734109932.6918647, "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": 1734109932.6934946, "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": 1734109932.6976564, "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": 1734109932.6993651, "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": 1734109932.7010114, "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": 1734109932.7028, "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": 1734109932.7044258, "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": 1734109932.7060442, "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": 1734109932.7076943, "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": 1734109932.7093117, "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": 1734109932.7110438, "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": 1734109932.7126918, "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": 1734109932.7168756, "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": 1734109932.7185822, "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": 1734109932.7202575, "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": 1734109932.7247496, "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": 1734109932.7264173, "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": 1734109932.7281027, "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": 1734109932.7323334, "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": 1734109932.7339914, "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": 1734109932.7356715, "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": 1734109932.73979, "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": 1734109932.7414212, "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": 1734109932.7431126, "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": 1734109932.7473912, "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": 1734109932.7490602, "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": 1734109932.7507372, "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": 1734109932.7525177, "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": 1734109932.7541223, "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": 1734109932.7557757, "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": 1734109932.7599993, "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": 1734109932.7616978, "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": 1734109932.7634013, "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": 1734109932.7651472, "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": 1734109932.7668257, "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": 1734109932.7708592, "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": 1734109932.7727232, "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": 1734109932.776765, "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": 1734109932.7786226, "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": 1734109932.780267, "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": 1734109932.781902, "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": 1734109932.7835443, "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": 1734109932.7851555, "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": 1734109932.7869365, "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": 1734109932.7910385, "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": 1734109932.792886, "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": 1734109932.7945724, "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": 1734109932.7987974, "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": 1734109932.8004515, "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": 1734109932.8044708, "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": 1734109932.8065934, "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": 1734109932.8106406, "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": 1734109932.8124678, "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": 1734109932.8164608, "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": 1734109932.818093, "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": 1734109932.819931, "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": 1734109932.8215683, "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": 1734109932.823207, "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": 1734109932.8273928, "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": 1734109932.8290324, "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": 1734109932.8306892, "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": 1734109932.832439, "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": 1734109932.8340764, "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": 1734109932.8357425, "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": 1734109932.8373744, "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": 1734109932.841545, "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": 1734109932.8432028, "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": 1734109932.8448255, "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": 1734109932.8489976, "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": 1734109932.8506806, "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": 1734109932.852311, "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": 1734109932.854042, "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": 1734109932.8556786, "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": 1734109932.857276, "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": 1734109932.858932, "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": 1734109932.8631172, "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": 1734109932.864783, "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": 1734109932.8689837, "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": 1734109932.8706756, "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": 1734109932.8723285, "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": 1734109932.8739634, "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": 1734109932.8757374, "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": 1734109932.877388, "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": 1734109932.8816366, "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": 1734109932.8833516, "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": 1734109932.8878558, "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": 1734109932.8895092, "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": 1734109932.8911629, "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": 1734109932.8927593, "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": 1734109932.8943632, "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": 1734109932.8985338, "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": 1734109932.9001763, "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": 1734109932.9019477, "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": 1734109932.903608, "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": 1734109932.9052258, "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": 1734109932.906849, "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": 1734109932.908451, "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": 1734109932.9101758, "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": 1734109932.9147615, "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": 1734109932.9165947, "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": 1734109932.9182513, "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": 1734109932.92231, "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": 1734109932.9241593, "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": 1734109932.9281964, "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": 1734109932.9300144, "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": 1734109932.931732, "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": 1734109932.9333608, "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": 1734109932.9350226, "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": 1734109932.9392073, "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": 1734109932.9408574, "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": 1734109932.942486, "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_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": 1734109932.945349, "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": 1734109932.9470704, "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": 1734109932.9487271, "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_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": 1734109932.967057, "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": 1734109932.9687278, "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": 1734109932.970831, "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": 1734109932.9725106, "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": 1734109932.9765334, "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": 1734109932.9783664, "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": 1734109932.9800336, "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": 1734109932.9816527, "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": 1734109932.9833355, "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": 1734109932.9875672, "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": 1734109932.9892318, "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": 1734109932.9909022, "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": 1734109932.9927154, "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": 1734109932.9968705, "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": 1734109932.9987583, "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": 1734109933.000442, "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": 1734109933.0044966, "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": 1734109933.0063405, "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": 1734109933.008095, "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": 1734109933.0097468, "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": 1734109933.011424, "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": 1734109933.0131545, "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": 1734109933.0148234, "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": 1734109933.016458, "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": 1734109933.0181031, "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": 1734109933.0197904, "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": 1734109933.0240002, "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": 1734109933.0256755, "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": 1734109933.0298798, "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": 1734109933.0315807, "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": 1734109933.0358245, "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": 1734109933.0375118, "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": 1734109933.0416937, "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": 1734109933.043383, "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": 1734109933.0450437, "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": 1734109933.046685, "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": 1734109933.0484204, "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": 1734109933.0500438, "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": 1734109933.0517678, "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": 1734109933.0534549, "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": 1734109933.0578365, "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": 1734109933.0595198, "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": 1734109933.0636861, "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": 1734109933.0653272, "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": 1734109933.066959, "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": 1734109933.0687232, "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": 1734109933.0703351, "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": 1734109933.0719929, "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": 1734109933.0761447, "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": 1734109933.0777707, "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": 1734109933.0794241, "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": 1734109933.0810146, "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": 1734109933.0827725, "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": 1734109933.0867715, "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": 1734109933.088574, "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": 1734109933.0902135, "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": 1734109933.094233, "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": 1734109933.0960703, "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": 1734109933.0977278, "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": 1734109933.101922, "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": 1734109933.1035972, "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": 1734109933.105248, "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": 1734109933.1068923, "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": 1734109933.1085, "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": 1734109933.1102352, "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": 1734109933.1142776, "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": 1734109933.1161032, "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": 1734109933.1178737, "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": 1734109933.1195807, "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": 1734109933.1237335, "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": 1734109933.1254048, "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": 1734109933.1295784, "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": 1734109933.1312568, "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": 1734109933.1329198, "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": 1734109933.1374333, "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": 1734109933.13909, "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": 1734109933.1407113, "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": 1734109933.1424558, "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": 1734109933.144096, "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": 1734109933.1481576, "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": 1734109933.1500003, "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": 1734109933.1540346, "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": 1734109933.1559017, "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": 1734109933.1599283, "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": 1734109933.1617255, "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": 1734109933.1633902, "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": 1734109933.1650245, "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": 1734109933.1666772, "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": 1734109933.1682887, "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": 1734109933.170009, "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": 1734109933.1716719, "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": 1734109933.175895, "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": 1734109933.1775548, "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": 1734109933.179238, "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": 1734109933.183421, "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": 1734109933.1850648, "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": 1734109933.186729, "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": 1734109933.188361, "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": 1734109933.1925077, "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": 1734109933.1941729, "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": 1734109933.195849, "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": 1734109933.2000272, "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": 1734109933.2016857, "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": 1734109933.2058747, "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": 1734109933.2075849, "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": 1734109933.2117646, "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": 1734109933.2134159, "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": 1734109933.2152522, "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": 1734109933.2173183, "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": 1734109933.218987, "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": 1734109933.2205894, "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": 1734109933.2222097, "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.unique_perp_account_created_arbitrum_mainnet_id.c50800d3e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_created_arbitrum_mainnet_id.c50800d3e3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "unique_perp_account_created_arbitrum_mainnet_id"], "alias": "unique_perp_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": 1734109933.2450109, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_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\".\"perp_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.perp_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_created_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_id.6ebc461a9f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_id.6ebc461a9f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_created_arbitrum_mainnet_id"], "alias": "not_null_perp_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": 1734109933.2467284, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_event_name.9b0f514dfe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_event_name.9b0f514dfe", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_created_arbitrum_mainnet_event_name"], "alias": "not_null_perp_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": 1734109933.2484524, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_created_arbitrum_mainnet_event_name__AccountCreated.e3b8716bf0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_created_arbitrum_mainnet_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_c_ad536fa73a69e172f98a6e8e372642eb.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_created_arbitrum_mainnet_event_name__AccountCreated.e3b8716bf0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "accepted_values_perp_account_created_arbitrum_mainnet_event_name__AccountCreated"], "alias": "accepted_values_perp_account_c_ad536fa73a69e172f98a6e8e372642eb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_c_ad536fa73a69e172f98a6e8e372642eb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_ad536fa73a69e172f98a6e8e372642eb"}, "created_at": 1734109933.250098, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_c_ad536fa73a69e172f98a6e8e372642eb\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_account_c_ad536fa73a69e172f98a6e8e372642eb.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_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.perp_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_created_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_block_number.9d9960063c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_block_number.9d9960063c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_created_arbitrum_mainnet_block_number"], "alias": "not_null_perp_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": 1734109933.2543063, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_block_timestamp.aa150ec309": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_block_timestamp.aa150ec309", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_created_arbitrum_mainnet_block_timestamp"], "alias": "not_null_perp_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": 1734109933.2559636, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_owner.d496ae59c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_mainnet_owner.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_owner.d496ae59c0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_created_arbitrum_mainnet_owner"], "alias": "not_null_perp_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": 1734109933.2575781, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_account_id.6064e6e85b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_account_id.6064e6e85b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_created_arbitrum_mainnet_account_id"], "alias": "not_null_perp_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": 1734109933.2593493, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_created_arbitrum_mainnet_account_id__True__0.976edf0951": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_created_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__4ba9f1a82af203aaf765ea2358992714.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_created_arbitrum_mainnet_account_id__True__0.976edf0951", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_account_created_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__4ba9f1a82af203aaf765ea2358992714", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__4ba9f1a82af203aaf765ea2358992714", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__4ba9f1a82af203aaf765ea2358992714"}, "created_at": 1734109933.2609801, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__4ba9f1a82af203aaf765ea2358992714\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4ba9f1a82af203aaf765ea2358992714.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_created_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_transaction_hash.4458887a25": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_transaction_hash.4458887a25", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_created_arbitrum_mainnet_transaction_hash"], "alias": "not_null_perp_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": 1734109933.2650645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_contract.afb3ec2b69": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_arbitrum_mainnet_contract.afb3ec2b69", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_created_arbitrum_mainnet_contract"], "alias": "not_null_perp_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": 1734109933.2669106, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_created_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_committed_arbitrum_mainnet_id.3373ae33a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_committed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_committed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_committed_arbitrum_mainnet_id.3373ae33a2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "unique_perp_order_committed_arbitrum_mainnet_id"], "alias": "unique_perp_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": 1734109933.2685578, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_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\".\"perp_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.perp_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_id.3d80312645": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_id.3d80312645", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_committed_arbitrum_mainnet_id"], "alias": "not_null_perp_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": 1734109933.2701797, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_block_number.d86120fbb2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_block_number.d86120fbb2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_committed_arbitrum_mainnet_block_number"], "alias": "not_null_perp_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": 1734109933.271829, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_block_timestamp.9450bd7715": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_block_timestamp.9450bd7715", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_committed_arbitrum_mainnet_block_timestamp"], "alias": "not_null_perp_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": 1734109933.2735426, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_transaction_hash.4876108100": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_transaction_hash.4876108100", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_committed_arbitrum_mainnet_transaction_hash"], "alias": "not_null_perp_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": 1734109933.2751672, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_contract.4d5fe85c13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_contract.4d5fe85c13", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_committed_arbitrum_mainnet_contract"], "alias": "not_null_perp_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": 1734109933.2767625, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_event_name.d96a04bc5b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_event_name.d96a04bc5b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_committed_arbitrum_mainnet_event_name"], "alias": "not_null_perp_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": 1734109933.2784047, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_committed_arbitrum_mainnet_event_name__OrderCommitted.80f5b2af2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_committed_arbitrum_mainnet_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_com_1ede6222ca85cf83e2e502d5067ab257.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_committed_arbitrum_mainnet_event_name__OrderCommitted.80f5b2af2f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "accepted_values_perp_order_committed_arbitrum_mainnet_event_name__OrderCommitted"], "alias": "accepted_values_perp_order_com_1ede6222ca85cf83e2e502d5067ab257", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_com_1ede6222ca85cf83e2e502d5067ab257", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_1ede6222ca85cf83e2e502d5067ab257"}, "created_at": 1734109933.2800727, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_com_1ede6222ca85cf83e2e502d5067ab257\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_order_com_1ede6222ca85cf83e2e502d5067ab257.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_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.perp_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_market_id.c88a9b80a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_market_id.c88a9b80a9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_committed_arbitrum_mainnet_market_id"], "alias": "not_null_perp_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": 1734109933.284175, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_mainnet_market_id__True__0.d1559e05f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__e5fa40697cdd09e1992362906d26e089.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_mainnet_market_id__True__0.d1559e05f3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_committed_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__e5fa40697cdd09e1992362906d26e089", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__e5fa40697cdd09e1992362906d26e089", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__e5fa40697cdd09e1992362906d26e089"}, "created_at": 1734109933.285838, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__e5fa40697cdd09e1992362906d26e089\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e5fa40697cdd09e1992362906d26e089.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_account_id.51a7bcf136": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_arbitrum_mainnet_account_id.51a7bcf136", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_committed_arbitrum_mainnet_account_id"], "alias": "not_null_perp_order_committed_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": 1734109933.2900417, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_committed_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_order_committed_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.perp_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_mainnet_account_id__True__0.83d9cf1359": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__58f8a3f97753beeb17f6aee7f5f641e5.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_arbitrum_mainnet_account_id__True__0.83d9cf1359", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_committed_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__58f8a3f97753beeb17f6aee7f5f641e5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__58f8a3f97753beeb17f6aee7f5f641e5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__58f8a3f97753beeb17f6aee7f5f641e5"}, "created_at": 1734109933.2917259, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__58f8a3f97753beeb17f6aee7f5f641e5\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__58f8a3f97753beeb17f6aee7f5f641e5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_committed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_contract.deb2106eaa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_contract.deb2106eaa", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_settled_arbitrum_mainnet_contract"], "alias": "not_null_perp_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": 1734109933.295913, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_event_name.606b4d8510": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_event_name.606b4d8510", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_settled_arbitrum_mainnet_event_name"], "alias": "not_null_perp_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": 1734109933.2975752, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_settled_arbitrum_mainnet_event_name__OrderSettled.5e1793594f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_settled_arbitrum_mainnet_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_set_3853d401f2e5cee7c207ccf9a282cd2f.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_settled_arbitrum_mainnet_event_name__OrderSettled.5e1793594f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "accepted_values_perp_order_settled_arbitrum_mainnet_event_name__OrderSettled"], "alias": "accepted_values_perp_order_set_3853d401f2e5cee7c207ccf9a282cd2f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_set_3853d401f2e5cee7c207ccf9a282cd2f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_3853d401f2e5cee7c207ccf9a282cd2f"}, "created_at": 1734109933.299239, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_set_3853d401f2e5cee7c207ccf9a282cd2f\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_order_set_3853d401f2e5cee7c207ccf9a282cd2f.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_account_id.5f60dea264": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_account_id.5f60dea264", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_settled_arbitrum_mainnet_account_id"], "alias": "not_null_perp_order_settled_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": 1734109933.3037672, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_order_settled_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_account_id__True__0.fcdc188551": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__b8618513df7561a108f28d10061ee977.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_account_id__True__0.fcdc188551", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__b8618513df7561a108f28d10061ee977", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__b8618513df7561a108f28d10061ee977", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__b8618513df7561a108f28d10061ee977"}, "created_at": 1734109933.3054247, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__b8618513df7561a108f28d10061ee977\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__b8618513df7561a108f28d10061ee977.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_market_id.793bf9835c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_market_id.793bf9835c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_settled_arbitrum_mainnet_market_id"], "alias": "not_null_perp_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": 1734109933.3095832, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_market_id__True__0.c52a7e4ed8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__eab6fcbdb77cbe6e82c9735f2fe8b151.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_market_id__True__0.c52a7e4ed8", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__eab6fcbdb77cbe6e82c9735f2fe8b151", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__eab6fcbdb77cbe6e82c9735f2fe8b151", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__eab6fcbdb77cbe6e82c9735f2fe8b151"}, "created_at": 1734109933.3112676, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__eab6fcbdb77cbe6e82c9735f2fe8b151\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__eab6fcbdb77cbe6e82c9735f2fe8b151.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_collected_fees.7370e63505": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_mainnet_collected_fees.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_collected_fees.7370e63505", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_settled_arbitrum_mainnet_collected_fees"], "alias": "not_null_perp_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": 1734109933.315473, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_collected_fees__True__0.356b57ba59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__9c0083a0ac46f3ce69e1fad350f4e7a4.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_collected_fees__True__0.356b57ba59", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_settled_arbitrum_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_perp__9c0083a0ac46f3ce69e1fad350f4e7a4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__9c0083a0ac46f3ce69e1fad350f4e7a4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__9c0083a0ac46f3ce69e1fad350f4e7a4"}, "created_at": 1734109933.3171494, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__9c0083a0ac46f3ce69e1fad350f4e7a4\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__9c0083a0ac46f3ce69e1fad350f4e7a4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_transaction_hash.1344347ee5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_transaction_hash.1344347ee5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_settled_arbitrum_mainnet_transaction_hash"], "alias": "not_null_perp_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": 1734109933.3213575, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_block_timestamp.ae7ec6c8ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_block_timestamp.ae7ec6c8ef", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_settled_arbitrum_mainnet_block_timestamp"], "alias": "not_null_perp_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": 1734109933.323033, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_block_number.6bb5256b7b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_block_number.6bb5256b7b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_settled_arbitrum_mainnet_block_number"], "alias": "not_null_perp_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": 1734109933.3246717, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_settled_arbitrum_mainnet_id.b9d03afd65": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_settled_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_settled_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_settled_arbitrum_mainnet_id.b9d03afd65", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "unique_perp_order_settled_arbitrum_mainnet_id"], "alias": "unique_perp_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": 1734109933.326279, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_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\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_id.8d20cf26c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_arbitrum_mainnet_id.8d20cf26c1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_order_settled_arbitrum_mainnet_id"], "alias": "not_null_perp_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": 1734109933.3280268, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_order_settled_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.perp_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_updated_arbitrum_mainnet_id.ca2bc0e1a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_updated_arbitrum_mainnet_id.ca2bc0e1a1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "unique_perp_market_updated_arbitrum_mainnet_id"], "alias": "unique_perp_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": 1734109933.3296592, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_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\".\"perp_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.perp_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_id.c3a83ad1d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_id.c3a83ad1d0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_updated_arbitrum_mainnet_id"], "alias": "not_null_perp_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": 1734109933.3313136, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_block_number.22032f5e3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_block_number.22032f5e3f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_updated_arbitrum_mainnet_block_number"], "alias": "not_null_perp_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": 1734109933.3329551, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_block_timestamp.c82304cd0d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_block_timestamp.c82304cd0d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_updated_arbitrum_mainnet_block_timestamp"], "alias": "not_null_perp_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": 1734109933.3346221, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_transaction_hash.35ad1a325b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_transaction_hash.35ad1a325b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_updated_arbitrum_mainnet_transaction_hash"], "alias": "not_null_perp_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": 1734109933.3363569, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_contract.ae7ff19df0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_contract.ae7ff19df0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_updated_arbitrum_mainnet_contract"], "alias": "not_null_perp_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": 1734109933.3379881, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_event_name.bbd9a88ac4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_event_name.bbd9a88ac4", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_updated_arbitrum_mainnet_event_name"], "alias": "not_null_perp_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": 1734109933.3396103, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_updated_arbitrum_mainnet_event_name__MarketUpdated.8146a5947b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_updated_arbitrum_mainnet_event_name__MarketUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_up_96868c8ca25b68dc23628635feea72fd.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_updated_arbitrum_mainnet_event_name__MarketUpdated.8146a5947b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "accepted_values_perp_market_updated_arbitrum_mainnet_event_name__MarketUpdated"], "alias": "accepted_values_perp_market_up_96868c8ca25b68dc23628635feea72fd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_up_96868c8ca25b68dc23628635feea72fd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_96868c8ca25b68dc23628635feea72fd"}, "created_at": 1734109933.3412673, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_up_96868c8ca25b68dc23628635feea72fd\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_market_up_96868c8ca25b68dc23628635feea72fd.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_market_updated_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_market_id.7a1df365b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_market_id.7a1df365b6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_updated_arbitrum_mainnet_market_id"], "alias": "not_null_perp_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": 1734109933.3453782, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_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\".\"perp_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.perp_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_market_id__True__0.49bfd0ea1e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__e6c5697bbf9d848353fcb5b5dbc9fc22.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_market_id__True__0.49bfd0ea1e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__e6c5697bbf9d848353fcb5b5dbc9fc22", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__e6c5697bbf9d848353fcb5b5dbc9fc22", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__e6c5697bbf9d848353fcb5b5dbc9fc22"}, "created_at": 1734109933.3471, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__e6c5697bbf9d848353fcb5b5dbc9fc22\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e6c5697bbf9d848353fcb5b5dbc9fc22.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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.perp_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_price.c754965f12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_mainnet_price.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_price.c754965f12", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_updated_arbitrum_mainnet_price"], "alias": "not_null_perp_market_updated_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": 1734109933.3513148, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_updated_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.perp_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_price__True__0.08ca8e4202": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__3bf63a7e9121704fe7fdc59226aafb10.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_price__True__0.08ca8e4202", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_perp__3bf63a7e9121704fe7fdc59226aafb10", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__3bf63a7e9121704fe7fdc59226aafb10", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__3bf63a7e9121704fe7fdc59226aafb10"}, "created_at": 1734109933.3530042, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__3bf63a7e9121704fe7fdc59226aafb10\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__3bf63a7e9121704fe7fdc59226aafb10.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_interest_rate.2f297e2d1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_arbitrum_mainnet_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_arbitrum_mainnet_interest_rate.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_arbitrum_mainnet_interest_rate.2f297e2d1a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_updated_arbitrum_mainnet_interest_rate"], "alias": "not_null_perp_market_updated_arbitrum_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": 1734109933.3572338, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_updated_arbitrum_mainnet_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_updated_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_interest_rate__True__0.6f303fc104": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__b96e3cc2db64c17056b956c0d240030a.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_interest_rate__True__0.6f303fc104", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_updated_arbitrum_mainnet_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__b96e3cc2db64c17056b956c0d240030a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__b96e3cc2db64c17056b956c0d240030a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__b96e3cc2db64c17056b956c0d240030a"}, "created_at": 1734109933.3589485, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__b96e3cc2db64c17056b956c0d240030a\") }}", "language": "sql", "refs": [{"name": "perp_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.perp_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__b96e3cc2db64c17056b956c0d240030a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_account_id.c6ae3fbdf6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_account_id.c6ae3fbdf6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_position_liquidated_arbitrum_mainnet_account_id"], "alias": "not_null_perp_position_liquidated_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": 1734109933.3631523, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_account_id__True__0.913cfd25f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__1c9a1f30a4a647507e5f545b1882909d.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_account_id__True__0.913cfd25f2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__1c9a1f30a4a647507e5f545b1882909d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__1c9a1f30a4a647507e5f545b1882909d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__1c9a1f30a4a647507e5f545b1882909d"}, "created_at": 1734109933.36483, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__1c9a1f30a4a647507e5f545b1882909d\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1c9a1f30a4a647507e5f545b1882909d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_market_id.f123e58c83": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_market_id.f123e58c83", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_position_liquidated_arbitrum_mainnet_market_id"], "alias": "not_null_perp_position_liquidated_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": 1734109933.3690507, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_market_id__True__0.5138d00a1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__22006da0d293618a514ac7a9ca241586.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_market_id__True__0.5138d00a1a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__22006da0d293618a514ac7a9ca241586", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__22006da0d293618a514ac7a9ca241586", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__22006da0d293618a514ac7a9ca241586"}, "created_at": 1734109933.3707438, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__22006da0d293618a514ac7a9ca241586\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__22006da0d293618a514ac7a9ca241586.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.unique_perp_position_liquidated_arbitrum_mainnet_id.f231e459dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_position_liquidated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_position_liquidated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_position_liquidated_arbitrum_mainnet_id.f231e459dd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "unique_perp_position_liquidated_arbitrum_mainnet_id"], "alias": "unique_perp_position_liquidated_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": 1734109933.3749876, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_position_liquidated_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\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_id.1013d30960": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_id.1013d30960", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_position_liquidated_arbitrum_mainnet_id"], "alias": "not_null_perp_position_liquidated_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": 1734109933.3766668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_transaction_hash.bc9ed917d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_ba81c81d4b4cda4e615359afe1fe4fae.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_transaction_hash.bc9ed917d3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_position_liquidated_arbitrum_mainnet_transaction_hash"], "alias": "not_null_perp_position_liquida_ba81c81d4b4cda4e615359afe1fe4fae", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_ba81c81d4b4cda4e615359afe1fe4fae", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_ba81c81d4b4cda4e615359afe1fe4fae"}, "created_at": 1734109933.3783422, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_ba81c81d4b4cda4e615359afe1fe4fae\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_ba81c81d4b4cda4e615359afe1fe4fae.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_current_position_size.2f7c9b0c99": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_mainnet_current_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_a7e2cf044bc951dcf2012601aa0cf34f.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_current_position_size.2f7c9b0c99", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_position_liquidated_arbitrum_mainnet_current_position_size"], "alias": "not_null_perp_position_liquida_a7e2cf044bc951dcf2012601aa0cf34f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_a7e2cf044bc951dcf2012601aa0cf34f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_a7e2cf044bc951dcf2012601aa0cf34f"}, "created_at": 1734109933.3800056, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_a7e2cf044bc951dcf2012601aa0cf34f\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_a7e2cf044bc951dcf2012601aa0cf34f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect current_position_size\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "current_position_size", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_current_position_size__True__0.1f4c66d819": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_current_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__1ba201da8444fd8939aa900e476fa69e.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_current_position_size__True__0.1f4c66d819", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_current_position_size__True__0"], "alias": "dbt_utils_accepted_range_perp__1ba201da8444fd8939aa900e476fa69e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__1ba201da8444fd8939aa900e476fa69e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__1ba201da8444fd8939aa900e476fa69e"}, "created_at": 1734109933.3822303, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__1ba201da8444fd8939aa900e476fa69e\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1ba201da8444fd8939aa900e476fa69e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_event_name.badd34253b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_event_name.badd34253b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_position_liquidated_arbitrum_mainnet_event_name"], "alias": "not_null_perp_position_liquidated_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": 1734109933.3862572, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_position_liquidated_arbitrum_mainnet_event_name__PositionLiquidated.0ec93e93c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_position_liquidated_arbitrum_mainnet_event_name__PositionLiquidated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_position__11574660f3b008caba0e75c051a8f0c9.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_position_liquidated_arbitrum_mainnet_event_name__PositionLiquidated.0ec93e93c0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "accepted_values_perp_position_liquidated_arbitrum_mainnet_event_name__PositionLiquidated"], "alias": "accepted_values_perp_position__11574660f3b008caba0e75c051a8f0c9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_position__11574660f3b008caba0e75c051a8f0c9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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__11574660f3b008caba0e75c051a8f0c9"}, "created_at": 1734109933.3881097, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_position__11574660f3b008caba0e75c051a8f0c9\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_position__11574660f3b008caba0e75c051a8f0c9.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_position_liquidated_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PositionLiquidated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_block_number.5467c2494c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_block_number.5467c2494c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_position_liquidated_arbitrum_mainnet_block_number"], "alias": "not_null_perp_position_liquidated_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": 1734109933.39208, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_amount_liquidated.85c1ba4ec8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_mainnet_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_5286686b59e626f40ffd8eb5b0719611.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_amount_liquidated.85c1ba4ec8", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_position_liquidated_arbitrum_mainnet_amount_liquidated"], "alias": "not_null_perp_position_liquida_5286686b59e626f40ffd8eb5b0719611", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_5286686b59e626f40ffd8eb5b0719611", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_5286686b59e626f40ffd8eb5b0719611"}, "created_at": 1734109933.3939192, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_5286686b59e626f40ffd8eb5b0719611\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_5286686b59e626f40ffd8eb5b0719611.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_amount_liquidated__True__0.284e66108e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__ca2e2aa725c41a4c2aebf56b0c0174b0.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_amount_liquidated__True__0.284e66108e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_arbitrum_mainnet_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_perp__ca2e2aa725c41a4c2aebf56b0c0174b0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__ca2e2aa725c41a4c2aebf56b0c0174b0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__ca2e2aa725c41a4c2aebf56b0c0174b0"}, "created_at": 1734109933.3955753, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__ca2e2aa725c41a4c2aebf56b0c0174b0\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__ca2e2aa725c41a4c2aebf56b0c0174b0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_contract.bde78fd4de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_contract.bde78fd4de", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_position_liquidated_arbitrum_mainnet_contract"], "alias": "not_null_perp_position_liquidated_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": 1734109933.3996, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquidated_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_block_timestamp.2e92e4c30d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_f72413746226d975b668810030d1f157.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_arbitrum_mainnet_block_timestamp.2e92e4c30d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_position_liquidated_arbitrum_mainnet_block_timestamp"], "alias": "not_null_perp_position_liquida_f72413746226d975b668810030d1f157", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_f72413746226d975b668810030d1f157", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_f72413746226d975b668810030d1f157"}, "created_at": 1734109933.4014425, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_f72413746226d975b668810030d1f157\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_position_liquida_f72413746226d975b668810030d1f157.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_position_liquidated_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.perp_position_liquidated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_position_liquidated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_account_liquidation_attempt_arbitrum_mainnet_id.36625245e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_liquidation_attempt_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_liquidation_attempt_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_liquidation_attempt_arbitrum_mainnet_id.36625245e5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "unique_perp_account_liquidation_attempt_arbitrum_mainnet_id"], "alias": "unique_perp_account_liquidation_attempt_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": 1734109933.4031072, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_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\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_id.3b273ee7cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_id.3b273ee7cd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_id"], "alias": "not_null_perp_account_liquidation_attempt_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": 1734109933.404731, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_account_id.e5775f05d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_0f82999a80450d03b61b144cc0fca13a.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_account_id.e5775f05d6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_account_id"], "alias": "not_null_perp_account_liquidat_0f82999a80450d03b61b144cc0fca13a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_0f82999a80450d03b61b144cc0fca13a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_0f82999a80450d03b61b144cc0fca13a"}, "created_at": 1734109933.4063494, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_0f82999a80450d03b61b144cc0fca13a\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_0f82999a80450d03b61b144cc0fca13a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_mainnet_account_id__True__0.69e5c1f239": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__6f1bc4db15b9550cf73dd0245de3ed99.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_mainnet_account_id__True__0.69e5c1f239", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__6f1bc4db15b9550cf73dd0245de3ed99", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__6f1bc4db15b9550cf73dd0245de3ed99", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__6f1bc4db15b9550cf73dd0245de3ed99"}, "created_at": 1734109933.4080858, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__6f1bc4db15b9550cf73dd0245de3ed99\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__6f1bc4db15b9550cf73dd0245de3ed99.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_block_number.cce38fccf5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_fb00df2cd316359481ed878400b3e50d.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_block_number.cce38fccf5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_block_number"], "alias": "not_null_perp_account_liquidat_fb00df2cd316359481ed878400b3e50d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_fb00df2cd316359481ed878400b3e50d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_fb00df2cd316359481ed878400b3e50d"}, "created_at": 1734109933.4121525, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_fb00df2cd316359481ed878400b3e50d\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_fb00df2cd316359481ed878400b3e50d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_reward.db84ec60c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_0b681aef0741ed806b7204047c1740cf.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_reward.db84ec60c0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_reward"], "alias": "not_null_perp_account_liquidat_0b681aef0741ed806b7204047c1740cf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_0b681aef0741ed806b7204047c1740cf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_0b681aef0741ed806b7204047c1740cf"}, "created_at": 1734109933.4137874, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_0b681aef0741ed806b7204047c1740cf\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_0b681aef0741ed806b7204047c1740cf.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect reward\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_mainnet_reward__True__0.0687f26a19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_mainnet_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__e77fc265631cce00efad12c7c04ac131.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_mainnet_reward__True__0.0687f26a19", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_arbitrum_mainnet_reward__True__0"], "alias": "dbt_utils_accepted_range_perp__e77fc265631cce00efad12c7c04ac131", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__e77fc265631cce00efad12c7c04ac131", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__e77fc265631cce00efad12c7c04ac131"}, "created_at": 1734109933.4156265, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__e77fc265631cce00efad12c7c04ac131\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e77fc265631cce00efad12c7c04ac131.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_block_timestamp.384d202b30": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_5894c14b057748a46465d0283cc333b6.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_block_timestamp.384d202b30", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_block_timestamp"], "alias": "not_null_perp_account_liquidat_5894c14b057748a46465d0283cc333b6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_5894c14b057748a46465d0283cc333b6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_5894c14b057748a46465d0283cc333b6"}, "created_at": 1734109933.419685, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_5894c14b057748a46465d0283cc333b6\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5894c14b057748a46465d0283cc333b6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_contract.34132d3a0f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_95a9cab9f1eb33acaccbbf0d1796bdf9.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_contract.34132d3a0f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_contract"], "alias": "not_null_perp_account_liquidat_95a9cab9f1eb33acaccbbf0d1796bdf9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_95a9cab9f1eb33acaccbbf0d1796bdf9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_95a9cab9f1eb33acaccbbf0d1796bdf9"}, "created_at": 1734109933.421498, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_95a9cab9f1eb33acaccbbf0d1796bdf9\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_95a9cab9f1eb33acaccbbf0d1796bdf9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_event_name.03d3da6f51": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_dc612dd0fc5561975d0564262311e850.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_event_name.03d3da6f51", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_event_name"], "alias": "not_null_perp_account_liquidat_dc612dd0fc5561975d0564262311e850", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_dc612dd0fc5561975d0564262311e850", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_dc612dd0fc5561975d0564262311e850"}, "created_at": 1734109933.4231517, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_dc612dd0fc5561975d0564262311e850\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_dc612dd0fc5561975d0564262311e850.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_liquidation_attempt_arbitrum_mainnet_event_name__AccountLiquidationAttempt.d77be155b7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_liquidation_attempt_arbitrum_mainnet_event_name__AccountLiquidationAttempt", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_l_e08ea4c1ba82fb6ac26590db03457801.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_liquidation_attempt_arbitrum_mainnet_event_name__AccountLiquidationAttempt.d77be155b7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "accepted_values_perp_account_liquidation_attempt_arbitrum_mainnet_event_name__AccountLiquidationAttempt"], "alias": "accepted_values_perp_account_l_e08ea4c1ba82fb6ac26590db03457801", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_l_e08ea4c1ba82fb6ac26590db03457801", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_e08ea4c1ba82fb6ac26590db03457801"}, "created_at": 1734109933.424788, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_l_e08ea4c1ba82fb6ac26590db03457801\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_account_l_e08ea4c1ba82fb6ac26590db03457801.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountLiquidationAttempt"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_transaction_hash.8082a939fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_7817adb4c678a01ccf22dc4473efbe0d.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_transaction_hash.8082a939fd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_transaction_hash"], "alias": "not_null_perp_account_liquidat_7817adb4c678a01ccf22dc4473efbe0d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_7817adb4c678a01ccf22dc4473efbe0d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_7817adb4c678a01ccf22dc4473efbe0d"}, "created_at": 1734109933.428892, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_7817adb4c678a01ccf22dc4473efbe0d\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_7817adb4c678a01ccf22dc4473efbe0d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_full_liquidation.bca773a7d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_full_liquidation", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_e9577753476537e2431402ad6ffbe7a6.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_arbitrum_mainnet_full_liquidation.bca773a7d2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_arbitrum_mainnet_full_liquidation"], "alias": "not_null_perp_account_liquidat_e9577753476537e2431402ad6ffbe7a6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_e9577753476537e2431402ad6ffbe7a6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_e9577753476537e2431402ad6ffbe7a6"}, "created_at": 1734109933.4305592, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_e9577753476537e2431402ad6ffbe7a6\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_account_liquidat_e9577753476537e2431402ad6ffbe7a6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect full_liquidation\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_account_liquidation_attempt_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "full_liquidation", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_block_timestamp.3959a198d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modif_8f3171ee98bdf94b79319e1be3be5956.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_block_timestamp.3959a198d9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_collateral_modified_arbitrum_mainnet_block_timestamp"], "alias": "not_null_perp_collateral_modif_8f3171ee98bdf94b79319e1be3be5956", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_collateral_modif_8f3171ee98bdf94b79319e1be3be5956", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_collateral_modif_8f3171ee98bdf94b79319e1be3be5956"}, "created_at": 1734109933.4322531, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_collateral_modif_8f3171ee98bdf94b79319e1be3be5956\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_8f3171ee98bdf94b79319e1be3be5956.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_contract.4c9655d0d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_contract.4c9655d0d7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_collateral_modified_arbitrum_mainnet_contract"], "alias": "not_null_perp_collateral_modified_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": 1734109933.43387, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_event_name.e165b98af5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_event_name.e165b98af5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_collateral_modified_arbitrum_mainnet_event_name"], "alias": "not_null_perp_collateral_modified_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": 1734109933.4356117, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_collateral_modified_arbitrum_mainnet_event_name__CollateralModified.ce058b817d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_collateral_modified_arbitrum_mainnet_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_collatera_f7b43b877d91586e7a54f2f480c7e20a.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_collateral_modified_arbitrum_mainnet_event_name__CollateralModified.ce058b817d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "accepted_values_perp_collateral_modified_arbitrum_mainnet_event_name__CollateralModified"], "alias": "accepted_values_perp_collatera_f7b43b877d91586e7a54f2f480c7e20a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_collatera_f7b43b877d91586e7a54f2f480c7e20a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_f7b43b877d91586e7a54f2f480c7e20a"}, "created_at": 1734109933.4372523, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_collatera_f7b43b877d91586e7a54f2f480c7e20a\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_collatera_f7b43b877d91586e7a54f2f480c7e20a.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_collateral_modified_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_block_number.553bfecd04": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_block_number.553bfecd04", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_collateral_modified_arbitrum_mainnet_block_number"], "alias": "not_null_perp_collateral_modified_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": 1734109933.4414172, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_collateral_id.b111831174": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_mainnet_collateral_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modif_77beb17d3fe51071c61a6d63af9a80d6.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_collateral_id.b111831174", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_collateral_modified_arbitrum_mainnet_collateral_id"], "alias": "not_null_perp_collateral_modif_77beb17d3fe51071c61a6d63af9a80d6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_collateral_modif_77beb17d3fe51071c61a6d63af9a80d6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_collateral_modif_77beb17d3fe51071c61a6d63af9a80d6"}, "created_at": 1734109933.443119, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_collateral_modif_77beb17d3fe51071c61a6d63af9a80d6\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_77beb17d3fe51071c61a6d63af9a80d6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_arbitrum_mainnet\"\nwhere collateral_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_id", "file_key_name": "models.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_mainnet_collateral_id__True__0.d504bf8da4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_arbitrum_mainnet_collateral_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__5cb5cc6a827bd3c08824f31f858fdce7.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_mainnet_collateral_id__True__0.d504bf8da4", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_collateral_modified_arbitrum_mainnet_collateral_id__True__0"], "alias": "dbt_utils_accepted_range_perp__5cb5cc6a827bd3c08824f31f858fdce7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__5cb5cc6a827bd3c08824f31f858fdce7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__5cb5cc6a827bd3c08824f31f858fdce7"}, "created_at": 1734109933.4447684, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__5cb5cc6a827bd3c08824f31f858fdce7\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5cb5cc6a827bd3c08824f31f858fdce7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_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_id >= 0\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_id", "file_key_name": "models.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.unique_perp_collateral_modified_arbitrum_mainnet_id.52f69df109": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_collateral_modified_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_collateral_modified_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_collateral_modified_arbitrum_mainnet_id.52f69df109", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "unique_perp_collateral_modified_arbitrum_mainnet_id"], "alias": "unique_perp_collateral_modified_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": 1734109933.4489336, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_collateral_modified_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\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_id.b7548d2e89": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_id.b7548d2e89", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_collateral_modified_arbitrum_mainnet_id"], "alias": "not_null_perp_collateral_modified_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": 1734109933.4505985, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_sender.8b5f369cc9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_sender.8b5f369cc9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_collateral_modified_arbitrum_mainnet_sender"], "alias": "not_null_perp_collateral_modified_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": 1734109933.452239, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_account_id.8fb1349af5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_account_id.8fb1349af5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_collateral_modified_arbitrum_mainnet_account_id"], "alias": "not_null_perp_collateral_modified_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": 1734109933.4538763, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modified_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_mainnet_account_id__True__0.f432eac521": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__96052d118a2bd5a2254af73cb0b383ed.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_arbitrum_mainnet_account_id__True__0.f432eac521", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_collateral_modified_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__96052d118a2bd5a2254af73cb0b383ed", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__96052d118a2bd5a2254af73cb0b383ed", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__96052d118a2bd5a2254af73cb0b383ed"}, "created_at": 1734109933.455647, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__96052d118a2bd5a2254af73cb0b383ed\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__96052d118a2bd5a2254af73cb0b383ed.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_transaction_hash.db6cc05c85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modif_f5d447d13a4864a9fce094a33af8d88e.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_arbitrum_mainnet_transaction_hash.db6cc05c85", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_collateral_modified_arbitrum_mainnet_transaction_hash"], "alias": "not_null_perp_collateral_modif_f5d447d13a4864a9fce094a33af8d88e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_collateral_modif_f5d447d13a4864a9fce094a33af8d88e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_collateral_modif_f5d447d13a4864a9fce094a33af8d88e"}, "created_at": 1734109933.4597325, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_collateral_modif_f5d447d13a4864a9fce094a33af8d88e\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_collateral_modif_f5d447d13a4864a9fce094a33af8d88e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_collateral_modified_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.perp_collateral_modified_arbitrum_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_collateral_modified_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_block_timestamp.62addf704c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_a1efcbfea89850ca046fd95b736da7e3.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_block_timestamp.62addf704c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_previous_order_expired_arbitrum_mainnet_block_timestamp"], "alias": "not_null_perp_previous_order_e_a1efcbfea89850ca046fd95b736da7e3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_a1efcbfea89850ca046fd95b736da7e3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_a1efcbfea89850ca046fd95b736da7e3"}, "created_at": 1734109933.461754, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_a1efcbfea89850ca046fd95b736da7e3\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_a1efcbfea89850ca046fd95b736da7e3.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_previous_order_expired_arbitrum_mainnet_id.cd7a82db0e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_previous_order_expired_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_previous_order_expired_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_previous_order_expired_arbitrum_mainnet_id.cd7a82db0e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "unique_perp_previous_order_expired_arbitrum_mainnet_id"], "alias": "unique_perp_previous_order_expired_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": 1734109933.4634206, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_previous_order_expired_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\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_id.ced9ec6a1d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_id.ced9ec6a1d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_previous_order_expired_arbitrum_mainnet_id"], "alias": "not_null_perp_previous_order_expired_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": 1734109933.465045, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_block_number.c6957a09df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_237613c86fd3e843eb7ff01b5ad163d6.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_block_number.c6957a09df", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_previous_order_expired_arbitrum_mainnet_block_number"], "alias": "not_null_perp_previous_order_e_237613c86fd3e843eb7ff01b5ad163d6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_237613c86fd3e843eb7ff01b5ad163d6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_237613c86fd3e843eb7ff01b5ad163d6"}, "created_at": 1734109933.4666889, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_237613c86fd3e843eb7ff01b5ad163d6\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_237613c86fd3e843eb7ff01b5ad163d6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_market_id.3161a33570": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_market_id.3161a33570", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_previous_order_expired_arbitrum_mainnet_market_id"], "alias": "not_null_perp_previous_order_expired_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": 1734109933.468303, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_mainnet_market_id__True__0.148ea7d706": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__b86f5c160471e4b0acc7f7eb79fb5d5c.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_mainnet_market_id__True__0.148ea7d706", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__b86f5c160471e4b0acc7f7eb79fb5d5c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__b86f5c160471e4b0acc7f7eb79fb5d5c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__b86f5c160471e4b0acc7f7eb79fb5d5c"}, "created_at": 1734109933.4700325, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__b86f5c160471e4b0acc7f7eb79fb5d5c\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__b86f5c160471e4b0acc7f7eb79fb5d5c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_event_name.08acd6a68f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_3b633e0e9803b2d938f1bdd59e52ab9c.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_event_name.08acd6a68f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_previous_order_expired_arbitrum_mainnet_event_name"], "alias": "not_null_perp_previous_order_e_3b633e0e9803b2d938f1bdd59e52ab9c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_3b633e0e9803b2d938f1bdd59e52ab9c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_3b633e0e9803b2d938f1bdd59e52ab9c"}, "created_at": 1734109933.4741025, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_3b633e0e9803b2d938f1bdd59e52ab9c\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_3b633e0e9803b2d938f1bdd59e52ab9c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_previous_order_expired_arbitrum_mainnet_event_name__PreviousOrderExpired.d975ca95c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_previous_order_expired_arbitrum_mainnet_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_previous__8b2d4ec500fcbd5393c14186325532d5.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_previous_order_expired_arbitrum_mainnet_event_name__PreviousOrderExpired.d975ca95c5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "accepted_values_perp_previous_order_expired_arbitrum_mainnet_event_name__PreviousOrderExpired"], "alias": "accepted_values_perp_previous__8b2d4ec500fcbd5393c14186325532d5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_previous__8b2d4ec500fcbd5393c14186325532d5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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__8b2d4ec500fcbd5393c14186325532d5"}, "created_at": 1734109933.4759915, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_previous__8b2d4ec500fcbd5393c14186325532d5\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_previous__8b2d4ec500fcbd5393c14186325532d5.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_previous_order_expired_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_transaction_hash.ccc5cbafcd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_eddc3e9a21c2bbfdfac5cc02fbafd26a.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_transaction_hash.ccc5cbafcd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_previous_order_expired_arbitrum_mainnet_transaction_hash"], "alias": "not_null_perp_previous_order_e_eddc3e9a21c2bbfdfac5cc02fbafd26a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_eddc3e9a21c2bbfdfac5cc02fbafd26a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_eddc3e9a21c2bbfdfac5cc02fbafd26a"}, "created_at": 1734109933.479965, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_eddc3e9a21c2bbfdfac5cc02fbafd26a\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_eddc3e9a21c2bbfdfac5cc02fbafd26a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_account_id.edc81bcacb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_3b9f2ad127f349bad779ec9cbd5d7014.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_account_id.edc81bcacb", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_previous_order_expired_arbitrum_mainnet_account_id"], "alias": "not_null_perp_previous_order_e_3b9f2ad127f349bad779ec9cbd5d7014", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_3b9f2ad127f349bad779ec9cbd5d7014", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_3b9f2ad127f349bad779ec9cbd5d7014"}, "created_at": 1734109933.4816067, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_3b9f2ad127f349bad779ec9cbd5d7014\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_e_3b9f2ad127f349bad779ec9cbd5d7014.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_mainnet_account_id__True__0.865d3fe2e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__be2e9f6a3b1e7e1d6e67b0767b82c85e.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_mainnet_account_id__True__0.865d3fe2e6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__be2e9f6a3b1e7e1d6e67b0767b82c85e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__be2e9f6a3b1e7e1d6e67b0767b82c85e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__be2e9f6a3b1e7e1d6e67b0767b82c85e"}, "created_at": 1734109933.483423, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__be2e9f6a3b1e7e1d6e67b0767b82c85e\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__be2e9f6a3b1e7e1d6e67b0767b82c85e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_contract.f99120143b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_arbitrum_mainnet_contract.f99120143b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_previous_order_expired_arbitrum_mainnet_contract"], "alias": "not_null_perp_previous_order_expired_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": 1734109933.4874656, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_previous_order_expired_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.perp_previous_order_expired_arbitrum_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_market_name.b6c0825a0f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_mainnet_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_mainnet_market_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_market_name.b6c0825a0f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_created_arbitrum_mainnet_market_name"], "alias": "not_null_perp_market_created_arbitrum_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": 1734109933.489296, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_created_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_created_arbitrum_mainnet_id.ccdc9b7755": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_created_arbitrum_mainnet_id.ccdc9b7755", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "unique_perp_market_created_arbitrum_mainnet_id"], "alias": "unique_perp_market_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": 1734109933.4909666, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_market_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\".\"perp_market_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.perp_market_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_id.51befad80c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_id.51befad80c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_created_arbitrum_mainnet_id"], "alias": "not_null_perp_market_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": 1734109933.4925804, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_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.perp_market_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_market_symbol.cac52e1baa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_mainnet_market_symbol.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_market_symbol.cac52e1baa", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_created_arbitrum_mainnet_market_symbol"], "alias": "not_null_perp_market_created_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": 1734109933.4942052, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_created_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.perp_market_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_event_name.7c033fc995": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_event_name.7c033fc995", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_created_arbitrum_mainnet_event_name"], "alias": "not_null_perp_market_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": 1734109933.49585, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_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.perp_market_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_created_arbitrum_mainnet_event_name__MarketCreated.95d2e513a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_created_arbitrum_mainnet_event_name__MarketCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_cr_76654e6695a0017950c568894f7c9160.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_created_arbitrum_mainnet_event_name__MarketCreated.95d2e513a2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "accepted_values_perp_market_created_arbitrum_mainnet_event_name__MarketCreated"], "alias": "accepted_values_perp_market_cr_76654e6695a0017950c568894f7c9160", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_cr_76654e6695a0017950c568894f7c9160", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_76654e6695a0017950c568894f7c9160"}, "created_at": 1734109933.4976287, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_cr_76654e6695a0017950c568894f7c9160\") }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_market_cr_76654e6695a0017950c568894f7c9160.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_market_created_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_block_number.398ad31e3c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_block_number.398ad31e3c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_created_arbitrum_mainnet_block_number"], "alias": "not_null_perp_market_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": 1734109933.5017729, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_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.perp_market_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_block_timestamp.30d302d69e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_block_timestamp.30d302d69e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_created_arbitrum_mainnet_block_timestamp"], "alias": "not_null_perp_market_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": 1734109933.503625, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_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.perp_market_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_contract.21d3d73e97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_contract.21d3d73e97", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_created_arbitrum_mainnet_contract"], "alias": "not_null_perp_market_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": 1734109933.5052674, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_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.perp_market_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_perps_market_id.adbc877d76": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_mainnet_perps_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_mainnet_perps_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_perps_market_id.adbc877d76", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_created_arbitrum_mainnet_perps_market_id"], "alias": "not_null_perp_market_created_arbitrum_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": 1734109933.506924, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_perps_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect perps_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_created_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "perps_market_id", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_created_arbitrum_mainnet_perps_market_id__True__0.48f88f8963": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_created_arbitrum_mainnet_perps_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__d9dfec8f1629560d478bbec1f9b65fac.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_created_arbitrum_mainnet_perps_market_id__True__0.48f88f8963", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_created_arbitrum_mainnet_perps_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__d9dfec8f1629560d478bbec1f9b65fac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__d9dfec8f1629560d478bbec1f9b65fac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__d9dfec8f1629560d478bbec1f9b65fac"}, "created_at": 1734109933.5085852, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__d9dfec8f1629560d478bbec1f9b65fac\") }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__d9dfec8f1629560d478bbec1f9b65fac.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_transaction_hash.486a46d989": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_arbitrum_mainnet_transaction_hash.486a46d989", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_market_created_arbitrum_mainnet_transaction_hash"], "alias": "not_null_perp_market_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": 1734109933.5127816, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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.perp_market_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_market_created_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_market_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.perp_market_created_arbitrum_mainnet", "attached_node": "model.synthetix.perp_market_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_event_name.a2ddfe6aab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_event_name.a2ddfe6aab", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_charged_arbitrum_mainnet_event_name"], "alias": "not_null_perp_interest_charged_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": 1734109933.514481, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_charged_arbitrum_mainnet_event_name__InterestCharged.5bdeefd72e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_charged_arbitrum_mainnet_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__d6b8b8deefd1f49a80db78c6335f476b.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_charged_arbitrum_mainnet_event_name__InterestCharged.5bdeefd72e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "accepted_values_perp_interest_charged_arbitrum_mainnet_event_name__InterestCharged"], "alias": "accepted_values_perp_interest__d6b8b8deefd1f49a80db78c6335f476b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__d6b8b8deefd1f49a80db78c6335f476b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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__d6b8b8deefd1f49a80db78c6335f476b"}, "created_at": 1734109933.5161436, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__d6b8b8deefd1f49a80db78c6335f476b\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_interest__d6b8b8deefd1f49a80db78c6335f476b.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_interest_charged_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_contract.0558bb2329": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_contract.0558bb2329", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_charged_arbitrum_mainnet_contract"], "alias": "not_null_perp_interest_charged_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": 1734109933.5202696, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_transaction_hash.c6a422f072": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_3b81ef9b2573c72971914b3d3b49b5e6.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_transaction_hash.c6a422f072", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_charged_arbitrum_mainnet_transaction_hash"], "alias": "not_null_perp_interest_charged_3b81ef9b2573c72971914b3d3b49b5e6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_charged_3b81ef9b2573c72971914b3d3b49b5e6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_charged_3b81ef9b2573c72971914b3d3b49b5e6"}, "created_at": 1734109933.5219343, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_charged_3b81ef9b2573c72971914b3d3b49b5e6\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_3b81ef9b2573c72971914b3d3b49b5e6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_block_timestamp.c72b9e433c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_block_timestamp.c72b9e433c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_charged_arbitrum_mainnet_block_timestamp"], "alias": "not_null_perp_interest_charged_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": 1734109933.5235913, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_charged_arbitrum_mainnet_id.25564fae9f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_charged_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_charged_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_charged_arbitrum_mainnet_id.25564fae9f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "unique_perp_interest_charged_arbitrum_mainnet_id"], "alias": "unique_perp_interest_charged_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": 1734109933.5253592, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_interest_charged_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\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_id.0336fb1845": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_id.0336fb1845", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_charged_arbitrum_mainnet_id"], "alias": "not_null_perp_interest_charged_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": 1734109933.526975, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_block_number.0461f85304": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_block_number.0461f85304", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_charged_arbitrum_mainnet_block_number"], "alias": "not_null_perp_interest_charged_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": 1734109933.5285645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_account_id.0fea13802b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_arbitrum_mainnet_account_id.0fea13802b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_charged_arbitrum_mainnet_account_id"], "alias": "not_null_perp_interest_charged_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": 1734109933.530179, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_charged_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_arbitrum_mainnet_account_id__True__0.7c883f5e3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_charged_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__91406c6c5c92a1e1d64e71aa1eeb2481.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_arbitrum_mainnet_account_id__True__0.7c883f5e3f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_interest_charged_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__91406c6c5c92a1e1d64e71aa1eeb2481", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__91406c6c5c92a1e1d64e71aa1eeb2481", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__91406c6c5c92a1e1d64e71aa1eeb2481"}, "created_at": 1734109933.5318756, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__91406c6c5c92a1e1d64e71aa1eeb2481\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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.perp_interest_charged_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__91406c6c5c92a1e1d64e71aa1eeb2481.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_charged_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.perp_interest_charged_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_charged_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_block_timestamp.b38866df62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_c215a28815435d331897ce2f88fe7e7c.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_block_timestamp.b38866df62", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_rate_updated_arbitrum_mainnet_block_timestamp"], "alias": "not_null_perp_interest_rate_up_c215a28815435d331897ce2f88fe7e7c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_c215a28815435d331897ce2f88fe7e7c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_c215a28815435d331897ce2f88fe7e7c"}, "created_at": 1734109933.5360637, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_c215a28815435d331897ce2f88fe7e7c\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_c215a28815435d331897ce2f88fe7e7c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_event_name.527da57e0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_event_name.527da57e0a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_rate_updated_arbitrum_mainnet_event_name"], "alias": "not_null_perp_interest_rate_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": 1734109933.537699, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_rate_updated_arbitrum_mainnet_event_name__InterestRateUpdated.e279adef88": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_rate_updated_arbitrum_mainnet_event_name__InterestRateUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__b38f2f5b297cf6983daeeb9f3743db1a.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_rate_updated_arbitrum_mainnet_event_name__InterestRateUpdated.e279adef88", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "accepted_values_perp_interest_rate_updated_arbitrum_mainnet_event_name__InterestRateUpdated"], "alias": "accepted_values_perp_interest__b38f2f5b297cf6983daeeb9f3743db1a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__b38f2f5b297cf6983daeeb9f3743db1a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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__b38f2f5b297cf6983daeeb9f3743db1a"}, "created_at": 1734109933.5395503, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__b38f2f5b297cf6983daeeb9f3743db1a\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/accepted_values_perp_interest__b38f2f5b297cf6983daeeb9f3743db1a.sql", "compiled": true, "compiled_code": "\n \n \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\".\"perp_interest_rate_updated_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestRateUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_transaction_hash.881fd09199": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_0e9244fe507426bd1c0109235d3c140f.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_transaction_hash.881fd09199", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_rate_updated_arbitrum_mainnet_transaction_hash"], "alias": "not_null_perp_interest_rate_up_0e9244fe507426bd1c0109235d3c140f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_0e9244fe507426bd1c0109235d3c140f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_0e9244fe507426bd1c0109235d3c140f"}, "created_at": 1734109933.5435612, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_0e9244fe507426bd1c0109235d3c140f\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_0e9244fe507426bd1c0109235d3c140f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_interest_rate.4a70cee831": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_mainnet_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_4ea715095b30069d0e5dc8f4d21abcb6.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_interest_rate.4a70cee831", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_rate_updated_arbitrum_mainnet_interest_rate"], "alias": "not_null_perp_interest_rate_up_4ea715095b30069d0e5dc8f4d21abcb6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_4ea715095b30069d0e5dc8f4d21abcb6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_4ea715095b30069d0e5dc8f4d21abcb6"}, "created_at": 1734109933.5452697, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_4ea715095b30069d0e5dc8f4d21abcb6\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_4ea715095b30069d0e5dc8f4d21abcb6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_rate_updated_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_mainnet_interest_rate__True__0.85f9532793": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_mainnet_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__56f7ffe51488e65f8880c7b8c167cd89.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_mainnet_interest_rate__True__0.85f9532793", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_mainnet_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__56f7ffe51488e65f8880c7b8c167cd89", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__56f7ffe51488e65f8880c7b8c167cd89", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__56f7ffe51488e65f8880c7b8c167cd89"}, "created_at": 1734109933.5473213, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__56f7ffe51488e65f8880c7b8c167cd89\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__56f7ffe51488e65f8880c7b8c167cd89.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_rate_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_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_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_block_number.f1b7f275c8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_ccd029a1676f02cde447a6e183469d9b.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_block_number.f1b7f275c8", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_rate_updated_arbitrum_mainnet_block_number"], "alias": "not_null_perp_interest_rate_up_ccd029a1676f02cde447a6e183469d9b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_ccd029a1676f02cde447a6e183469d9b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_ccd029a1676f02cde447a6e183469d9b"}, "created_at": 1734109933.5513504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_ccd029a1676f02cde447a6e183469d9b\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccd029a1676f02cde447a6e183469d9b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_rate_updated_arbitrum_mainnet_id.c21a36f767": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_rate_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_rate_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_rate_updated_arbitrum_mainnet_id.c21a36f767", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "unique_perp_interest_rate_updated_arbitrum_mainnet_id"], "alias": "unique_perp_interest_rate_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": 1734109933.5532472, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_arbitrum_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_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/unique_perp_interest_rate_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\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_id.4d8f77e23f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_id.4d8f77e23f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_rate_updated_arbitrum_mainnet_id"], "alias": "not_null_perp_interest_rate_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": 1734109933.5549066, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_contract.53bd3e715f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_contract.53bd3e715f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_rate_updated_arbitrum_mainnet_contract"], "alias": "not_null_perp_interest_rate_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": 1734109933.5565283, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_super_market_id.0209c885e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_arbitrum_mainnet_super_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_9059128f98c3da3c81e1de978bf559dc.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_arbitrum_mainnet_super_market_id.0209c885e1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "not_null_perp_interest_rate_updated_arbitrum_mainnet_super_market_id"], "alias": "not_null_perp_interest_rate_up_9059128f98c3da3c81e1de978bf559dc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_9059128f98c3da3c81e1de978bf559dc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 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_9059128f98c3da3c81e1de978bf559dc"}, "created_at": 1734109933.5581417, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_9059128f98c3da3c81e1de978bf559dc\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_9059128f98c3da3c81e1de978bf559dc.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect super_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_rate_updated_arbitrum_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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "super_market_id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_mainnet_super_market_id__True__0.345c2bacf1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_mainnet_super_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__a3819aa0da09fc29fbfaf4515955d8b5.sql", "original_file_path": "models/raw/arbitrum/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_mainnet_super_market_id__True__0.345c2bacf1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_arbitrum_mainnet_super_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__a3819aa0da09fc29fbfaf4515955d8b5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__a3819aa0da09fc29fbfaf4515955d8b5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "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__a3819aa0da09fc29fbfaf4515955d8b5"}, "created_at": 1734109933.559793, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__a3819aa0da09fc29fbfaf4515955d8b5\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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.perp_interest_rate_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__a3819aa0da09fc29fbfaf4515955d8b5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"perp_interest_rate_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 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_arbitrum_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_arbitrum_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_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": 1734109933.5893762, "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": 1734109933.591152, "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": 1734109933.5928214, "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": 1734109933.5970678, "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": 1734109933.5987637, "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": 1734109933.600385, "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": 1734109933.6020353, "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": 1734109933.6036813, "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": 1734109933.6053715, "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": 1734109933.6070175, "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": 1734109933.6112046, "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": 1734109933.6129317, "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": 1734109933.6146057, "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": 1734109933.6162298, "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": 1734109933.6178465, "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": 1734109933.619604, "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": 1734109933.6236827, "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": 1734109933.6254919, "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": 1734109933.6271951, "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": 1734109933.63126, "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": 1734109933.6333506, "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": 1734109933.635013, "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": 1734109933.6366098, "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": 1734109933.6382406, "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": 1734109933.6424227, "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": 1734109933.644048, "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": 1734109933.6456814, "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": 1734109933.649883, "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": 1734109933.65159, "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": 1734109933.655733, "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": 1734109933.6574066, "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": 1734109933.6590738, "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": 1734109933.660822, "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": 1734109933.6624384, "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": 1734109933.664073, "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": 1734109933.6682425, "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": 1734109933.6699126, "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": 1734109933.6715865, "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": 1734109933.6758022, "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": 1734109933.6774569, "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": 1734109933.679098, "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": 1734109933.6808434, "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": 1734109933.6824892, "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": 1734109933.686562, "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": 1734109933.6883876, "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": 1734109933.690036, "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": 1734109933.6916745, "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": 1734109933.6932657, "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": 1734109933.6950142, "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": 1734109933.6990683, "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": 1734109933.7008872, "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": 1734109933.7025838, "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": 1734109933.7066326, "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": 1734109933.7084386, "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": 1734109933.7100801, "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": 1734109933.7117336, "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": 1734109933.7133765, "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": 1734109933.7177687, "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": 1734109933.7194574, "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": 1734109933.723671, "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": 1734109933.7253034, "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": 1734109933.7269518, "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": 1734109933.728693, "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": 1734109933.7302933, "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": 1734109933.7319832, "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": 1734109933.7336268, "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": 1734109933.7376964, "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": 1734109933.739387, "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": 1734109933.741018, "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": 1734109933.7428398, "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": 1734109933.7469447, "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": 1734109933.748606, "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": 1734109933.7504928, "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": 1734109933.7546802, "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": 1734109933.7565033, "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": 1734109933.758144, "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": 1734109933.7598293, "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": 1734109933.7614648, "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": 1734109933.7631328, "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": 1734109933.7648783, "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": 1734109933.766555, "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": 1734109933.7707636, "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": 1734109933.7724457, "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": 1734109933.7766907, "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": 1734109933.7783723, "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": 1734109933.7800772, "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": 1734109933.7842376, "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": 1734109933.7858908, "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": 1734109933.7875755, "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": 1734109933.7891757, "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": 1734109933.790931, "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": 1734109933.7950327, "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": 1734109933.7971416, "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": 1734109933.79882, "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": 1734109933.8004487, "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": 1734109933.8020537, "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": 1734109933.8036957, "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": 1734109933.805397, "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": 1734109933.8070488, "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": 1734109933.8086607, "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": 1734109933.8102663, "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": 1734109933.8119242, "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": 1734109933.8160243, "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": 1734109933.8176687, "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": 1734109933.8194594, "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": 1734109933.8210814, "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": 1734109933.8227096, "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": 1734109933.8243277, "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": 1734109933.8259172, "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": 1734109933.8276496, "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": 1734109933.8292496, "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": 1734109933.8308973, "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": 1734109933.835016, "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": 1734109933.8366554, "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": 1734109933.838316, "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": 1734109933.842501, "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": 1734109933.844145, "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": 1734109933.8457775, "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": 1734109933.8499622, "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": 1734109933.8516328, "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": 1734109933.8532875, "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": 1734109933.8574023, "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": 1734109933.8590758, "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": 1734109933.8607392, "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": 1734109933.8649883, "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": 1734109933.8666651, "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": 1734109933.8684564, "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": 1734109933.87008, "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": 1734109933.8717053, "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": 1734109933.8733695, "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": 1734109933.87753, "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": 1734109933.8791971, "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": 1734109933.8808272, "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": 1734109933.882969, "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": 1734109933.884605, "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": 1734109933.8885455, "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": 1734109933.8904004, "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": 1734109933.8944423, "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": 1734109933.896263, "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": 1734109933.8978806, "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": 1734109933.8995583, "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": 1734109933.9011583, "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": 1734109933.9027898, "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": 1734109933.9045284, "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": 1734109933.908556, "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": 1734109933.9103742, "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": 1734109933.9120584, "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": 1734109933.91627, "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": 1734109933.917939, "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": 1734109933.9220102, "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": 1734109933.923878, "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": 1734109933.9278939, "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": 1734109933.929726, "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": 1734109933.9336865, "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": 1734109933.9353561, "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": 1734109933.9371612, "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": 1734109933.938796, "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": 1734109933.9404309, "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": 1734109933.9445903, "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": 1734109933.9462435, "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": 1734109933.9478843, "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": 1734109933.9496295, "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": 1734109933.951259, "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": 1734109933.9528954, "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": 1734109933.954569, "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": 1734109933.9587293, "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": 1734109933.96039, "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": 1734109933.9620411, "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": 1734109933.9663703, "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": 1734109933.9680414, "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": 1734109933.9696622, "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": 1734109933.971435, "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": 1734109933.973055, "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": 1734109933.9746819, "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": 1734109933.9763148, "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": 1734109933.980491, "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": 1734109933.9821656, "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": 1734109933.9862962, "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": 1734109933.9879968, "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": 1734109933.989713, "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": 1734109933.9913664, "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": 1734109933.9931035, "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": 1734109933.9947636, "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": 1734109933.9989982, "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": 1734109934.0007207, "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": 1734109934.0049794, "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": 1734109934.006667, "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": 1734109934.0083191, "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": 1734109934.0099683, "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": 1734109934.0116334, "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": 1734109934.0158038, "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": 1734109934.0174448, "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": 1734109934.0191193, "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": 1734109934.0208783, "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": 1734109934.022533, "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": 1734109934.0241625, "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": 1734109934.025796, "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": 1734109934.0275438, "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": 1734109934.0316062, "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": 1734109934.0334227, "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": 1734109934.0351183, "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": 1734109934.0391943, "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": 1734109934.041004, "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": 1734109934.0450158, "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": 1734109934.047098, "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": 1734109934.0487456, "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": 1734109934.0503635, "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": 1734109934.0520947, "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": 1734109934.056254, "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": 1734109934.0578918, "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": 1734109934.059566, "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_blocks_snax_mainnet_block_number.af5006826a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_snax_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_snax_mainnet_block_number.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_blocks_snax_mainnet_block_number.af5006826a", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_blocks_snax_mainnet_block_number"], "alias": "not_null_blocks_snax_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": 1734109934.0747328, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_blocks_snax_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"blocks_snax_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_snax_mainnet", "attached_node": "model.synthetix.blocks_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_snax_mainnet_block_number.305396795f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_snax_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_snax_mainnet_block_number.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_blocks_snax_mainnet_block_number.305396795f", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_blocks_snax_mainnet_block_number"], "alias": "unique_blocks_snax_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": 1734109934.0764854, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_blocks_snax_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_snax_mainnet\".\"blocks_snax_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_snax_mainnet", "attached_node": "model.synthetix.blocks_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_id.c54eaad82a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_recorded_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_recorded_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_id.c54eaad82a", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_recorded_snax_mainnet_id"], "alias": "not_null_spartan_vote_recorded_snax_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": 1734109934.0781014, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spartan_vote_recorded_snax_mainnet_id.3a579d9ca6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spartan_vote_recorded_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spartan_vote_recorded_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_spartan_vote_recorded_snax_mainnet_id.3a579d9ca6", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_spartan_vote_recorded_snax_mainnet_id"], "alias": "unique_spartan_vote_recorded_snax_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": 1734109934.0797398, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_recorded_snax_mainnet_id.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_mainnet\".\"spartan_vote_recorded_snax_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_event_name.f0e8e4e02b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_recorded_snax_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_recorded_snax_mainnet_event_name.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_event_name.f0e8e4e02b", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_recorded_snax_mainnet_event_name"], "alias": "not_null_spartan_vote_recorded_snax_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": 1734109934.0813224, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spartan_vote_recorded_snax_mainnet_event_name__VoteRecorded.ca880b79ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spartan_vote_recorded_snax_mainnet_event_name__VoteRecorded", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spartan_vote_r_436280a0cca390e8f540ba02f80f5a02.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.accepted_values_spartan_vote_recorded_snax_mainnet_event_name__VoteRecorded.ca880b79ec", "fqn": ["synthetix", "raw", "snax", "mainnet", "accepted_values_spartan_vote_recorded_snax_mainnet_event_name__VoteRecorded"], "alias": "accepted_values_spartan_vote_r_436280a0cca390e8f540ba02f80f5a02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spartan_vote_r_436280a0cca390e8f540ba02f80f5a02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spartan_vote_r_436280a0cca390e8f540ba02f80f5a02"}, "created_at": 1734109934.0830808, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spartan_vote_r_436280a0cca390e8f540ba02f80f5a02\") }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_r_436280a0cca390e8f540ba02f80f5a02.sql", "compiled": true, "compiled_code": "\n \n \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_mainnet\".\"spartan_vote_recorded_snax_mainnet\"\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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VoteRecorded"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_chain_id.838e4c7a7b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_recorded_snax_mainnet_chain_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_recorded_snax_mainnet_chain_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_chain_id.838e4c7a7b", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_recorded_snax_mainnet_chain_id"], "alias": "not_null_spartan_vote_recorded_snax_mainnet_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": 1734109934.0874343, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_chain_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect chain_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_mainnet\"\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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "chain_id", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_block_timestamp.bf4010dd91": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_recorded_snax_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_recorded_snax_mainnet_block_timestamp.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_block_timestamp.bf4010dd91", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_recorded_snax_mainnet_block_timestamp"], "alias": "not_null_spartan_vote_recorded_snax_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": 1734109934.0892556, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_voter.8b917cfb88": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_recorded_snax_mainnet_voter", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_recorded_snax_mainnet_voter.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_voter.8b917cfb88", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_recorded_snax_mainnet_voter"], "alias": "not_null_spartan_vote_recorded_snax_mainnet_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": 1734109934.0909061, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_voter.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voter\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_mainnet\"\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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voter", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_epoch_id.421abaf123": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_recorded_snax_mainnet_epoch_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_recorded_snax_mainnet_epoch_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_epoch_id.421abaf123", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_recorded_snax_mainnet_epoch_id"], "alias": "not_null_spartan_vote_recorded_snax_mainnet_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": 1734109934.0925114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_epoch_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect epoch_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_mainnet\"\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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "epoch_id", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_transaction_hash.f8b7b79d0d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_recorded_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_recorded_snax_mainnet_transaction_hash.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_transaction_hash.f8b7b79d0d", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_recorded_snax_mainnet_transaction_hash"], "alias": "not_null_spartan_vote_recorded_snax_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": 1734109934.0941033, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spartan_vote_recorded_snax_mainnet_transaction_hash.49632d745f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spartan_vote_recorded_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "unique_spartan_vote_recorded_snax_mainnet_transaction_hash.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_spartan_vote_recorded_snax_mainnet_transaction_hash.49632d745f", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_spartan_vote_recorded_snax_mainnet_transaction_hash"], "alias": "unique_spartan_vote_recorded_snax_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": 1734109934.0957396, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_recorded_snax_mainnet_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_mainnet\".\"spartan_vote_recorded_snax_mainnet\"\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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_candidates.a620a4a121": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_recorded_snax_mainnet_candidates", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_recorded_snax_mainnet_candidates.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_candidates.a620a4a121", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_recorded_snax_mainnet_candidates"], "alias": "not_null_spartan_vote_recorded_snax_mainnet_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": 1734109934.0974624, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_candidates.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect candidates\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_mainnet\"\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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "candidates", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_block_number.74de43fe96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_recorded_snax_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_recorded_snax_mainnet_block_number.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_block_number.74de43fe96", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_recorded_snax_mainnet_block_number"], "alias": "not_null_spartan_vote_recorded_snax_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": 1734109934.0990982, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_voting_power.289d3b2c0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_recorded_snax_mainnet_voting_power", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_recorded_snax_mainnet_voting_power.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_voting_power.289d3b2c0a", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_recorded_snax_mainnet_voting_power"], "alias": "not_null_spartan_vote_recorded_snax_mainnet_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": 1734109934.1006792, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_voting_power.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voting_power\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_mainnet\"\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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voting_power", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_contract.2f2ea67860": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_recorded_snax_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_recorded_snax_mainnet_contract.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_recorded_snax_mainnet_contract.2f2ea67860", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_recorded_snax_mainnet_contract"], "alias": "not_null_spartan_vote_recorded_snax_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": 1734109934.1022654, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_recorded_snax_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_recorded_snax_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.spartan_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spartan_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_id.c3b897a816": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_withdrawn_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_withdrawn_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_id.c3b897a816", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_withdrawn_snax_mainnet_id"], "alias": "not_null_spartan_vote_withdrawn_snax_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": 1734109934.1039772, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_withdrawn_snax_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spartan_vote_withdrawn_snax_mainnet_id.cd6cb96b4a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spartan_vote_withdrawn_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spartan_vote_withdrawn_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_spartan_vote_withdrawn_snax_mainnet_id.cd6cb96b4a", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_spartan_vote_withdrawn_snax_mainnet_id"], "alias": "unique_spartan_vote_withdrawn_snax_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": 1734109934.1055784, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_withdrawn_snax_mainnet_id.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_mainnet\".\"spartan_vote_withdrawn_snax_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_event_name.269927edcc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_withdrawn_snax_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_withdrawn_snax_mainnet_event_name.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_event_name.269927edcc", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_withdrawn_snax_mainnet_event_name"], "alias": "not_null_spartan_vote_withdrawn_snax_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": 1734109934.1072018, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_withdrawn_snax_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.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spartan_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn.108485caef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spartan_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spartan_vote_w_579bf425b6501dcd4308f3add0d96596.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.accepted_values_spartan_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn.108485caef", "fqn": ["synthetix", "raw", "snax", "mainnet", "accepted_values_spartan_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn"], "alias": "accepted_values_spartan_vote_w_579bf425b6501dcd4308f3add0d96596", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spartan_vote_w_579bf425b6501dcd4308f3add0d96596", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spartan_vote_w_579bf425b6501dcd4308f3add0d96596"}, "created_at": 1734109934.108822, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spartan_vote_w_579bf425b6501dcd4308f3add0d96596\") }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_w_579bf425b6501dcd4308f3add0d96596.sql", "compiled": true, "compiled_code": "\n \n \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_mainnet\".\"spartan_vote_withdrawn_snax_mainnet\"\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.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VoteWithdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_chain_id.d9d9b4234a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_withdrawn_snax_mainnet_chain_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_withdrawn_snax_mainnet_chain_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_chain_id.d9d9b4234a", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_withdrawn_snax_mainnet_chain_id"], "alias": "not_null_spartan_vote_withdrawn_snax_mainnet_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": 1734109934.1132767, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_chain_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect chain_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_withdrawn_snax_mainnet\"\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.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "chain_id", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spartan_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161.8c40a37fe3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spartan_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spartan_vote_w_a3b7999b960cb161e04b492d6253a022.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.accepted_values_spartan_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161.8c40a37fe3", "fqn": ["synthetix", "raw", "snax", "mainnet", "accepted_values_spartan_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161"], "alias": "accepted_values_spartan_vote_w_a3b7999b960cb161e04b492d6253a022", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spartan_vote_w_a3b7999b960cb161e04b492d6253a022", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spartan_vote_w_a3b7999b960cb161e04b492d6253a022"}, "created_at": 1734109934.1149874, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spartan_vote_w_a3b7999b960cb161e04b492d6253a022\") }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_spartan_vote_w_a3b7999b960cb161e04b492d6253a022.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_mainnet\".\"spartan_vote_withdrawn_snax_mainnet\"\n group by chain_id\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n '2192','10','1','8453','42161'\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.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["2192", "10", "1", "8453", "42161"], "column_name": "chain_id", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_block_timestamp.ed575d0da2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_withdrawn_snax_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_withdrawn_snax_mainnet_block_timestamp.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_block_timestamp.ed575d0da2", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_withdrawn_snax_mainnet_block_timestamp"], "alias": "not_null_spartan_vote_withdrawn_snax_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": 1734109934.1209266, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_withdrawn_snax_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.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_voter.5532367fa9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_withdrawn_snax_mainnet_voter", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_withdrawn_snax_mainnet_voter.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_voter.5532367fa9", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_withdrawn_snax_mainnet_voter"], "alias": "not_null_spartan_vote_withdrawn_snax_mainnet_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": 1734109934.1226075, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_voter.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voter\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_withdrawn_snax_mainnet\"\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.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voter", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_epoch_id.d4f6724aef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_withdrawn_snax_mainnet_epoch_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_withdrawn_snax_mainnet_epoch_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_epoch_id.d4f6724aef", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_withdrawn_snax_mainnet_epoch_id"], "alias": "not_null_spartan_vote_withdrawn_snax_mainnet_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": 1734109934.124424, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_epoch_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect epoch_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_withdrawn_snax_mainnet\"\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.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "epoch_id", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_transaction_hash.3da8fc32ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_withdrawn_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_withdrawn_snax_mainnet_transaction_hash.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_transaction_hash.3da8fc32ef", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_withdrawn_snax_mainnet_transaction_hash"], "alias": "not_null_spartan_vote_withdrawn_snax_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": 1734109934.1260495, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_withdrawn_snax_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.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spartan_vote_withdrawn_snax_mainnet_transaction_hash.c04b524f41": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spartan_vote_withdrawn_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "unique_spartan_vote_withdrawn_snax_mainnet_transaction_hash.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_spartan_vote_withdrawn_snax_mainnet_transaction_hash.c04b524f41", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_spartan_vote_withdrawn_snax_mainnet_transaction_hash"], "alias": "unique_spartan_vote_withdrawn_snax_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": 1734109934.127683, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_spartan_vote_withdrawn_snax_mainnet_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_mainnet\".\"spartan_vote_withdrawn_snax_mainnet\"\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.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_block_number.8781742caa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_withdrawn_snax_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_withdrawn_snax_mainnet_block_number.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_block_number.8781742caa", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_withdrawn_snax_mainnet_block_number"], "alias": "not_null_spartan_vote_withdrawn_snax_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": 1734109934.129308, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_withdrawn_snax_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.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_contract.8eb7f37781": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spartan_vote_withdrawn_snax_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spartan_vote_withdrawn_snax_mainnet_contract.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_spartan_vote_withdrawn_snax_mainnet_contract.8eb7f37781", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_spartan_vote_withdrawn_snax_mainnet_contract"], "alias": "not_null_spartan_vote_withdrawn_snax_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": 1734109934.1314247, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spartan_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spartan_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_spartan_vote_withdrawn_snax_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"spartan_vote_withdrawn_snax_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.spartan_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.spartan_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spartan_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_id.1f48bf1a21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_recorded_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_recorded_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_id.1f48bf1a21", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_recorded_snax_mainnet_id"], "alias": "not_null_treasury_vote_recorded_snax_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": 1734109934.133034, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_treasury_vote_recorded_snax_mainnet_id.d13b536538": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_treasury_vote_recorded_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_treasury_vote_recorded_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_treasury_vote_recorded_snax_mainnet_id.d13b536538", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_treasury_vote_recorded_snax_mainnet_id"], "alias": "unique_treasury_vote_recorded_snax_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": 1734109934.1346576, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_recorded_snax_mainnet_id.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_mainnet\".\"treasury_vote_recorded_snax_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_event_name.2430cbaa6f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_recorded_snax_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_recorded_snax_mainnet_event_name.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_event_name.2430cbaa6f", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_recorded_snax_mainnet_event_name"], "alias": "not_null_treasury_vote_recorded_snax_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": 1734109934.1362457, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_treasury_vote_recorded_snax_mainnet_event_name__VoteRecorded.e4a7517ef5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_treasury_vote_recorded_snax_mainnet_event_name__VoteRecorded", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_treasury_vote__9b0c0c97eb673950462cc5421b7c62e9.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.accepted_values_treasury_vote_recorded_snax_mainnet_event_name__VoteRecorded.e4a7517ef5", "fqn": ["synthetix", "raw", "snax", "mainnet", "accepted_values_treasury_vote_recorded_snax_mainnet_event_name__VoteRecorded"], "alias": "accepted_values_treasury_vote__9b0c0c97eb673950462cc5421b7c62e9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_treasury_vote__9b0c0c97eb673950462cc5421b7c62e9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_treasury_vote__9b0c0c97eb673950462cc5421b7c62e9"}, "created_at": 1734109934.1378846, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_treasury_vote__9b0c0c97eb673950462cc5421b7c62e9\") }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__9b0c0c97eb673950462cc5421b7c62e9.sql", "compiled": true, "compiled_code": "\n \n \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_mainnet\".\"treasury_vote_recorded_snax_mainnet\"\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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VoteRecorded"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_chain_id.8223f78907": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_recorded_snax_mainnet_chain_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_recorded_snax_mainnet_chain_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_chain_id.8223f78907", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_recorded_snax_mainnet_chain_id"], "alias": "not_null_treasury_vote_recorded_snax_mainnet_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": 1734109934.1419458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_chain_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect chain_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_mainnet\"\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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "chain_id", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_block_timestamp.1db4ce563e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_recorded_snax_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_recorded_snax_mainnet_block_timestamp.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_block_timestamp.1db4ce563e", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_recorded_snax_mainnet_block_timestamp"], "alias": "not_null_treasury_vote_recorded_snax_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": 1734109934.1436002, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_voter.7b36a4fa86": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_recorded_snax_mainnet_voter", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_recorded_snax_mainnet_voter.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_voter.7b36a4fa86", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_recorded_snax_mainnet_voter"], "alias": "not_null_treasury_vote_recorded_snax_mainnet_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": 1734109934.145355, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_voter.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voter\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_mainnet\"\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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voter", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_epoch_id.a59e309b31": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_recorded_snax_mainnet_epoch_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_recorded_snax_mainnet_epoch_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_epoch_id.a59e309b31", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_recorded_snax_mainnet_epoch_id"], "alias": "not_null_treasury_vote_recorded_snax_mainnet_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": 1734109934.1469893, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_epoch_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect epoch_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_mainnet\"\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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "epoch_id", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_transaction_hash.5851258e66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_recorded_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_recorded_snax_mainnet_transaction_hash.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_transaction_hash.5851258e66", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_recorded_snax_mainnet_transaction_hash"], "alias": "not_null_treasury_vote_recorded_snax_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": 1734109934.1486006, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_treasury_vote_recorded_snax_mainnet_transaction_hash.9768cf1aa6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_treasury_vote_recorded_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "unique_treasury_vote_recorded_snax_mainnet_transaction_hash.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_treasury_vote_recorded_snax_mainnet_transaction_hash.9768cf1aa6", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_treasury_vote_recorded_snax_mainnet_transaction_hash"], "alias": "unique_treasury_vote_recorded_snax_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": 1734109934.1501882, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_recorded_snax_mainnet_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_mainnet\".\"treasury_vote_recorded_snax_mainnet\"\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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_candidates.dee538820e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_recorded_snax_mainnet_candidates", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_recorded_snax_mainnet_candidates.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_candidates.dee538820e", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_recorded_snax_mainnet_candidates"], "alias": "not_null_treasury_vote_recorded_snax_mainnet_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": 1734109934.1518059, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_candidates.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect candidates\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_mainnet\"\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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "candidates", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_block_number.ece9a809a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_recorded_snax_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_recorded_snax_mainnet_block_number.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_block_number.ece9a809a9", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_recorded_snax_mainnet_block_number"], "alias": "not_null_treasury_vote_recorded_snax_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": 1734109934.1535254, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_voting_power.fc033faf22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_recorded_snax_mainnet_voting_power", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_recorded_snax_mainnet_voting_power.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_voting_power.fc033faf22", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_recorded_snax_mainnet_voting_power"], "alias": "not_null_treasury_vote_recorded_snax_mainnet_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": 1734109934.155159, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_voting_power.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voting_power\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_mainnet\"\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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voting_power", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_contract.c25d469610": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_recorded_snax_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_recorded_snax_mainnet_contract.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_recorded_snax_mainnet_contract.c25d469610", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_recorded_snax_mainnet_contract"], "alias": "not_null_treasury_vote_recorded_snax_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": 1734109934.1567645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_recorded_snax_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_recorded_snax_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.treasury_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('treasury_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_id.ffce1d7680": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_withdrawn_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_withdrawn_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_id.ffce1d7680", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_withdrawn_snax_mainnet_id"], "alias": "not_null_treasury_vote_withdrawn_snax_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": 1734109934.158372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_withdrawn_snax_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_treasury_vote_withdrawn_snax_mainnet_id.cefaabe32f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_treasury_vote_withdrawn_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_treasury_vote_withdrawn_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_treasury_vote_withdrawn_snax_mainnet_id.cefaabe32f", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_treasury_vote_withdrawn_snax_mainnet_id"], "alias": "unique_treasury_vote_withdrawn_snax_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": 1734109934.160007, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_withdrawn_snax_mainnet_id.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_mainnet\".\"treasury_vote_withdrawn_snax_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_event_name.3a8d12a41e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_withdrawn_snax_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_withdrawn_snax_mainnet_event_name.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_event_name.3a8d12a41e", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_withdrawn_snax_mainnet_event_name"], "alias": "not_null_treasury_vote_withdrawn_snax_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": 1734109934.1617227, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_withdrawn_snax_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.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_treasury_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn.d758312593": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_treasury_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_treasury_vote__a2ae5a5c5b104f34da58bf05b5084d6c.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.accepted_values_treasury_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn.d758312593", "fqn": ["synthetix", "raw", "snax", "mainnet", "accepted_values_treasury_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn"], "alias": "accepted_values_treasury_vote__a2ae5a5c5b104f34da58bf05b5084d6c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_treasury_vote__a2ae5a5c5b104f34da58bf05b5084d6c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_treasury_vote__a2ae5a5c5b104f34da58bf05b5084d6c"}, "created_at": 1734109934.1633782, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_treasury_vote__a2ae5a5c5b104f34da58bf05b5084d6c\") }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__a2ae5a5c5b104f34da58bf05b5084d6c.sql", "compiled": true, "compiled_code": "\n \n \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_mainnet\".\"treasury_vote_withdrawn_snax_mainnet\"\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.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VoteWithdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_chain_id.1991832eba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_withdrawn_snax_mainnet_chain_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_withdrawn_snax_mainnet_chain_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_chain_id.1991832eba", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_withdrawn_snax_mainnet_chain_id"], "alias": "not_null_treasury_vote_withdrawn_snax_mainnet_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": 1734109934.1675313, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_chain_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect chain_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_withdrawn_snax_mainnet\"\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.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "chain_id", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_treasury_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161.37c0ffb3f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_treasury_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_treasury_vote__18fd53e7e0ebc9d249da049fc2331fba.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.accepted_values_treasury_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161.37c0ffb3f6", "fqn": ["synthetix", "raw", "snax", "mainnet", "accepted_values_treasury_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161"], "alias": "accepted_values_treasury_vote__18fd53e7e0ebc9d249da049fc2331fba", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_treasury_vote__18fd53e7e0ebc9d249da049fc2331fba", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_treasury_vote__18fd53e7e0ebc9d249da049fc2331fba"}, "created_at": 1734109934.1692069, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_treasury_vote__18fd53e7e0ebc9d249da049fc2331fba\") }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_treasury_vote__18fd53e7e0ebc9d249da049fc2331fba.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_mainnet\".\"treasury_vote_withdrawn_snax_mainnet\"\n group by chain_id\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n '2192','10','1','8453','42161'\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.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["2192", "10", "1", "8453", "42161"], "column_name": "chain_id", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_block_timestamp.dbe2a9ba3e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_withdrawn_snax_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_withdrawn_snax_mainnet_block_timestamp.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_block_timestamp.dbe2a9ba3e", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_withdrawn_snax_mainnet_block_timestamp"], "alias": "not_null_treasury_vote_withdrawn_snax_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": 1734109934.1733584, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_withdrawn_snax_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.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_voter.b972eb7f34": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_withdrawn_snax_mainnet_voter", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_withdrawn_snax_mainnet_voter.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_voter.b972eb7f34", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_withdrawn_snax_mainnet_voter"], "alias": "not_null_treasury_vote_withdrawn_snax_mainnet_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": 1734109934.1750312, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_voter.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voter\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_withdrawn_snax_mainnet\"\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.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voter", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_epoch_id.6543be91bd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_withdrawn_snax_mainnet_epoch_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_withdrawn_snax_mainnet_epoch_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_epoch_id.6543be91bd", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_withdrawn_snax_mainnet_epoch_id"], "alias": "not_null_treasury_vote_withdrawn_snax_mainnet_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": 1734109934.1766539, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_epoch_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect epoch_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_withdrawn_snax_mainnet\"\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.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "epoch_id", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_transaction_hash.12490c3827": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_withdrawn_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_withdrawn_snax_mainnet_transaction_hash.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_transaction_hash.12490c3827", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_withdrawn_snax_mainnet_transaction_hash"], "alias": "not_null_treasury_vote_withdrawn_snax_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": 1734109934.1782455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_withdrawn_snax_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.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_treasury_vote_withdrawn_snax_mainnet_transaction_hash.771718d1e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_treasury_vote_withdrawn_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "unique_treasury_vote_withdrawn_snax_mainnet_transaction_hash.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_treasury_vote_withdrawn_snax_mainnet_transaction_hash.771718d1e2", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_treasury_vote_withdrawn_snax_mainnet_transaction_hash"], "alias": "unique_treasury_vote_withdrawn_snax_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": 1734109934.179861, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_treasury_vote_withdrawn_snax_mainnet_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_mainnet\".\"treasury_vote_withdrawn_snax_mainnet\"\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.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_block_number.271b1a17ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_withdrawn_snax_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_withdrawn_snax_mainnet_block_number.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_block_number.271b1a17ba", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_withdrawn_snax_mainnet_block_number"], "alias": "not_null_treasury_vote_withdrawn_snax_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": 1734109934.1815517, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_withdrawn_snax_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.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_contract.3e76561d2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_treasury_vote_withdrawn_snax_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_treasury_vote_withdrawn_snax_mainnet_contract.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_treasury_vote_withdrawn_snax_mainnet_contract.3e76561d2e", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_treasury_vote_withdrawn_snax_mainnet_contract"], "alias": "not_null_treasury_vote_withdrawn_snax_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": 1734109934.1831853, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "treasury_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.treasury_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_treasury_vote_withdrawn_snax_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"treasury_vote_withdrawn_snax_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.treasury_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.treasury_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('treasury_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_id.d4148bfa57": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_recorded_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_recorded_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_id.d4148bfa57", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_recorded_snax_mainnet_id"], "alias": "not_null_ambassador_vote_recorded_snax_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": 1734109934.1847856, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_ambassador_vote_recorded_snax_mainnet_id.2ee777df0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_ambassador_vote_recorded_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_ambassador_vote_recorded_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_ambassador_vote_recorded_snax_mainnet_id.2ee777df0a", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_ambassador_vote_recorded_snax_mainnet_id"], "alias": "unique_ambassador_vote_recorded_snax_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": 1734109934.1863797, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_recorded_snax_mainnet_id.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_mainnet\".\"ambassador_vote_recorded_snax_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_event_name.8b77ef45f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_recorded_snax_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_recorded_snax_mainnet_event_name.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_event_name.8b77ef45f7", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_recorded_snax_mainnet_event_name"], "alias": "not_null_ambassador_vote_recorded_snax_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": 1734109934.1880088, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_ambassador_vote_recorded_snax_mainnet_event_name__VoteRecorded.54d007d547": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_ambassador_vote_recorded_snax_mainnet_event_name__VoteRecorded", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_ambassador_vot_bb4bc4fc29c0c50295736cc83c7add2a.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.accepted_values_ambassador_vote_recorded_snax_mainnet_event_name__VoteRecorded.54d007d547", "fqn": ["synthetix", "raw", "snax", "mainnet", "accepted_values_ambassador_vote_recorded_snax_mainnet_event_name__VoteRecorded"], "alias": "accepted_values_ambassador_vot_bb4bc4fc29c0c50295736cc83c7add2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_ambassador_vot_bb4bc4fc29c0c50295736cc83c7add2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_ambassador_vot_bb4bc4fc29c0c50295736cc83c7add2a"}, "created_at": 1734109934.189755, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_ambassador_vot_bb4bc4fc29c0c50295736cc83c7add2a\") }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_bb4bc4fc29c0c50295736cc83c7add2a.sql", "compiled": true, "compiled_code": "\n \n \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_mainnet\".\"ambassador_vote_recorded_snax_mainnet\"\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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VoteRecorded"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_chain_id.15e179b253": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_recorded_snax_mainnet_chain_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_recorded_snax_mainnet_chain_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_chain_id.15e179b253", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_recorded_snax_mainnet_chain_id"], "alias": "not_null_ambassador_vote_recorded_snax_mainnet_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": 1734109934.1937273, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_chain_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect chain_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_mainnet\"\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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "chain_id", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_block_timestamp.22fdffe044": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_recorded_snax_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_recorded_snax_mainnet_block_timestamp.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_block_timestamp.22fdffe044", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_recorded_snax_mainnet_block_timestamp"], "alias": "not_null_ambassador_vote_recorded_snax_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": 1734109934.1955817, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_voter.ab2df49992": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_recorded_snax_mainnet_voter", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_recorded_snax_mainnet_voter.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_voter.ab2df49992", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_recorded_snax_mainnet_voter"], "alias": "not_null_ambassador_vote_recorded_snax_mainnet_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": 1734109934.1972003, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_voter.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voter\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_mainnet\"\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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voter", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_epoch_id.85e943f65f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_recorded_snax_mainnet_epoch_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_recorded_snax_mainnet_epoch_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_epoch_id.85e943f65f", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_recorded_snax_mainnet_epoch_id"], "alias": "not_null_ambassador_vote_recorded_snax_mainnet_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": 1734109934.1988304, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_epoch_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect epoch_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_mainnet\"\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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "epoch_id", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_transaction_hash.d7fa881495": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_recorded_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_recorded_snax_mainnet_transaction_hash.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_transaction_hash.d7fa881495", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_recorded_snax_mainnet_transaction_hash"], "alias": "not_null_ambassador_vote_recorded_snax_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": 1734109934.2004352, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_ambassador_vote_recorded_snax_mainnet_transaction_hash.66af7027de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_ambassador_vote_recorded_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "unique_ambassador_vote_recorded_snax_mainnet_transaction_hash.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_ambassador_vote_recorded_snax_mainnet_transaction_hash.66af7027de", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_ambassador_vote_recorded_snax_mainnet_transaction_hash"], "alias": "unique_ambassador_vote_recorded_snax_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": 1734109934.2020295, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_recorded_snax_mainnet_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_mainnet\".\"ambassador_vote_recorded_snax_mainnet\"\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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_candidates.39a8d5dca6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_recorded_snax_mainnet_candidates", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_recorded_snax_mainnet_candidates.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_candidates.39a8d5dca6", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_recorded_snax_mainnet_candidates"], "alias": "not_null_ambassador_vote_recorded_snax_mainnet_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": 1734109934.2037654, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_candidates.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect candidates\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_mainnet\"\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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "candidates", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_block_number.463911c810": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_recorded_snax_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_recorded_snax_mainnet_block_number.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_block_number.463911c810", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_recorded_snax_mainnet_block_number"], "alias": "not_null_ambassador_vote_recorded_snax_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": 1734109934.2053638, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_voting_power.94944f5709": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_recorded_snax_mainnet_voting_power", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_recorded_snax_mainnet_voting_power.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_voting_power.94944f5709", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_recorded_snax_mainnet_voting_power"], "alias": "not_null_ambassador_vote_recorded_snax_mainnet_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": 1734109934.2069793, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_voting_power.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voting_power\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_mainnet\"\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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voting_power", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_contract.bcb9549b94": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_recorded_snax_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_recorded_snax_mainnet_contract.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_recorded_snax_mainnet_contract.bcb9549b94", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_recorded_snax_mainnet_contract"], "alias": "not_null_ambassador_vote_recorded_snax_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": 1734109934.20858, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_recorded_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_recorded_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_recorded_snax_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_recorded_snax_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.ambassador_vote_recorded_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_recorded_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('ambassador_vote_recorded_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_id.95a539d2e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_withdrawn_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_withdrawn_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_id.95a539d2e0", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_withdrawn_snax_mainnet_id"], "alias": "not_null_ambassador_vote_withdrawn_snax_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": 1734109934.2102776, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_withdrawn_snax_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_ambassador_vote_withdrawn_snax_mainnet_id.3aa78e2ed2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_ambassador_vote_withdrawn_snax_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_ambassador_vote_withdrawn_snax_mainnet_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_ambassador_vote_withdrawn_snax_mainnet_id.3aa78e2ed2", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_ambassador_vote_withdrawn_snax_mainnet_id"], "alias": "unique_ambassador_vote_withdrawn_snax_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": 1734109934.2119143, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_withdrawn_snax_mainnet_id.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_mainnet\".\"ambassador_vote_withdrawn_snax_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_event_name.5660482f61": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_withdrawn_snax_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_withdrawn_snax_mainnet_event_name.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_event_name.5660482f61", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_withdrawn_snax_mainnet_event_name"], "alias": "not_null_ambassador_vote_withdrawn_snax_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": 1734109934.2135239, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_withdrawn_snax_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.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_ambassador_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn.60823368eb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_ambassador_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_ambassador_vot_2828b5170123cf65e3e0e100826c8d72.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.accepted_values_ambassador_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn.60823368eb", "fqn": ["synthetix", "raw", "snax", "mainnet", "accepted_values_ambassador_vote_withdrawn_snax_mainnet_event_name__VoteWithdrawn"], "alias": "accepted_values_ambassador_vot_2828b5170123cf65e3e0e100826c8d72", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_ambassador_vot_2828b5170123cf65e3e0e100826c8d72", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_ambassador_vot_2828b5170123cf65e3e0e100826c8d72"}, "created_at": 1734109934.2151647, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_ambassador_vot_2828b5170123cf65e3e0e100826c8d72\") }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_2828b5170123cf65e3e0e100826c8d72.sql", "compiled": true, "compiled_code": "\n \n \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_mainnet\".\"ambassador_vote_withdrawn_snax_mainnet\"\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.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VoteWithdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_chain_id.08c20376e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_withdrawn_snax_mainnet_chain_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_withdrawn_snax_mainnet_chain_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_chain_id.08c20376e0", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_withdrawn_snax_mainnet_chain_id"], "alias": "not_null_ambassador_vote_withdrawn_snax_mainnet_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": 1734109934.2194326, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_chain_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect chain_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_withdrawn_snax_mainnet\"\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.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "chain_id", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_ambassador_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161.0c8eff9ef3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_ambassador_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_ambassador_vot_23f8f2585be090d6b8cc1055ce1f10b4.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.accepted_values_ambassador_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161.0c8eff9ef3", "fqn": ["synthetix", "raw", "snax", "mainnet", "accepted_values_ambassador_vote_withdrawn_snax_mainnet_chain_id__2192__10__1__8453__42161"], "alias": "accepted_values_ambassador_vot_23f8f2585be090d6b8cc1055ce1f10b4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_ambassador_vot_23f8f2585be090d6b8cc1055ce1f10b4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_ambassador_vot_23f8f2585be090d6b8cc1055ce1f10b4"}, "created_at": 1734109934.2211099, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_ambassador_vot_23f8f2585be090d6b8cc1055ce1f10b4\") }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/accepted_values_ambassador_vot_23f8f2585be090d6b8cc1055ce1f10b4.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_mainnet\".\"ambassador_vote_withdrawn_snax_mainnet\"\n group by chain_id\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n '2192','10','1','8453','42161'\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.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["2192", "10", "1", "8453", "42161"], "column_name": "chain_id", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_block_timestamp.fb999cf588": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_withdrawn_snax_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_withdrawn_snax_mainnet_block_timestamp.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_block_timestamp.fb999cf588", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_withdrawn_snax_mainnet_block_timestamp"], "alias": "not_null_ambassador_vote_withdrawn_snax_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": 1734109934.2252362, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_withdrawn_snax_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.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_voter.489834d56e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_withdrawn_snax_mainnet_voter", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_withdrawn_snax_mainnet_voter.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_voter.489834d56e", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_withdrawn_snax_mainnet_voter"], "alias": "not_null_ambassador_vote_withdrawn_snax_mainnet_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": 1734109934.2269025, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_voter.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voter\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_withdrawn_snax_mainnet\"\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.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voter", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_epoch_id.e141cb577b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_withdrawn_snax_mainnet_epoch_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_withdrawn_snax_mainnet_epoch_id.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_epoch_id.e141cb577b", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_withdrawn_snax_mainnet_epoch_id"], "alias": "not_null_ambassador_vote_withdrawn_snax_mainnet_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": 1734109934.228536, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_epoch_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect epoch_id\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_withdrawn_snax_mainnet\"\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.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "epoch_id", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_transaction_hash.fa826d3f14": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_withdrawn_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_withd_061bf7235604b2babb905360cdd83f9f.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_transaction_hash.fa826d3f14", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_withdrawn_snax_mainnet_transaction_hash"], "alias": "not_null_ambassador_vote_withd_061bf7235604b2babb905360cdd83f9f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_ambassador_vote_withd_061bf7235604b2babb905360cdd83f9f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_ambassador_vote_withd_061bf7235604b2babb905360cdd83f9f"}, "created_at": 1734109934.2301593, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_ambassador_vote_withd_061bf7235604b2babb905360cdd83f9f\") }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withd_061bf7235604b2babb905360cdd83f9f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_withdrawn_snax_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.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_ambassador_vote_withdrawn_snax_mainnet_transaction_hash.4355134051": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_ambassador_vote_withdrawn_snax_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "unique_ambassador_vote_withdrawn_snax_mainnet_transaction_hash.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.unique_ambassador_vote_withdrawn_snax_mainnet_transaction_hash.4355134051", "fqn": ["synthetix", "raw", "snax", "mainnet", "unique_ambassador_vote_withdrawn_snax_mainnet_transaction_hash"], "alias": "unique_ambassador_vote_withdrawn_snax_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": 1734109934.231936, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/unique_ambassador_vote_withdrawn_snax_mainnet_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_mainnet\".\"ambassador_vote_withdrawn_snax_mainnet\"\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.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_block_number.afd1b2b6f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_withdrawn_snax_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_withdrawn_snax_mainnet_block_number.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_block_number.afd1b2b6f4", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_withdrawn_snax_mainnet_block_number"], "alias": "not_null_ambassador_vote_withdrawn_snax_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": 1734109934.233596, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_withdrawn_snax_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.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_contract.ce63bcf894": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_ambassador_vote_withdrawn_snax_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_ambassador_vote_withdrawn_snax_mainnet_contract.sql", "original_file_path": "models/raw/snax/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_ambassador_vote_withdrawn_snax_mainnet_contract.ce63bcf894", "fqn": ["synthetix", "raw", "snax", "mainnet", "not_null_ambassador_vote_withdrawn_snax_mainnet_contract"], "alias": "not_null_ambassador_vote_withdrawn_snax_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": 1734109934.2353284, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "ambassador_vote_withdrawn_snax_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.ambassador_vote_withdrawn_snax_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/mainnet/schema.yml/not_null_ambassador_vote_withdrawn_snax_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_snax_mainnet\".\"ambassador_vote_withdrawn_snax_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.ambassador_vote_withdrawn_snax_mainnet", "attached_node": "model.synthetix.ambassador_vote_withdrawn_snax_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('ambassador_vote_withdrawn_snax_mainnet')) }}"}, "namespace": null}}, "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": 1734109934.241228, "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": 1734109934.24291, "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": 1734109934.244761, "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": 1734109934.2463803, "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": 1734109934.2480159, "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": 1734109934.2496464, "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": 1734109934.2537682, "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": 1734109934.2554936, "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": 1734109934.2571342, "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": 1734109934.258966, "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": 1734109934.260613, "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": 1734109934.2622075, "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": 1734109934.2638392, "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": 1734109934.265534, "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": 1734109934.2671437, "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": 1734109934.2687354, "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": 1734109934.2703555, "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": 1734109934.2719662, "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": 1734109934.2736857, "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": 1734109934.2753706, "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": 1734109934.2795484, "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.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": 1734109934.2812219, "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": 1734109934.2828915, "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": 1734109934.2845194, "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": 1734109934.2861502, "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": 1734109934.2879033, "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": 1734109934.2895153, "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": 1734109934.2911842, "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_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": 1734109934.293781, "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": 1734109934.295469, "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": 1734109934.29727, "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": 1734109934.3286662, "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": 1734109934.3304632, "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": 1734109934.3321092, "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": 1734109934.3363185, "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": 1734109934.3379376, "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": 1734109934.339575, "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": 1734109934.3411899, "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": 1734109934.3429337, "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": 1734109934.3445458, "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": 1734109934.3461857, "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": 1734109934.3503153, "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": 1734109934.3519814, "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": 1734109934.35363, "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": 1734109934.3552835, "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": 1734109934.3594282, "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": 1734109934.3610845, "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": 1734109934.3628807, "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": 1734109934.3644884, "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": 1734109934.3660908, "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": 1734109934.3677232, "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": 1734109934.3693395, "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": 1734109934.371054, "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": 1734109934.37267, "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": 1734109934.3769176, "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": 1734109934.3786144, "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": 1734109934.3826745, "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": 1734109934.3844972, "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": 1734109934.3861127, "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": 1734109934.3877378, "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": 1734109934.3893616, "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": 1734109934.3937848, "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": 1734109934.3954744, "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": 1734109934.3971019, "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": 1734109934.4012692, "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": 1734109934.4029384, "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": 1734109934.404553, "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": 1734109934.4063184, "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": 1734109934.4079792, "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": 1734109934.4122043, "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": 1734109934.4138684, "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": 1734109934.4155896, "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": 1734109934.4198134, "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": 1734109934.4215024, "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": 1734109934.4256625, "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": 1734109934.4273272, "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": 1734109934.428987, "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": 1734109934.4306524, "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": 1734109934.4324493, "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": 1734109934.4340885, "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": 1734109934.438273, "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": 1734109934.4399793, "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": 1734109934.441626, "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": 1734109934.445831, "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": 1734109934.4475086, "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": 1734109934.44917, "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": 1734109934.4508138, "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": 1734109934.4525526, "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": 1734109934.4566624, "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": 1734109934.4584744, "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": 1734109934.460111, "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": 1734109934.4617152, "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": 1734109934.4633195, "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": 1734109934.4649277, "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": 1734109934.4690647, "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": 1734109934.470731, "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": 1734109934.4728448, "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": 1734109934.4768546, "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": 1734109934.4785376, "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": 1734109934.480405, "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": 1734109934.4820273, "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": 1734109934.4836862, "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": 1734109934.4878054, "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": 1734109934.48949, "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": 1734109934.4936454, "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": 1734109934.49532, "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": 1734109934.4969277, "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": 1734109934.4985895, "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": 1734109934.5003755, "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": 1734109934.5019908, "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": 1734109934.5036373, "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": 1734109934.507885, "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": 1734109934.509564, "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": 1734109934.5112522, "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": 1734109934.5130196, "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": 1734109934.5171025, "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": 1734109934.5187955, "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": 1734109934.5206392, "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": 1734109934.5246584, "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": 1734109934.526482, "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": 1734109934.5280933, "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": 1734109934.529683, "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": 1734109934.5312936, "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": 1734109934.5329604, "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": 1734109934.5347133, "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": 1734109934.536351, "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": 1734109934.5405257, "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": 1734109934.542179, "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": 1734109934.5463762, "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": 1734109934.548039, "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": 1734109934.5496545, "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": 1734109934.5541499, "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": 1734109934.5558257, "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": 1734109934.5574281, "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": 1734109934.5590847, "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": 1734109934.5608115, "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": 1734109934.5648494, "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": 1734109934.5666816, "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": 1734109934.568319, "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": 1734109934.5699384, "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": 1734109934.5715702, "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": 1734109934.5731537, "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": 1734109934.574851, "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": 1734109934.5764332, "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": 1734109934.5780058, "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": 1734109934.5796132, "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": 1734109934.5812325, "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": 1734109934.5852923, "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": 1734109934.5869734, "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": 1734109934.5887253, "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": 1734109934.5903988, "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": 1734109934.5920856, "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": 1734109934.5936978, "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": 1734109934.5953467, "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": 1734109934.597042, "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": 1734109934.5986607, "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": 1734109934.600301, "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": 1734109934.6044693, "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": 1734109934.6061168, "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": 1734109934.6078172, "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": 1734109934.6120386, "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": 1734109934.613734, "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": 1734109934.6154368, "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": 1734109934.619614, "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": 1734109934.6212788, "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": 1734109934.6229703, "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": 1734109934.6271513, "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": 1734109934.6288307, "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": 1734109934.6306555, "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": 1734109934.6347198, "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": 1734109934.6364088, "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": 1734109934.6385117, "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": 1734109934.64011, "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": 1734109934.641686, "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": 1734109934.6432936, "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": 1734109934.647419, "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": 1734109934.6490724, "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": 1734109934.650724, "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": 1734109934.6524954, "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": 1734109934.6541345, "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": 1734109934.6582425, "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": 1734109934.6599402, "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": 1734109934.6641538, "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": 1734109934.6658092, "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": 1734109934.6674612, "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": 1734109934.669067, "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": 1734109934.6707015, "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": 1734109934.6724002, "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": 1734109934.674015, "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": 1734109934.6782355, "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": 1734109934.6799443, "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": 1734109934.6816278, "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": 1734109934.685807, "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": 1734109934.6875043, "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": 1734109934.6916778, "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": 1734109934.6933296, "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": 1734109934.697525, "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": 1734109934.6992297, "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": 1734109934.7032082, "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": 1734109934.7050717, "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": 1734109934.7067254, "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": 1734109934.7083502, "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": 1734109934.709977, "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": 1734109934.7141206, "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": 1734109934.715798, "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": 1734109934.7174299, "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": 1734109934.7195113, "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": 1734109934.72112, "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": 1734109934.722731, "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": 1734109934.7243733, "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": 1734109934.7285862, "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": 1734109934.730243, "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": 1734109934.7319243, "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": 1734109934.7361143, "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": 1734109934.7377524, "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": 1734109934.739519, "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": 1734109934.7411354, "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": 1734109934.7427776, "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": 1734109934.744385, "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": 1734109934.745984, "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": 1734109934.7501152, "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": 1734109934.751836, "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": 1734109934.7563145, "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": 1734109934.7580056, "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": 1734109934.7597325, "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": 1734109934.761632, "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": 1734109934.7632732, "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": 1734109934.7649336, "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": 1734109934.7702413, "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": 1734109934.7719755, "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": 1734109934.777147, "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": 1734109934.7788997, "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": 1734109934.7812524, "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": 1734109934.7830412, "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": 1734109934.785323, "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": 1734109934.7898254, "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": 1734109934.792106, "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": 1734109934.7938707, "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": 1734109934.7959611, "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": 1734109934.7981148, "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": 1734109934.800038, "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": 1734109934.8023207, "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": 1734109934.8042393, "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": 1734109934.809529, "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": 1734109934.8117988, "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": 1734109934.813545, "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": 1734109934.8180287, "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": 1734109934.8199832, "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": 1734109934.824439, "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": 1734109934.8263009, "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": 1734109934.8280447, "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": 1734109934.829811, "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": 1734109934.831582, "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": 1734109934.835619, "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": 1734109934.8374255, "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": 1734109934.8393004, "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_tlx_lt_minted_optimism_mainnet_token.163a410c16": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_tlx_lt_minted_optimism_mainnet_token", "resource_type": "test", "package_name": "synthetix", "path": "not_null_tlx_lt_minted_optimism_mainnet_token.sql", "original_file_path": "models/raw/optimism/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_tlx_lt_minted_optimism_mainnet_token.163a410c16", "fqn": ["synthetix", "raw", "optimism", "mainnet", "not_null_tlx_lt_minted_optimism_mainnet_token"], "alias": "not_null_tlx_lt_minted_optimism_mainnet_token", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109934.8556292, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "tlx_lt_minted_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token", "file_key_name": "models.tlx_lt_minted_optimism_mainnet", "attached_node": "model.synthetix.tlx_lt_minted_optimism_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token", "model": "{{ get_where_subquery(ref('tlx_lt_minted_optimism_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_tlx_lt_redeemed_optimism_mainnet_token.41e64b0156": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_tlx_lt_redeemed_optimism_mainnet_token", "resource_type": "test", "package_name": "synthetix", "path": "not_null_tlx_lt_redeemed_optimism_mainnet_token.sql", "original_file_path": "models/raw/optimism/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_tlx_lt_redeemed_optimism_mainnet_token.41e64b0156", "fqn": ["synthetix", "raw", "optimism", "mainnet", "not_null_tlx_lt_redeemed_optimism_mainnet_token"], "alias": "not_null_tlx_lt_redeemed_optimism_mainnet_token", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1734109934.8574178, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "tlx_lt_redeemed_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token", "file_key_name": "models.tlx_lt_redeemed_optimism_mainnet", "attached_node": "model.synthetix.tlx_lt_redeemed_optimism_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token", "model": "{{ get_where_subquery(ref('tlx_lt_redeemed_optimism_mainnet')) }}"}, "namespace": null}}, "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": 1734109934.897815, "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": 1734109934.8995752, "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": 1734109934.9012198, "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": 1734109934.9031367, "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": 1734109934.9049945, "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": 1734109934.9066236, "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": 1734109934.9083579, "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": 1734109934.9102883, "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": 1734109934.9120173, "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": 1734109934.9135885, "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": 1734109934.9152074, "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": 1734109934.916998, "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": 1734109934.9188714, "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": 1734109934.9211862, "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": 1734109934.9228196, "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": 1734109934.9244347, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"block\"", "created_at": 1734109934.9452298, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_account_created\"", "created_at": 1734109934.9467852, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_delegation_updated\"", "created_at": 1734109934.9469857, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_deposited\"", "created_at": 1734109934.9471738, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_withdrawn\"", "created_at": 1734109934.9473531, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_liquidation\"", "created_at": 1734109934.9475312, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_registered\"", "created_at": 1734109934.9477084, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_pool_created\"", "created_at": 1734109934.9478836, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_rewards_claimed\"", "created_at": 1734109934.9480588, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_rewards_distributed\"", "created_at": 1734109934.948231, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_usd_burned\"", "created_at": 1734109934.948403, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_usd_minted\"", "created_at": 1734109934.9485781, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_vault_liquidation\"", "created_at": 1734109934.9487553, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1734109934.9489264, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1734109934.9491026, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1734109934.9492757, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1734109934.949444, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"legacy_market_proxy_event_account_migrated\"", "created_at": 1734109934.9496126, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_get_vault_collateral\"", "created_at": 1734109934.9497817, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_get_vault_debt\"", "created_at": 1734109934.9499497, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"blocks_parquet\"", "created_at": 1734109934.9501173, "unrendered_database": "analytics", "unrendered_schema": "raw_eth_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"block\"", "created_at": 1734109934.9502873, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_created\"", "created_at": 1734109934.9504778, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_liquidation_attempt\"", "created_at": 1734109934.9506516, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_collateral_modified\"", "created_at": 1734109934.9508238, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_created\"", "created_at": 1734109934.950994, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_updated\"", "created_at": 1734109934.9512675, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_market_updated\"", "created_at": 1734109934.9514446, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_committed\"", "created_at": 1734109934.9516153, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_order_committed\"", "created_at": 1734109934.9517837, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_settled\"", "created_at": 1734109934.9519525, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_position_liquidated\"", "created_at": 1734109934.9521313, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_previous_order_expired\"", "created_at": 1734109934.9522994, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_rate_updated\"", "created_at": 1734109934.952468, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_charged\"", "created_at": 1734109934.952637, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_committed\"", "created_at": 1734109934.9528074, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_settled\"", "created_at": 1734109934.9529746, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1734109934.953141, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1734109934.9533062, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1734109934.9534729, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1734109934.9536397, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1734109934.9538155, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1734109934.953985, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_account_created\"", "created_at": 1734109934.954153, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_delegation_updated\"", "created_at": 1734109934.95432, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_deposited\"", "created_at": 1734109934.9545057, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_withdrawn\"", "created_at": 1734109934.9546747, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_liquidation\"", "created_at": 1734109934.9548423, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_registered\"", "created_at": 1734109934.9550118, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_pool_created\"", "created_at": 1734109934.955178, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_claimed\"", "created_at": 1734109934.9553444, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_distributed\"", "created_at": 1734109934.9555113, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_burned\"", "created_at": 1734109934.9556782, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_minted\"", "created_at": 1734109934.9558437, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_vault_liquidation\"", "created_at": 1734109934.9560106, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1734109934.9561768, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1734109934.956344, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1734109934.95651, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1734109934.9566748, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_deposited\"", "created_at": 1734109934.9568403, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_withdrawn\"", "created_at": 1734109934.9570045, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"buyback_snx_event_buyback_processed\"", "created_at": 1734109934.9571705, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_get_vault_collateral\"", "created_at": 1734109934.9573357, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_get_vault_debt\"", "created_at": 1734109934.957506, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"blocks_parquet\"", "created_at": 1734109934.9576752, "unrendered_database": "analytics", "unrendered_schema": "raw_base_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"block\"", "created_at": 1734109934.9578438, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_account_created": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_event_account_created"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_event_account_created\"", "created_at": 1734109934.9580116, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_account_liquidation_attempt": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_event_account_liquidation_attempt", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_event_account_liquidation_attempt"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_event_account_liquidation_attempt\"", "created_at": 1734109934.9582057, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_collateral_modified": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_event_collateral_modified", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_event_collateral_modified"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_event_collateral_modified\"", "created_at": 1734109934.9583738, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_market_created": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_event_market_created", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_event_market_created"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_event_market_created\"", "created_at": 1734109934.958559, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_market_updated": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_event_market_updated", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_event_market_updated"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_event_market_updated\"", "created_at": 1734109934.958724, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_legacy_event_market_updated": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_legacy_event_market_updated", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_legacy_event_market_updated"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_legacy_event_market_updated\"", "created_at": 1734109934.9588907, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_event_order_committed"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_event_order_committed\"", "created_at": 1734109934.9590569, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_legacy_event_order_committed": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_legacy_event_order_committed", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_legacy_event_order_committed"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_legacy_event_order_committed\"", "created_at": 1734109934.959227, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_event_order_settled"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_event_order_settled\"", "created_at": 1734109934.9593923, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_position_liquidated": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_event_position_liquidated", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_event_position_liquidated"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_event_position_liquidated\"", "created_at": 1734109934.9595647, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_previous_order_expired": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_event_previous_order_expired", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_event_previous_order_expired"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_event_previous_order_expired\"", "created_at": 1734109934.959732, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_interest_rate_updated": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_event_interest_rate_updated", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_event_interest_rate_updated"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_event_interest_rate_updated\"", "created_at": 1734109934.9598958, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "source.synthetix.raw_arbitrum_sepolia.perps_market_proxy_event_interest_charged": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_sepolia.perps_market_proxy_event_interest_charged", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "perps_market_proxy_event_interest_charged"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"perps_market_proxy_event_interest_charged\"", "created_at": 1734109934.9600582, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_committed\"", "created_at": 1734109934.9602206, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_settled\"", "created_at": 1734109934.9603844, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1734109934.9605486, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1734109934.9607124, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1734109934.9608743, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1734109934.961038, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1734109934.9611998, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1734109934.961365, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_account_created\"", "created_at": 1734109934.9615345, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_delegation_updated\"", "created_at": 1734109934.9616985, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_deposited\"", "created_at": 1734109934.9618645, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_withdrawn\"", "created_at": 1734109934.962032, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_liquidation\"", "created_at": 1734109934.9621973, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_registered\"", "created_at": 1734109934.9623668, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_pool_created\"", "created_at": 1734109934.9625537, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_rewards_claimed\"", "created_at": 1734109934.9627209, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_rewards_distributed\"", "created_at": 1734109934.9628825, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_burned\"", "created_at": 1734109934.9630477, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_minted\"", "created_at": 1734109934.963211, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_vault_liquidation\"", "created_at": 1734109934.963374, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1734109934.963542, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1734109934.9637055, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1734109934.963869, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1734109934.9640346, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_collateral\"", "created_at": 1734109934.9641974, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_debt\"", "created_at": 1734109934.96436, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"blocks_parquet\"", "created_at": 1734109934.9645226, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_sepolia"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"block\"", "created_at": 1734109934.9646862, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_account_created": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_event_account_created"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_event_account_created\"", "created_at": 1734109934.9648488, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_account_liquidation_attempt": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_event_account_liquidation_attempt", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_event_account_liquidation_attempt"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_event_account_liquidation_attempt\"", "created_at": 1734109934.9650335, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_collateral_modified": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_event_collateral_modified", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_event_collateral_modified"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_event_collateral_modified\"", "created_at": 1734109934.9651976, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_market_created": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_event_market_created", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_event_market_created"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_event_market_created\"", "created_at": 1734109934.9653609, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_market_updated": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_event_market_updated", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_event_market_updated"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_event_market_updated\"", "created_at": 1734109934.9655254, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_legacy_event_market_updated": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_legacy_event_market_updated", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_legacy_event_market_updated"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_legacy_event_market_updated\"", "created_at": 1734109934.9656885, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_event_order_committed"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_event_order_committed\"", "created_at": 1734109934.9658508, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_legacy_event_order_committed": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_legacy_event_order_committed", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_legacy_event_order_committed"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_legacy_event_order_committed\"", "created_at": 1734109934.966014, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_event_order_settled"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_event_order_settled\"", "created_at": 1734109934.9661758, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_position_liquidated": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_event_position_liquidated", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_event_position_liquidated"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_event_position_liquidated\"", "created_at": 1734109934.9663384, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_previous_order_expired": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_event_previous_order_expired", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_event_previous_order_expired"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_event_previous_order_expired\"", "created_at": 1734109934.9665217, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_interest_rate_updated": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_event_interest_rate_updated", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_event_interest_rate_updated"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_event_interest_rate_updated\"", "created_at": 1734109934.966688, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_mainnet.perps_market_proxy_event_interest_charged": {"database": "analytics", "schema": "raw_arbitrum_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_arbitrum_mainnet.perps_market_proxy_event_interest_charged", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "perps_market_proxy_event_interest_charged"], "source_name": "raw_arbitrum_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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"perps_market_proxy_event_interest_charged\"", "created_at": 1734109934.9668508, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_committed\"", "created_at": 1734109934.967014, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_settled\"", "created_at": 1734109934.9671803, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1734109934.967347, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1734109934.9675124, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1734109934.9676847, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1734109934.9678483, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1734109934.968011, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1734109934.9681737, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_account_created\"", "created_at": 1734109934.9683368, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_delegation_updated\"", "created_at": 1734109934.968499, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_deposited\"", "created_at": 1734109934.9686632, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_withdrawn\"", "created_at": 1734109934.9688256, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_liquidation\"", "created_at": 1734109934.9689875, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_registered\"", "created_at": 1734109934.9691572, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_pool_created\"", "created_at": 1734109934.9693594, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_claimed\"", "created_at": 1734109934.969534, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "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, "event_time": null}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_distributed\"", "created_at": 1734109934.9697022, "unrendered_database": "analytics", "unrendered_schema": "raw_arbitrum_mainnet"}, "source.synthetix.raw_arbitrum_main